Recently, I was trying to use the pilz_industrial_motion on a custom robot using the provided Python API from this example. But After I used the provided demo_program.py python script, the terminal show that there were an error on requesting the service
Software and Versions
Ubuntu 20.04 LTS
ROS Noetic + MoveIt!
Steps to reproduce
How can the issue/bug be reproduced?
Clone this repo and this repo to the same ros workspace as I am using for simulation
Before build the workspace, install all necessary dependencies using this command
The python script file should be executed and the robot object should be initiated without an error then the robot will move to its pick home position using PTP command via joint values.
Observed behavior
Instead, what I have encountered is that there was an error about waiting for the service to show up.
Logfiles
Executing /home/hayashi/worksp/motoman_sia5f_sim/src/motoman_sia5f_robot/motoman_sia5f_gazebo/scripts/pilz_planner_control_sim_test.py
[INFO] [1672311430.020382, 1660.918000]: Waiting for connection to action server sequence_move_group...
[INFO] [1672311430.252180, 1661.150000]: Waiting for connection to service /prbt/get_speed_override...
Traceback (most recent call last):
File "/home/hayashi/worksp/motoman_sia5f_sim/src/motoman_sia5f_robot/motoman_sia5f_gazebo/scripts/pilz_planner_control_sim_test.py", line 59, in <module>
main()
File "/home/hayashi/worksp/motoman_sia5f_sim/src/motoman_sia5f_robot/motoman_sia5f_gazebo/scripts/pilz_planner_control_sim_test.py", line 21, in main
robot = Robot(__REQUIRED_API_VERSION__)
File "/opt/ros/noetic/lib/python3/dist-packages/pilz_robot_programming/robot.py", line 138, in __init__
self._establish_connections()
File "/opt/ros/noetic/lib/python3/dist-packages/pilz_robot_programming/robot.py", line 544, in _establish_connections
rospy.wait_for_service(self._GET_SPEED_OVERRIDE_SRV, self._SERVICE_WAIT_TIMEOUT_S)
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 /prbt/get_speed_override
Hello,
Commit
Recently, I was trying to use the pilz_industrial_motion on a custom robot using the provided Python API from this example. But After I used the provided demo_program.py python script, the terminal show that there were an error on requesting the service
Software and Versions
Steps to reproduce
How can the issue/bug be reproduced?
Expected behavior
The python script file should be executed and the robot object should be initiated without an error then the robot will move to its pick home position using PTP command via joint values.
Observed behavior
Instead, what I have encountered is that there was an error about waiting for the service to show up.
Logfiles