Skip to content
This repository has been archived by the owner on Sep 4, 2022. It is now read-only.

Rover Startup (Basic, No Networking)

Harry J E Day edited this page Mar 16, 2015 · 2 revisions

These instructions are designed to work with the Blue Lenovo laptop, but should work with any linux laptop that has ros installed and setup.

  1. In a new terminal window run "roscore"
  2. In another terminal tab run "rosrun joy joy_node", this starts the ros joy stick drivers
  3. In a third terminal tab cd to ~/owr_software/gui
  4. Run "source devel/setup.bash"
  5. Make sure the arduino is connected to the laptop, and the rover is on. Standby at the emergency power switch as it may jerk when activated.
  6. Run "rosrun owr_drive_controls owr_drive_arduino" (Note: I can't check this last one is correct without the latest changes, if it isn't run "rosrun owr_drive_controls " press tab twice and it is the one with arduino in it)
  7. move the left stick y axis on the controller to control forward back, and the right stick x axis for left right (note: currently left and right are the wrong way round, and this configuration is going to be changed)

Debuging

  • If nothing happens on the last step it means the arduino is on a different serial port. To find the correct serial port run "ls /dev | grep ttyA" then change the #define in the header file (should be in gui/src/owr_drive_controls/include), and run catkin_make in the gui folder to recompile.