Field-Robotics-Lab / dave

Project DAVE
Apache License 2.0
224 stars 72 forks source link

Dave DVL plugin conflicts with libuuv_underwater_current_ros_plugin.so #280

Closed hansolo12334 closed 10 months ago

hansolo12334 commented 10 months ago

hello developers! i try to test the example roslaunch dave_demo_launch dave_dvl_demo_dsl.launch but got error blew:

[INFO] [1700057082.886538, 0.000000]: Calling service /gazebo/spawn_urdf_model gzserver: malloc.c:2401: sysmalloc: Assertion `(old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)' failed. Service call failed: transport error completing service call: unable to receive data from sender, check sender's logs for details [ERROR] [1700057083.101344, 0.000000]: Spawn service failed. Exiting. Aborted [gazebo-2] process has died [pid 3115, exit code 134, cmd /opt/ros/melodic/lib/gazebo_ros/gzserver -e ode -s libdsros_sensors.so /home/hansolo/catkin_pureBags/src/dave/dave-master/models/dave_worlds/worlds/dave_ocean_waves.world name:=gazebo log:=/home/hansolo/.ros/log/e6ff1bb6-83bf-11ee-afb8-00155dd4a75b/gazebo-2.log]. log file: /home/hansolo/.ros/log/e6ff1bb6-83bf-11ee-afb8-00155dd4a75b/gazebo-2.log [spawn_caldus-8] process has died [pid 3142, exit code 1, cmd /opt/ros/melodic/lib/gazebo_ros/spawn_model -urdf -x 25 -y 0 -z -85 -R 0 -P 0 -Y -1.8 -model caldus -param /caldus/caldus __name:=spawn_caldus __log:=/home/hansolo/.ros/log/e6ff1bb6-83bf-11ee-afb8-00155dd4a75b/spawn_caldus-8.log]. log file: /home/hansolo/.ros/log/e6ff1bb6-83bf-11ee-afb8-00155dd4a75b/spawn_caldus-8.log

and i found if i remove the libuuv_underwater_current_ros_plugin.so code in ocean_wave.world , then it work but i won't be able to get /hydrodynamics topic to test water tracking example in https://field-robotics-lab.github.io/dave.doc/contents/dave_sensors/whn_dvl_examples/#whoi_water_tracking I have no idea why it happened , and i guess this project maybe have paused for a while , i will be so glad if you guys can responses soon!

errors:

image

libuuv_underwater_current_ros_plugin.so in ocean_wave.world:

image
hansolo12334 commented 10 months ago

by the way, my system environment is Ubuntu 1804 in WSL , Ros melodic and Gazebo 9.19.0