-
Notifications
You must be signed in to change notification settings - Fork 4
Test Scripts and Code
Trent edited this page Dec 4, 2016
·
1 revision
Descriptions of test sketches and code to use them to run.
##twist_pub
Publishes twist value of linear: 1.0 to /cmd/vel.
Run:
python twist_pub.py
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.
Subscribes to /cmd/vel, reads the Twist messages published to it and controls the motors accordingly.