You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have some issues trying to run the Gazebo simulation of the iris_rplidar model using the CPU version (Ray class).
We are using Gazebo 7, ROS Kinetic and Ubuntu 16.04. The simulation is running with PX4 v1.7.3.
The simulation seems to work fine as is from the repo using the GpuRay version. However when we switch it to the CPU version when trying to run the simulation using the command roslaunch px4 mavros_posix_sitl.launch vehicle:=iris_rplidar it fails with a SegFault (see below).
...
[INFO] [1521963013.283246, 0.000000]: Loading model XML from file
[INFO] [1521963013.283508, 0.000000]: Waiting for service /gazebo/spawn_sdf_model
[ INFO] [1521963014.380615270]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1521963014.381053625]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
[INFO] [1521963015.696928, 0.000000]: Calling service /gazebo/spawn_sdf_model
[INFO] [1521963016.466065, 0.002000]: Spawn status: SpawnModel: Successfully spawned entity
[vehicle_spawn_sushrith_hp_18072_8143607915859286538-5] process has finished cleanly
log file: /home/sushrith/.ros/log/5a1e3f4e-2ffe-11e8-b2b4-142d276b1a25/vehicle_spawn_sushrith_hp_18072_8143607915859286538-5*.log
Segmentation fault (core dumped)
[gazebo-3] process has died [pid 18128, exit code 139, cmd /opt/ros/kinetic/lib/gazebo_ros/gzserver -e ode /home/sushrith/git/Firmware/Tools/sitl_gazebo/worlds/empty.world __name:=gazebo __log:=/home/sushrith/.ros/log/5a1e3f4e-2ffe-11e8-b2b4-142d276b1a25/gazebo-3.log].
log file: /home/sushrith/.ros/log/5a1e3f4e-2ffe-11e8-b2b4-142d276b1a25/gazebo-3*.log
^C[mavros-6] killing on exit
[gazebo_gui-4] killing on exit
[sitl-2] killing on exit
Exiting...
pxh> Shutting down
Restoring terminal
[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done
And the sdf file for the rplidar model with changes to use the Ray class (CPU).
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
We have some issues trying to run the Gazebo simulation of the
iris_rplidar
model using the CPU version (Ray
class).We are using Gazebo 7, ROS Kinetic and Ubuntu 16.04. The simulation is running with PX4 v1.7.3.
The simulation seems to work fine as is from the repo using the
GpuRay
version. However when we switch it to the CPU version when trying to run the simulation using the commandroslaunch px4 mavros_posix_sitl.launch vehicle:=iris_rplidar
it fails with a SegFault (see below).And the sdf file for the rplidar model with changes to use the
Ray
class (CPU).Following the suggestions in #6755 we removed the Laser altimeter after which the simulation ran through just fine and seemed to give coherent values.
Any ideas as to what might be wrong?
Working here with @anushkumar27.
The text was updated successfully, but these errors were encountered: