ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

ncw000's profile - activity

2012-12-31 01:10:13 -0500 received badge  Stellar Question (source)
2012-04-19 13:40:20 -0500 received badge  Famous Question (source)
2011-11-08 17:33:42 -0500 received badge  Great Question (source)
2011-10-06 11:24:43 -0500 received badge  Good Question (source)
2011-09-02 08:42:04 -0500 received badge  Notable Question (source)
2011-07-09 03:29:29 -0500 received badge  Favorite Question (source)
2011-07-04 04:22:05 -0500 received badge  Nice Question (source)
2011-06-21 10:07:10 -0500 received badge  Popular Question (source)
2011-06-04 03:30:18 -0500 received badge  Supporter (source)
2011-05-25 06:29:44 -0500 marked best answer Moving a robot in Gazebo

You can write a gazebo plugin to send torque or velocity commands to each wheel and the steering joint. Possibly wrapping a simple PID controller around each controlled joint. An empty gazebo_plugin template has been provided for your convenience. Also, please take a look at the diffdrive example for reference on how to construct a plugin that sends velocity commands to individual joints.

Alternatively, if you are familiar with pr2_mechanism control stacks, you can use some predefined robot mechanism controllers to control your joints. A simple controlled joint example can be found in the single link example as shown here.

2011-05-01 14:50:42 -0500 received badge  Scholar (source)
2011-04-26 06:09:49 -0500 marked best answer Moving a robot in Gazebo

In Gazebo, Stage and real-world navigation initiating movement usually involves some variant of the "cmd_vel" topic, which is based on the "Twist" message format. For simple testing there are a number of nodes in different stacks (turtlebot, pr2) that provide this function using keyboard commands, usually named something like "keyboard_teleop".

I suggest that you examine the turtlesim tutorial (http://www.ros.org/wiki/ROS/Tutorials/UnderstandingTopics) for a good start. It uses "rosrun turtlesim turtle_teleop_key". Use rxgraph to inspect the topics/messages in your simulation and be prepared to remap topic names as required.

2011-04-09 16:53:30 -0500 commented answer Moving a robot in Gazebo
I understand that movement commands take that format and how turtlesim uses keyboard_teleop, but I'm still not sure how to actually interact with the Gazebo robot simulation. Is there a specific topic to publish to, or some other method that causes the robot to move? Where do I send move data to?
2011-04-03 13:50:09 -0500 received badge  Student (source)
2011-04-03 04:23:36 -0500 received badge  Editor (source)
2011-04-03 04:20:55 -0500 asked a question Moving a robot in Gazebo

I'm trying to use the gazebo package to simulate a simple car-like robot moving around a field. Currently, I've been able to load a model of my robot into a simulation. However, I haven't had any luck understanding how to go about making the robot move via external commands (keyboard presses, etc.).

The documentation seems to gloss over this, or at least I can't find where it's described. How would I go about making a robot move in the a Gazebo simulation?