Difference between revisions of "ROS Raspberry Pi Demo"
From wikidb
(→References) |
|||
Line 7: | Line 7: | ||
* [https://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/configuring-i2c Adafruit configuring I2C on Raspberry Pi] | * [https://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/configuring-i2c Adafruit configuring I2C on Raspberry Pi] | ||
* [http://wiki.ros.org/ROS/Tutorials ROS Tutorials] | * [http://wiki.ros.org/ROS/Tutorials ROS Tutorials] | ||
+ | |||
+ | = Execution = | ||
+ | |||
+ | terminal 1 | ||
+ | |||
+ | roscore | ||
+ | |||
+ | terminal 2 | ||
+ | |||
+ | cd catkin_ws/ | ||
+ | source devel/setup.bash | ||
+ | rosrun motor_hat motor_hat_node | ||
+ | |||
+ | terminal 3 | ||
+ | |||
+ | rosnode list | ||
+ | rostopic list | ||
+ | rostopic echo cmd | ||
+ | |||
+ | terminal 4 | ||
+ | |||
+ | cd catkin_ws/ | ||
+ | source devel/setup.bash | ||
+ | rosrun motor_hat stop.py | ||
+ | rosrun motor_hat on.py | ||
+ | |||
+ | QUESTION - Why isn't the message often not received by the motor_hat_node? | ||
= References = | = References = |
Revision as of 19:25, 24 February 2017
References
- Raspberry Pi 3 Ubuntu Mate Xenial 16.04 with ROS Kinetic image
- ROS motor controller node for Adafruit motor HAT IE 2348
- Adafruit motor HAT specs
- Adafruit motor HAT documentation
- Adafruit configuring I2C on Raspberry Pi
- ROS Tutorials
Execution
terminal 1
roscore
terminal 2
cd catkin_ws/ source devel/setup.bash rosrun motor_hat motor_hat_node
terminal 3
rosnode list rostopic list rostopic echo cmd
terminal 4
cd catkin_ws/ source devel/setup.bash rosrun motor_hat stop.py rosrun motor_hat on.py
QUESTION - Why isn't the message often not received by the motor_hat_node?