bartville / vrep_plugin_imu

Plugin for Vrep that allows to publish imu state as 'sensor_msgs/Imu'
7 stars 8 forks source link

Plugin does not populate 'frame_id' field #2

Closed gavanderhoorn closed 6 years ago

gavanderhoorn commented 6 years ago

From VREP IMU plugin: Transform argument source_frame in tf2 frame_ids cannot be empty on ROS Answers.

bartville commented 6 years ago

Hi, I wasn't actually supporting the plugin anymore, because I taught the IMU was added by default in the following version of V-REP

if I got what you need, you can add a line after this here`

with fl.header.frame_id = "frame_id_you_want";

and perform an initial test recompiling the plugin. If it works as you need, it can be useful to define a parameter in the LUA side to modify the frame_id. I can do that in the next times, if it's needed.

Cheers, Bart

gavanderhoorn commented 6 years ago

I actually only posted the issue, as the poster of the ROS Answers question apparently didn't want to do that.

If V-REP now has this by default, then perhaps this plugin is not needed any longer, but I'm not a V-REP user, so I don't know.