Description
When starting a robot with the specific gripper in a mode other than CPRCANv2 the gripper still tries to connect to the CAN bus. This is caused by a missing if statement and not passing the value of hardware_protocol to the gripper.
Launch a random robot launch file with gripper:=ext_can
See that the CAN hardware interface is started
Expected behavior
The gripper should be loaded, but only the description part, not the ros2_control parts. If it is easy to simulate instead it could also be added.
Actual behavior
When starting a robot with the specific gripper in a mode other than CPRCANv2 the gripper still tries to connect to the CAN bus.
Description When starting a robot with the specific gripper in a mode other than CPRCANv2 the gripper still tries to connect to the CAN bus. This is caused by a missing if statement and not passing the value of hardware_protocol to the gripper.
Your environment
To Reproduce
Expected behavior The gripper should be loaded, but only the description part, not the ros2_control parts. If it is easy to simulate instead it could also be added.
Actual behavior When starting a robot with the specific gripper in a mode other than CPRCANv2 the gripper still tries to connect to the CAN bus.