ExistentialRobotics / xarm_ros2

Fork of xarm_ros2
https://www.ufactory.cc/pages/xarm
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

ros2 launch xarm_moveit_config _robot_moveit_fake.launch.py #7

Closed NikolaRaicevic2001 closed 1 month ago

NikolaRaicevic2001 commented 1 month ago

1) Error: "ros2 launch xarm_moveit_config _robot_moveit_fake.launch.py [INFO] [launch]: All log files can be found below /root/.ros/log/2024-09-24-17-15-12-331936-nikolaraicevic-Legion-Pro-7-16IRX8H-18568 [INFO] [launch]: Default logging verbosity is set to INFO [ERROR] [launch]: Caught exception in launch (see debug for traceback): name 'robot_type' is not defined root@nikolaraicevic-Legion-Pro-7-16IRX8H:/keti_ws# " 2) Expected Behavior: Launching a robot in the rviz2 world with planning capabilities

3) Actual Behavior: "robot_type missing" probably from one of the launch files src/xarm_ros2/xarm_controller/launch/_ros2_control.launch.py which needs robot_type in 3 places =>(" ros2_control_params = generate_ros2_control_params_temp_file( os.path.join(get_package_share_directory('xarm_controller'), 'config', '{}{}_controllers.yaml'.format(robot_type.perform(context), dof.perform(context) if robot_type.perform(context) in ('xarm', 'lite') else '')), prefix=prefix.perform(context), add_gripper=False, add_bio_gripper=False, ros_namespace=LaunchConfiguration('ros_namespace', default='').perform(context), robot_type='xarm' ) ")

NikolaRaicevic2001 commented 1 month ago

Fixed the robot_type, the execution of the planned path does not work now

NikolaRaicevic2001 commented 1 month ago

[spawner-6] [FATAL] [1727372920.606767569] [spawner_xarm6_traj_controller]: Failed loading controller xarm6_traj_controller