Traceback (most recent call last):
File "/home/jelle/catkin_ws/src/ros-gym/ros_gym_bridge_webots/src/ros_gym_bridge_webots/webots_node.py", line 10, in <module>
wb = WeBotsBridge()
File "/home/jelle/catkin_ws/src/ros-gym/ros_gym_bridge_webots/src/ros_gym_bridge_webots/webots.py", line 17, in __init__
self._supervisor_name = self._get_supervisor()
File "/home/jelle/catkin_ws/src/ros-gym/ros_gym_bridge_webots/src/ros_gym_bridge_webots/webots.py", line 53, in _get_supervisor
return re.search("[^\/]+(?=\/supervisor)", supervisors[0]).group()
AttributeError: 'NoneType' object has no attribute 'group'
[ros_env/webots-1] killing on exit
Traceback (most recent call last):
File "/opt/ros/noetic/lib/webots_ros/webots_launcher.py", line 40, in <module>
subprocess.call(command)
File "/home/jelle/anaconda3/envs/opendr/lib/python3.8/subprocess.py", line 342, in call
return p.wait(timeout=timeout)
File "/home/jelle/anaconda3/envs/opendr/lib/python3.8/subprocess.py", line 1083, in wait
return self._wait(timeout=timeout)
File "/home/jelle/anaconda3/envs/opendr/lib/python3.8/subprocess.py", line 1808, in _wait
(pid, sts) = self._try_wait(0)
File "/home/jelle/anaconda3/envs/opendr/lib/python3.8/subprocess.py", line 1766, in _try_wait
(pid, sts) = os.waitpid(self.pid, wait_flags)
KeyboardInterrupt
[ros_env/physics_bridge-1] process has died [pid 1777817, exit code 1, cmd /home/jelle/catkin_ws/src/ros-gym/ros_gym_bridge_webots/src/ros_gym_bridge_webots/webots_node.py __name:=physics_bridge __log:=/home/jelle/.ros/log/36293508-ba25-11eb-8157-77d28047b8fb/ros_env-physics_bridge-1.log].
log file: /home/jelle/.ros/log/36293508-ba25-11eb-8157-77d28047b8fb/ros_env-physics_bridge-1*.log
all processes on machine have died, roslaunch will exit
Traceback (most recent call last):
File "/home/jelle/catkin_ws/src/ros-gym/examples/ur5e_example/scripts/example.py", line 26, in <module>
env = Flatten(RosEnv(robots=[UR5e("ur5e1")], name='ros_env', engine_params=wb_params))
File "/home/jelle/catkin_ws/src/ros-gym/ros_gym_core/src/ros_gym_core/ros_env.py", line 95, in __init__
self._init_nodes(self.robots, self.sensors, self.observers)
File "/home/jelle/catkin_ws/src/ros-gym/ros_gym_core/src/ros_gym_core/ros_env.py", line 24, in _init_nodes
self._register_objects(robots, sensors, observers)
File "/home/jelle/catkin_ws/src/ros-gym/ros_gym_core/src/ros_gym_core/ros_env.py", line 35, in _register_objects
register_service.wait_for_service(20)
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_service.py", line 425, in wait_for_service
wait_for_service(self.resolved_name, timeout=timeout)
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_service.py", line 148, in wait_for_service
raise ROSException("timeout exceeded while waiting for service %s"%resolved_name)
rospy.exceptions.ROSException: timeout exceeded while waiting for service /ros_env/register
[ur5e_example-2] process has died [pid 1777786, exit code 1, cmd /home/jelle/catkin_ws/src/ros-gym/examples/ur5e_example/scripts/example.py __name:=ur5e_example __log:=/home/jelle/.ros/log/36293508-ba25-11eb-8157-77d28047b8fb/ur5e_example-2.log].
log file: /home/jelle/.ros/log/36293508-ba25-11eb-8157-77d28047b8fb/ur5e_example-2*.log
Hier zijn alle services met supervisor in de naam:
Zou je deze nog kunnen fixen Alexander?
Error traceback:
Hier zijn alle services met supervisor in de naam: