hbrobotics / ros_arduino_bridge

ROS + Arduino = Robot
346 stars 334 forks source link

When I complete the whole installation, I can not push command through /cmd_vel topic? #38

Closed echotor closed 7 years ago

echotor commented 7 years ago

I complete install the ros arduino bridge, and can send command "m 20 20" through serial port to controll the car. But I run "roslaunch ros_arduino_python arduino.launch" and I can see the topic like below:

/arduino/sensor/arduino_led
/arduino/sensor_state
/cmd_vel
/odom
/rosout
/rosout_agg
/tf

But I can not controll the car through command "rostopic pub -1 /cmd_vel geometry_msgs/Twist '{ angular: {z: 0.5} }'" Why?? Can anyone answer?

pirobot commented 7 years ago

Please post the contents of your arduino_params.yaml file.