Closed mbusy closed 5 years ago
Hi Maxime, which robot are you trying to add? I would go about overriding _loop_angle_pub_cmd function in your robot's Arm class implementation.
Hi Kalyan, thank you for your quick answer. I was thinking about adding the Pepper robot to the framework.
looking forward to see Pepper on our platform :) Please let me know if you have anymore questions. Thanks!
If I implement the arm of a new robot but can't get any velocity / effort data for the arm's joints (through a JointState message), the __go_home__ method will fail.
This is due to the fact that go_home_ calls loop_angle_pub_cmd__, in which the following snippet can be found:
The if instruction will fail with a value error, the vels list being empty.
My question is the following, would it be more pertinent to override the _loop_angle_pub_cmd in the robot's Arm class, or to modify the original one in the core file ?