ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Looking at the code for the IMU vrep plugin I don't see it setting the frame_id
field. That is most likely the cause here.
2 | No.2 Revision |
Looking at the code for the IMU vrep plugin I don't see it setting the frame_id
field. That is most likely the cause here.
Edit:
But how is the function or class property name to set
frame_id
for given String ?
I'm not sure what you're asking, but to set a proper frame id:
fl.header.frame_id = "<insert some frame name here>"
3 | No.3 Revision |
Looking at the code for the IMU vrep plugin I don't see it setting the frame_id
field. That is most likely the cause here.
Edit:
But how is the function or class property name to set
frame_id
for given String ?
I'm not sure what you're asking, but to set a proper frame id:
fl.header.frame_id = "<insert some frame name here>"
Edit2: I'm not a VREP user, but the warning shown here sounds like something to pay attention to:
// Quaternion code added // But It's not from IMU Sensor but from V-Rep simGetObjectQuaternion() Function // BE CAREFULL When you use it