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'
)
")
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' ) ")