When resetting the simulation p3d_base_controller the odometry topic stops working
I'm using the p3d_base_controller plugin for getting odometry data of a robot model. When you call the gazebo/reset_simulation service, lets say in the ROS time 21sec, the odom topic wont start working again until that time.
Is there a way to restart this controller? Because it doesn't appear in the /moving_cube/controller_manager/list_controllers, because its not loaded through that path, but through the Gazebo plugin automatic loading system.
Can anyone tell me if there is a fix to this?
You are starting the controller before the simulation?
Make sure that the parameter /use_sim_time on the rosparam server is set before you start your nodes.