Hi,
I'm running into some discontinuity issues when I run the c++ example (examples/generate_joint_position_motion_external_control_loop.cpp). I was getting similar issues on python (franky library) and was told it is likely that the slow speed of python is causing command packets to be dropped and causing discontinuity (slower speed often works for predefined movements).
Is there some other example I should be using as a reference which is not going to cause discontinuities? Is there something else going wrong? Any guidance for how/what to debug would be useful
I'm on robot firmware 8 (control 5.7.1), gripper firmware 3, and libfranka version 0.14.
talha@ideas-orin:~/mk/cpp$ g++ franka_server.cpp examples_common.cpp -I/home/talha/miniconda3/envs/mkf311/include -I/usr/include/eigen3 -lfranka -lpthread && ./a.out
WARNING: This example will move the robot! Please make sure to have the user stop button at hand!
Press Enter to continue...
Finished moving to initial joint configuration.
libfranka: Move command aborted: motion aborted by reflex! ["joint_motion_generator_velocity_discontinuity", "joint_motion_generator_acceleration_discontinuity"]
It seems inconsistent. Sometimes I get this error and other times it happens to work.
Context: My overall goal is to control the franka robot with teleop. To that end, I've managed to hook up a controller to simulation to get validated/collision free joint angles in real time. I just want to now command the robot without discontinuity errors.
EDIT: I changed lines 73-74 to this since I'm on an older library version
auto upper_velocity_limits = franka::computeUpperLimitsJointVelocity(reference_joint_position);
auto lower_velocity_limits = franka::computeLowerLimitsJointVelocity(reference_joint_position);
ping also seems fine
PING 192.168.131.41 (192.168.131.41) 56(84) bytes of data.
64 bytes from 192.168.131.41: icmp_seq=1 ttl=64 time=0.705 ms
64 bytes from 192.168.131.41: icmp_seq=2 ttl=64 time=0.801 ms
64 bytes from 192.168.131.41: icmp_seq=3 ttl=64 time=0.959 ms
64 bytes from 192.168.131.41: icmp_seq=4 ttl=64 time=0.759 ms
Hi,
I'm running into some discontinuity issues when I run the c++ example (examples/generate_joint_position_motion_external_control_loop.cpp). I was getting similar issues on python (franky library) and was told it is likely that the slow speed of python is causing command packets to be dropped and causing discontinuity (slower speed often works for predefined movements).
Is there some other example I should be using as a reference which is not going to cause discontinuities? Is there something else going wrong? Any guidance for how/what to debug would be useful
I'm on robot firmware 8 (control 5.7.1), gripper firmware 3, and libfranka version 0.14.
It seems inconsistent. Sometimes I get this error and other times it happens to work.
Context: My overall goal is to control the franka robot with teleop. To that end, I've managed to hook up a controller to simulation to get validated/collision free joint angles in real time. I just want to now command the robot without discontinuity errors.
EDIT: I changed lines 73-74 to this since I'm on an older library version
ping also seems fine