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

Sensor Plugin build and run errors #461

@smartslab

Description

@smartslab

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions