rostopic send msgs to robot in ros control of gazebo didn't work
lin@lin-VirtualBox:~$ rostopic list
/clock
/gazebo/linkstates
/gazebo/modelstates
/gazebo/parameterdescriptions
/gazebo/parameterupdates
/gazebo/setlinkstate
/gazebo/setmodelstate
/myrobot/jointstates
/myrobot/leftWheeleffortcontroller/command
/myrobot/rightWheeleffortcontroller/command
/rosout
/rosoutagg
/tf
lin@lin-VirtualBox:~$ rostopic pub -1 /myrobot/leftWheeleffortcontroller/command std_msgs/Float64 "data: 1.5"
publishing and latching message for 3.0 seconds
lin@lin-VirtualBox:~$
I am using ros_contol to control my robot move. I roslaunch the file, no error. but send command with the topic i have, but the robot didn't move.
thanks for help, all.
INFO:
process[myrobot/controllerspawner-1]: started with pid [6845]
process[robotstatepublisher-2]: started with pid [6846]
/opt/ros/indigo/lib/robotstatepublisher/robotstatepublisher
[INFO] [WallTime: 1425424374.533474] [0.000000] Controller Spawner: Waiting for service controllermanager/loadcontroller
[INFO] [WallTime: 1425424374.534971] [0.000000] Controller Spawner: Waiting for service controllermanager/switchcontroller
[INFO] [WallTime: 1425424374.537735] [0.000000] Controller Spawner: Waiting for service controllermanager/unloadcontroller
[INFO] [WallTime: 1425424374.541571] [0.000000] Loading controller: jointstatecontroller
[INFO] [WallTime: 1425424374.696059] [54.878000] Loading controller: rightWheeleffortcontroller
[INFO] [WallTime: 1425424374.970727] [55.118000] Loading controller: leftWheeleffortcontroller
[INFO] [WallTime: 1425424374.987635] [55.132000] Controller Spawner: Loaded controllers: jointstatecontroller, rightWheeleffortcontroller, leftWheeleffortcontroller
[INFO] [WallTime: 1425424374.992025] [55.137000] Started controllers: jointstatecontroller, rightWheeleffortcontroller, leftWheeleffort_controller