vortexntnu / vortex-auv-simulator

An extension of the UUV-Simulator for use with Vortex NTNUs autonomous vessels
Apache License 2.0
28 stars 11 forks source link

Gazebo crashes with Noetic when spawning model #35

Closed chrstrom closed 3 years ago

chrstrom commented 3 years ago

After upgrading to Noetic, the simulator crashes upon spawning the drone model. See the error message below:

[Msg] - auv/thruster_0_joint [Msg] - auv/thruster_1_joint [Msg] - auv/thruster_2_joint [Msg] - auv/thruster_3_joint [Msg] - auv/thruster_4_joint [Msg] - auv/thruster_5_joint [Msg] - auv/thruster_6_joint [Msg] - auv/thruster_7_joint free(): invalid size Aborted (core dumped) [gazebo-2] process has died [pid 80110, exit code 134, cmd /opt/ros/noetic/lib/gazebo_ros/gzserver --verbose -e ode worlds/cybernetics_pool.world name:=gazebo log:=/home/strom/.ros/log/6b971a5e-fdfd-11eb-a3d1-7141ecb3f031/gazebo-2.log]. log file: /home/strom/.ros/log/6b971a5e-fdfd-11eb-a3d1-7141ecb3f031/gazebo-2*.log [auv/urdf_spawner-6] process has finished cleanly

chrstrom commented 3 years ago

Offending line is 355 in /beluga_description/scripts/spawn_model:

        success = gazebo_interface.spawn_urdf_model_client(self.model_name, model_xml, self.robot_namespace, initial_pose, self.reference_frame, self.gazebo_namespace)
chrstrom commented 3 years ago

Also see line 20 here: http://docs.ros.org/en/groovy/api/gazebo/html/gazebo__interface_8py_source.html

chrstrom commented 3 years ago

https://answers.ros.org/question/168156/gazebo-crashes-when-spawning-a-robot-with-urdf/ Leaving this here for tomorrow :)

chrstrom commented 3 years ago

Got things working by updating the uuv_simulator-related folders here, but this indicates a greater problem of not being able to easily update our repo with updates in uuv_simulator..