Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 3.03 KB

README.md

File metadata and controls

54 lines (34 loc) · 3.03 KB

crawler

A Codebase for the Koda GRAVL Mini-platform

This package contains software and firmware specific to koda, GRAVL's miniature prototyping ground vehicle

Image 1: Koda, Iteration 0

documentation

Setup/Installation

How to Run Koda

Currently, Koda has no onboard computer. The onboard microprocessor must be connected to a computer via XBee in order to send commands, as the ROScore is run offboard of the Arduino.

  1. Connect an XBee radio USB breakout board to a laptop with ROS and the crawler repository set up.

  2. In a new terminal, launch a new roscore with the command roscore

  • Launch files can start their own roscore, but having a separate core ensures that your ROS instances stay connected if any nodes in the launch file crash.
  1. Plug in an XBox controller, or another controller compatible with the Teleop node.. Test

  2. In a new terminal, run the basic nodes required for teleoperating Koda with the command roslaunch crawler bringup_minimal.launch port:=/dev/ttyUSB0

  • The port argument represents which port the Arduino is plugged into. To determine the port, check the Arduino IDE, or run the command ls /dev/ttyUSB*
  • The default for the port argument is /dev/ttyUSB0
  1. Turn on Koda's main power using the power switch.
  • If Koda is E-stopped (LED is solid ON), press the EStop button or reset the Arduino onboard.
  1. Press the 'A' button on the XBox controller to activate the controls.

Uploading New Code

  1. Remove the Xbee from Koda
  2. Flip the Serial Select switch on the red sparkfun board under the Xbee from HW_SER to SW_SER
  3. Upload code using the Arduino IDE
  4. Flip the Serial Select switch on the red sparkfun board under the Xbee from SW_SER back to HW_SER
  5. Re-plug in the Xbee
  6. Test code

Troubleshooting

  1. If the Xbee is not working, remove the Xbee and plug the Arduino directly into the computer. Make sure the Serial Select switch is on the SW_SER mode
  2. If you're having trouble uploading code to the Arduino, make sure the Serial Select switch is properly set to SW_SER

Authors

This package was built by Connor Novak (20'), Nathan Estill (21'), and Kawin Nikomborirak (21') for the Ground Robotic Autonomous Vehicle Laboratory (link).