Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

can't Manually send example commands in ros control of gazebo tutorial

lin@lin-VirtualBox:~$ rostopic list
/clock
/gazebo/link_states
/gazebo/model_states
/gazebo/parameter_descriptions
/gazebo/parameter_updates
/gazebo/set_link_state
/gazebo/set_model_state
/myrobot/joint_states
/myrobot/leftWheel_effort_controller/command
/myrobot/rightWheel_effort_controller/command
/rosout
/rosout_agg
/tf
lin@lin-VirtualBox:~$ rostopic pub -1 /myrobot/leftWheel_effort_controller/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.

can't Manually send example commands in ros control of gazebo tutorial

lin@lin-VirtualBox:~$ rostopic list
/clock
/gazebo/link_states
/gazebo/model_states
/gazebo/parameter_descriptions
/gazebo/parameter_updates
/gazebo/set_link_state
/gazebo/set_model_state
/myrobot/joint_states
/myrobot/leftWheel_effort_controller/command
/myrobot/rightWheel_effort_controller/command
/rosout
/rosout_agg
/tf
lin@lin-VirtualBox:~$ rostopic pub -1 /myrobot/leftWheel_effort_controller/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.all.

INFO:
process[myrobot/controller_spawner-1]: started with pid [6845]
process[robot_state_publisher-2]: started with pid [6846]
/opt/ros/indigo/lib/robot_state_publisher/robot_state_publisher
[INFO] [WallTime: 1425424374.533474] [0.000000] Controller Spawner: Waiting for service controller_manager/load_controller
[INFO] [WallTime: 1425424374.534971] [0.000000] Controller Spawner: Waiting for service controller_manager/switch_controller
[INFO] [WallTime: 1425424374.537735] [0.000000] Controller Spawner: Waiting for service controller_manager/unload_controller
[INFO] [WallTime: 1425424374.541571] [0.000000] Loading controller: joint_state_controller
[INFO] [WallTime: 1425424374.696059] [54.878000] Loading controller: rightWheel_effort_controller
[INFO] [WallTime: 1425424374.970727] [55.118000] Loading controller: leftWheel_effort_controller
[INFO] [WallTime: 1425424374.987635] [55.132000] Controller Spawner: Loaded controllers: joint_state_controller, rightWheel_effort_controller, leftWheel_effort_controller
[INFO] [WallTime: 1425424374.992025] [55.137000] Started controllers: joint_state_controller, rightWheel_effort_controller, leftWheel_effort_controller

can't Manually rostopic send example commands msgs to robot in ros control of gazebo tutorialdidn't work

lin@lin-VirtualBox:~$ rostopic list
/clock
/gazebo/link_states
/gazebo/model_states
/gazebo/parameter_descriptions
/gazebo/parameter_updates
/gazebo/set_link_state
/gazebo/set_model_state
/myrobot/joint_states
/myrobot/leftWheel_effort_controller/command
/myrobot/rightWheel_effort_controller/command
/rosout
/rosout_agg
/tf
lin@lin-VirtualBox:~$ rostopic pub -1 /myrobot/leftWheel_effort_controller/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/controller_spawner-1]: started with pid [6845]
process[robot_state_publisher-2]: started with pid [6846]
/opt/ros/indigo/lib/robot_state_publisher/robot_state_publisher
[INFO] [WallTime: 1425424374.533474] [0.000000] Controller Spawner: Waiting for service controller_manager/load_controller
[INFO] [WallTime: 1425424374.534971] [0.000000] Controller Spawner: Waiting for service controller_manager/switch_controller
[INFO] [WallTime: 1425424374.537735] [0.000000] Controller Spawner: Waiting for service controller_manager/unload_controller
[INFO] [WallTime: 1425424374.541571] [0.000000] Loading controller: joint_state_controller
[INFO] [WallTime: 1425424374.696059] [54.878000] Loading controller: rightWheel_effort_controller
[INFO] [WallTime: 1425424374.970727] [55.118000] Loading controller: leftWheel_effort_controller
[INFO] [WallTime: 1425424374.987635] [55.132000] Controller Spawner: Loaded controllers: joint_state_controller, rightWheel_effort_controller, leftWheel_effort_controller
[INFO] [WallTime: 1425424374.992025] [55.137000] Started controllers: joint_state_controller, rightWheel_effort_controller, leftWheel_effort_controller