ROS package for runnning KONDO servo motors
- Clone this project into your catkin workspace
cd ~/catkin_ws/src
git clone https://github.com/spiralray/kondo.git
- Build to generate original rosmsg "kondo/servo"
cd ~/catkin_ws
catkin_make
- Set the path of USB serial device. For example
rosparam set /kondo/port /dev/ttyUSB0
- Run kondo.py
rosrun kondo kondo.py
- To set angles of servo motors, send message to /servo/tx
rostopic pub /kondo/tx kondo/servo "stamp:
secs: 0
nsecs: 0
id: 1
angle: 1.0"
- To read angles, recieve /kondo/rx
rostopic echo /kondo/rx