justagist / panda_simulator

A Gazebo simulator for the Franka Emika Panda robot with ROS interface, supporting sim-to-real code transfer (Python). Exposes customisable controllers and state feedback from robot in simulation.
Apache License 2.0
203 stars 61 forks source link

SetModelConfiguration service failed #68

Open joce04 opened 4 months ago

joce04 commented 4 months ago

Hi there,

I am trying to run roslaunch panda_gazebo panda_world.launch but I am getting the error below. Gazebo starts up but nothing in the world ever loads.

For reference, I am connected over ssh to a computer running Ubuntu 18.04 and ROS-Melodic. I saw there was another user that had this issue but the issue was closed without a resolution. I only need the simulation properties of this repository.

[INFO] [1717028783.426662, 0.285000]: wait_for_service(/controller_manager/load_controller): finally were able to contact [rosrpc://localhost:60387]
Traceback (most recent call last):
  File "/opt/ros/melodic/lib/controller_manager/controller_manager", line 61, in <module>
    controller_manager_interface.load_controller(c)
  File "/opt/ros/melodic/lib/python2.7/dist-packages/controller_manager/controller_manager_interface.py", line 61, in load_controller
Traceback (most recent call last):
      File "/opt/ros/melodic/lib/controller_manager/controller_manager", line 49, in <module>
resp = s.call(LoadControllerRequest(name))
  File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 533, in call
    Traceback (most recent call last):
controller_manager_interface.load_controller(c)
      File "/opt/ros/melodic/lib/controller_manager/controller_manager", line 61, in <module>
  File "/opt/ros/melodic/lib/python2.7/dist-packages/controller_manager/controller_manager_interface.py", line 61, in load_controller
raise ServiceException("transport error completing service call: %s"%(str(e)))
rospy.service.ServiceException: transport error completing service call: unable to receive data from sender, check sender's logs for details    
    resp = s.call(LoadControllerRequest(name))
controller_manager_interface.load_controller(c)
  File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 533, in call
  File "/opt/ros/melodic/lib/python2.7/dist-packages/controller_manager/controller_manager_interface.py", line 61, in load_controller
    resp = s.call(LoadControllerRequest(name))
  File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 533, in call
    raise ServiceException("transport error completing service call: %s"%(str(e)))
rospy.service.ServiceException    raise ServiceException("transport error completing service call: %s"%(str(e)))
: transport error completing service call: unable to receive data from sender, check sender's logs for detailsrospy.service
.ServiceException: transport error completing service call: unable to receive data from sender, check sender's logs for details
Segmentation fault (core dumped)
[ERROR] [1717028784.600501, 0.285000]: SetModelConfiguration service failed. Exiting.
[gazebo-1] process has died [pid 19145, exit code 139, cmd /opt/ros/melodic/lib/gazebo_ros/gzserver -e ode /home/jzhao42/catkin_ws/src/panda2/src/panda_simulator/panda_gazebo/worlds/panda.world __name:=gazebo __log:=/home/jzhao42/.ros/log/ff2ed3d0-1e19-11ef-91cc-b42e99317ef0/gazebo-1.log].
log file: /home/jzhao42/.ros/log/ff2ed3d0-1e19-11ef-91cc-b42e99317ef0/gazebo-1*.log
[robot_description-3] process has died [pid 19153, exit code 1, cmd /opt/ros/melodic/lib/gazebo_ros/spawn_model -param robot_description -urdf -model panda -J panda::panda_joint1 0.000 -J panda::panda_joint2 -0.785 -J panda::panda_joint3 0.0 -J panda::panda_joint4 -2.356 -J panda::panda_joint5 0.0 -J panda::panda_joint6 1.57 -J panda::panda_joint7 0.785 __name:=robot_description __log:=/home/jzhao42/.ros/log/ff2ed3d0-1e19-11ef-91cc-b42e99317ef0/robot_description-3.log].
log file: /home/jzhao42/.ros/log/ff2ed3d0-1e19-11ef-91cc-b42e99317ef0/robot_description-3*.log
[controller_spawner-6] process has died [pid 19158, exit code 1, cmd /opt/ros/melodic/lib/controller_manager/controller_manager spawn panda_simulator/position_joint_position_controller panda_simulator/joint_state_controller __name:=controller_spawner __log:=/home/jzhao42/.ros/log/ff2ed3d0-1e19-11ef-91cc-b42e99317ef0/controller_spawner-6.log].
log file: /home/jzhao42/.ros/log/ff2ed3d0-1e19-11ef-91cc-b42e99317ef0/controller_spawner-6*.log
[controller_spawner_stopped-7] process has died [pid 19170, exit code 1, cmd /opt/ros/melodic/lib/controller_manager/controller_manager load panda_simulator/velocity_joint_velocity_controller panda_simulator/effort_joint_gravity_controller panda_simulator/effort_joint_torque_controller __name:=controller_spawner_stopped __log:=/home/jzhao42/.ros/log/ff2ed3d0-1e19-11ef-91cc-b42e99317ef0/controller_spawner_stopped-7.log].
log file: /home/jzhao42/.ros/log/ff2ed3d0-1e19-11ef-91cc-b42e99317ef0/controller_spawner_stopped-7*.log
[panda_gripper_controller_spawner_stopped-8] process has died [pid 19192, exit code 1, cmd /opt/ros/melodic/lib/controller_manager/controller_manager spawn panda_simulator/panda_gripper_controller __name:=panda_gripper_controller_spawner_stopped __log:=/home/jzhao42/.ros/log/ff2ed3d0-1e19-11ef-91cc-b42e99317ef0/panda_gripper_controller_spawner_stopped-8.log].
log file: /home/jzhao42/.ros/log/ff2ed3d0-1e19-11ef-91cc-b42e99317ef0/panda_gripper_controller_spawner_stopped-8*.log