Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added a simple model controller plugin that uses a twist message #90

Merged

Conversation

piyushk
Copy link
Contributor

@piyushk piyushk commented Jul 29, 2013

This controller can be used to move any entity on the XY plane as long as it has a high enough inertia. I use it when I have to spawn a large number of robots in simulation. I give the robots a cylindrical collision model, high inertia with a center of mass located close to the ground. This controller gives a fair amount of speedup in comparison to simulating the complete model and a differential drive controller.

@piyushk
Copy link
Contributor Author

piyushk commented Jul 29, 2013

I'll reopen this in a second. I forgot to test odometry publication.

@piyushk piyushk closed this Jul 29, 2013
@davetcoleman
Copy link
Collaborator

@gerkey this sounds like player/stage functionality, can you weight in on adding this new plugin?

@nkoenig

*/

#ifndef GAZEBO_ROS_MODEL_CONTROLLER_5DRC9ADD
#define GAZEBO_ROS_MODEL_CONTROLLER_5DRC9ADD
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is 5DRC9ADD ? Typically you use the pkg name then file name.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can change it. I have a script that adds the anonymizer.

@piyushk piyushk reopened this Jul 29, 2013
@piyushk
Copy link
Contributor Author

piyushk commented Jul 29, 2013

I've fixed some problems and reopened the request. Let me know what you guys think about adding this plugin. I do use it frequently in gazebo as an alternate robot controller, and for moving entities which are not dynamically suited to move around in space (I have external human controlled observers in the simulation environment).

Thanks!

@nkoenig
Copy link
Member

nkoenig commented Aug 1, 2013

The plugin name should convey its functionality. Can this plugin be renamed to something like: gazebo_ros_planar_move?

@davetcoleman
Copy link
Collaborator

+1

@piyushk
Copy link
Contributor Author

piyushk commented Aug 1, 2013

Done.

On Thu, Aug 1, 2013 at 4:23 PM, Dave Coleman notifications@github.comwrote:

+1


Reply to this email directly or view it on GitHubhttps://github.com//pull/90#issuecomment-21970831
.

@davetcoleman
Copy link
Collaborator

Can you first write the description and xml example on this page so I can try it out?

Thanks again for doing this!

@piyushk
Copy link
Contributor Author

piyushk commented Aug 2, 2013

I have documented this here: http://gazebosim.org/wiki/Tutorials/1.9/ROS_Motor_and_Sensor_Plugins#Planar_Move_Plugin

I have written a sample URDF, but I cannot test it right now. Let me know if something does not work.

davetcoleman added a commit that referenced this pull request Aug 2, 2013
added a simple model controller plugin that uses a twist message
@davetcoleman davetcoleman merged commit 817fc39 into ros-simulation:hydro-devel Aug 2, 2013
cohen39 pushed a commit to cohen39/gazebo_ros_pkgs that referenced this pull request Nov 15, 2021
added a simple model controller plugin that uses a twist message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants