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

Apply Joint Effort to Gazebo Model [closed]

asked 2014-08-28 20:22:46 -0500

nbanyk gravatar image

Hello,

I am using Gazebo with ROS. I created a model in Gazebo that I was able to successfully send service calls to (to get a joint to spin for example). Specifically, I used the srv file gazebo_msgs/ApplyJointEffort (with a serviceClient node). What I'm trying to do now is get the nodes to be publisher/subscription-based to match another structure I am working with. Is it possible to create my own msg file based off of the gazebo_msgs/ApplyJointEffort srv in order to make a publisher node and still an effort on a joint? I tried doing just that and the publishing happens but there is no response to the model in gazebo. I'm obviously uncertain as to how the gazebo_ros package communication exactly works so any help would be appreciated.

Thank you

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by l0g1x
close date 2015-06-25 00:42:52.182042

Comments

is this question more suited for the Gazebo forum?

nbanyk gravatar image nbanyk  ( 2014-09-02 11:45:15 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-06-24 20:59:03 -0500

nbanyk gravatar image

I think I found out from the Gazebo board that that service call did not use physics and so was not relevant to me. Instead I was advised to use a plugin so the ROS side of things would have to involve the plugin. Closing this out.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-08-28 20:22:46 -0500

Seen: 876 times

Last updated: Jun 24 '15