TechmanRobotInc / tmr_ros1

TM Robots supporting ROS1 drivers and some extended external applications. (experimental) (not support the new TM S-Series)
Other
49 stars 21 forks source link

Error occurs when executing launch file #17

Open KunYu1 opened 2 years ago

KunYu1 commented 2 years ago

Hello @TechmanRobotIncOwner, When we run "roslaunch tm5_900_moveit_config tm5_900_moveit_planning_execution.launch sim:=True" in tutorial, we encountered an issue as follows:

Undefined substitution argument transmission_hw_interface
when processing file: /home/lab605/TM_ws/src/tmr_ros1/tm5_description/urdf/tm5_900_robot.urdf.xacro
RLException: while processing /home/lab605/TM_ws/src/tmr_ros1/tm5_900_moveit_config/launch/planning_context.launch:
Invalid <param> tag: Cannot load command parameter [robot_description]: command [['xacro', '/home/lab605/TM_ws/src/tmr_ros1/tm5_description/urdf/tm5_900_robot.urdf.xacro', 'stl_mesh:=false']] returned with code [2]. 

Param xml is <param command="xacro '$(find tm5_description)/urdf/tm5_900_robot.urdf.xacro' stl_mesh:=$(arg stl_mesh)" if="$(arg load_robot_description)" name="$(arg robot_description)"/>
The traceback for the exception was written to the log file

It seems like there are some argument errors in launch file. How can we solve this problem? We appreciate your help!

Yuki-cpp commented 2 years ago

Hello @KunYu1

Do you still encounter this issue? I tried on a fresh clone of this repo and could not reproduce. Which ROS version are you using? (I tried on melodic) Are your ros package up to date?

TechmanRobotIncOwner commented 1 year ago

Hello @KunYu1

  1. Do you run tm_driver successful? "rosrun tm_driver tm_driver "

  2. Then "roslaunch tm5-900-moveit_config tm5-900_moveit_planning_execution.launch sim:=True"