Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Sensor Plugin build and run errors #461

Open
smartslab opened this issue Aug 16, 2022 · 0 comments
Open

Sensor Plugin build and run errors #461

smartslab opened this issue Aug 16, 2022 · 0 comments

Comments

@smartslab
Copy link

Hello!

I have been using the simulator for a while, and have recently run into some new errors after rebuilding the simulator that prevent me from being able to load the rexrov robot. During my catkin_make, it does finish without reading an error, but this warning is printed in the middle:

/home/my_comp/sim_ws/src/uuv_simulator/uuv_sensor_plugins/uuv_sensor_ros_plugins/src/RPTROSPlugin.cc: In member function ‘virtual bool gazebo::RPTROSPlugin::OnUpdate(const gazebo::common::UpdateInfo&)’:
/home/my_comp/sim_ws/src/uuv_simulator/uuv_sensor_plugins/uuv_sensor_ros_plugins/src/RPTROSPlugin.cc:119:1: warning: control reaches end of non-void function [-Wreturn-type]
  119 | }
      | ^

Then when I try to load the rexrov into my simulation, I get the following error:

gzserver: /home/my_comp/sim_ws/src/uuv_simulator/uuv_sensor_plugins/uuv_sensor_ros_plugins/src/ROSBaseModelPlugin.cc:75: virtual void gazebo::ROSBaseModelPlugin::Load(gazebo::physics::ModelPtr, sdf::v9::ElementPtr): Assertion `(this->link != __null)&&("Invalid link pointer")' failed.
Service call failed: transport error completing service call: unable to receive data from sender, check sender's logs for details
[ERROR] [1660669500.827557, 0.000000]: Spawn service failed. Exiting.
Aborted (core dumped)

I have no idea how to fix this, and I don't know when these files changed, it has been a while since I tried to load the rexrov, but I would really like to be able to get this to work quickly since I would like to use them in my research.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant