Skip to content

Test Scripts and Code

Trent edited this page Dec 4, 2016 · 1 revision

Descriptions of test sketches and code to use them to run.

ROS

##twist_pub Publishes twist value of linear: 1.0 to /cmd/vel.

Run: python twist_pub.py

Arduino

servo_blink

Runs both motors at the same (#define'd) speed for two seconds, then stops them for two seconds. Arduino's onboard LED should be lit while the motors are set to run.

cmd_vel_unit_test

Subscribes to /cmd/vel, reads the Twist messages published to it and controls the motors accordingly.

Clone this wiki locally