2020-06-26 16:50:14 -0500 | received badge | ● Famous Question (source) |
2020-06-26 16:50:14 -0500 | received badge | ● Notable Question (source) |
2020-06-26 16:50:14 -0500 | received badge | ● Popular Question (source) |
2019-11-04 04:51:46 -0500 | marked best answer | createTimer doesn't seem to be calling the callbacks Hello everyone, Specs : Ubuntu 16.04, ROS Kinetic + Gazebo 7.16 I'm trying to publish the joint state of my robot to a ROS topic from a Gazebo Plugin. To do so I first used a feature of Gazebo API (callback on WorldUpdate event), which works fine. But I want to have more control on the rate of publication (custom frequency instead of every iteration of the simulator), so the easiest way appears to be using a ros::Timer. The thing is that it just doesn't seem to work, as there is nothing published on the desired topic. I've tried tinkering with Find an excerpt of my code below, it compiles just fine and runs when Gazebo loads the plugin, but impossible to get the callbacks. I don't see why it shouldn't work, and I lack ROS/Gazebo debugging skills. Any input will be appreciated. |
2019-11-04 04:51:46 -0500 | received badge | ● Scholar (source) |
2019-11-04 04:51:31 -0500 | answered a question | createTimer doesn't seem to be calling the callbacks I found the answer, it's actually a really simple mistake. Creating the timer this way in the Load() method means that o |
2019-10-30 13:49:20 -0500 | commented question | How I can fix a revolute joint to prevent movements around other axes? Could it be related to collisions and/or inertial values? I had the same thing happen to my RR robot and when I used col |
2019-10-30 13:49:20 -0500 | commented question | Sensor that follows quadcopter Hello, did you try with a ball joint? |
2019-10-30 13:49:19 -0500 | answered a question | Wolrd/model Tracking plugin Hello, I think you could add a camera sensor to your robot model, and through a Gazebo sensor plugin (see here for API |
2019-10-30 13:49:18 -0500 | answered a question | How to get values from contact sensor? Hello, I think Gazebo has material on his website pertaining to that : here and here. You will most likely have to wri |
2019-10-30 13:49:17 -0500 | asked a question | createTimer doesn't seem to be calling the callbacks createTimer doesn't seem to be calling the callbacks Hello everyone, Specs : Ubuntu 16.04, ROS Kinetic + Gazebo 7.16 I |