Why could the time stamp for my bumper plugin be zero?
HI,
I've got a bumper plugin on the r_foot
link of the Atlas robot. The plugin publishes correct data to the topic, but the sec & nsec values in the header are always 0. I tried using the rosparam set usesimtime True
but there's no effect. Other topics show the time stamp correctly.
TIA
Don't set
/use_sim_time
unless you're actually running a simulation.Alright, but how do I solve the issue of ROS not publishing the time in the header for this particular topic?
I don't know any specifics about Atlas (hence why this isn't a full answer). I do know that the ROS libraries don't automatically set the timestamps, so perhaps this is a bug in the bumper plugin that publishes those messages?
Thanks, I'll look into it.
I have the same issue. The contacts are there in gazebo7, the collisions have an effect on the robot configuration as it should, but the ContactSensor messages have their timestamp set to zero and the 'states' array (where all the contacts should be) is empty.