deoxys_control icon indicating copy to clipboard operation
deoxys_control copied to clipboard

Robot doesn't move when running the example scripts

Open SilvesterYu opened this issue 2 years ago • 15 comments

I tried running several example scripts but the robot doesn't move.

However, when I run the commane ./auto_scripts/auto_gripper.sh config/charmander.yml, the gripper can close and open.

After running examples/position_only_movement.py , I got the following log files:: debug.log

[Deoxys WARNING] 2024-01-08 21:35:30,801 - This is a beta script
[Deoxys ERROR] 2024-01-08 21:36:06,820 - NO errors. Just need to test error message

error.log

[Deoxys ERROR] 2024-01-08 21:36:06,820 - NO errors. Just need to test error message
[Deoxys ERROR] 2024-01-08 21:36:06,820 - NO errors. Just need to test error message

Output in terminal:

[Deoxys Examples WARNING] This is a beta script (Ln 28)
OSC_POSITION
OSC_POSITION
OSC_POSITION
OSC_POSITION
OSC_POSITION
OSC_POSITION
OSC_POSITION
[Deoxys Examples ERROR] NO errors. Just need to test error message (Ln 51)

After running examples/reset_robot_joints.py, I got the following: debug.log

[Deoxys INFO] 2024-01-08 21:40:31,876 - Current Robot joint: [-2.299  0.54   2.288 -2.452 -0.426  2.059  0.921]
[Deoxys INFO] 2024-01-08 21:40:31,877 - Desired Robot joint: [-2.299  0.54   2.288 -2.452 -0.426  2.059  0.921]
[Deoxys INFO] 2024-01-08 21:40:31,878 - Current Robot joint: [-2.299  0.54   2.288 -2.452 -0.426  2.059  0.921]
[Deoxys INFO] 2024-01-08 21:40:31,879 - Desired Robot joint: [-2.299  0.54   2.288 -2.452 -0.426  2.059  0.921]
[Deoxys INFO] 2024-01-08 21:40:31,928 - Current Robot joint: [-2.299  0.54   2.288 -2.452 -0.426  2.059  0.921]
[Deoxys INFO] 2024-01-08 21:40:31,929 - Desired Robot joint: [-2.299  0.54   2.288 -2.452 -0.426  2.059  0.921]
[Deoxys INFO] 2024-01-08 21:40:31,978 - Current Robot joint: [-2.299  0.54   2.288 -2.452 -0.426  2.059  0.921]
[Deoxys INFO] 2024-01-08 21:40:31,979 - Desired Robot joint: [-2.299  0.54   2.288 -2.452 -0.426  2.059  0.921]
[Deoxys INFO] 2024-01-08 21:40:32,029 - Current Robot joint: [-2.299  0.54   2.288 -2.452 -0.426  2.059  0.921]
[Deoxys INFO] 2024-01-08 21:40:32,030 - Desired Robot joint: [-2.299  0.54   2.288 -2.452 -0.426  2.059  0.921]
[Deoxys INFO] 2024-01-08 21:40:32,078 - Current Robot joint: [-2.299  0.54   2.288 -2.452 -0.426  2.059  0.921]
[Deoxys INFO] 2024-01-08 21:40:32,079 - Desired Robot joint: [-2.299  0.54   2.288 -2.452 -0.426  2.059  0.921]
.....

Output in terminal:

pybullet build time: Nov 28 2023 23:51:11
[Deoxys Examples INFO] Current Robot joint: [-2.299  0.54   2.288 -2.452 -0.426  2.059  0.921] (Ln 83)
[Deoxys Examples INFO] Desired Robot joint: [-2.299  0.54   2.288 -2.452 -0.426  2.059  0.921] (Ln 84)
[Deoxys Examples INFO] Current Robot joint: [-2.299  0.54   2.288 -2.452 -0.426  2.059  0.921] (Ln 83)
[Deoxys Examples INFO] Desired Robot joint: [-2.299  0.54   2.288 -2.452 -0.426  2.059  0.921] (Ln 84)
[Deoxys Examples INFO] Current Robot joint: [-2.299  0.54   2.288 -2.452 -0.426  2.059  0.921] (Ln 83)
[Deoxys Examples INFO] Desired Robot joint: [-2.299  0.54   2.288 -2.452 -0.426  2.059  0.921] (Ln 84)
[Deoxys Examples INFO] Current Robot joint: [-2.299  0.54   2.288 -2.452 -0.426  2.059  0.921] (Ln 83)
[Deoxys Examples INFO] Desired Robot joint: [-2.299  0.54   2.288 -2.452 -0.426  2.059  0.921] (Ln 84)
...

Which goes on forever.

Doesn't seem like the desired position successfully went to the robot. Do you have any insights on what the issue was? Many thanks!

SilvesterYu avatar Jan 09 '24 02:01 SilvesterYu

This happens to me as well. I dived into the RUC side, and it seems that the franka_interface will always break at [info - arm_logger] Joint position callback. I do not fully understand why this happened

ywang-bdai avatar May 17 '24 05:05 ywang-bdai

Do you have a full error log? Does this happen to all scripts? (For example, does reset joint script work?)

zhuyifengzju avatar May 18 '24 12:05 zhuyifengzju

i have the same error too,do someone have sovled it?

Ynao3 avatar May 29 '24 06:05 Ynao3

this is log file [2024-05-2[2024-05-29 14:48:14.905] [arm_logger] [info] State Publisher: 100Hz, Policy: 20Hz, Traj Interpolation 500Hz, ZMQ noblock receving true [2024-05-29 14:48:14.906] [arm_logger] [info] Deoxys starting [2024-05-29 14:48:14.956] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:15.006] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:15.056] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:15.106] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:15.156] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:15.207] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:15.257] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:15.307] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:15.357] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:15.407] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:15.457] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:15.508] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:15.558] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:15.608] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:15.658] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:15.708] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:15.758] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:15.808] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:15.858] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:15.909] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:15.959] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:16.009] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:16.060] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:16.110] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:16.160] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:16.210] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:16.260] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:16.311] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:16.361] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:16.411] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:16.461] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:16.512] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:16.562] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:16.612] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:16.662] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:16.712] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:16.763] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:16.813] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:16.863] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:16.913] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:16.963] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:17.013] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:17.064] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:17.114] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:17.164] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:17.214] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:17.264] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:17.315] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:17.365] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:17.415] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:17.465] [arm_logger] [debug] Counter 0 [2024-05-29 14:48:17.516] [arm_logger] [debug] No traj interpolator is specified [2024-05-29 14:48:17.516] [arm_logger] [debug] No state estimator is specified [2024-05-29 14:48:17.566] [arm_logger] [debug] No traj interpolator is specified [2024-05-29 14:48:17.566] [arm_logger] [debug] No state estimator is specified [2024-05-29 14:48:17.616] [arm_logger] [debug] No traj interpolator is specified [2024-05-29 14:48:17.616] [arm_logger] [debug] No state estimator is specified [2024-05-29 14:48:17.666] [arm_logger] [debug] No traj interpolator is specified [2024-05-29 14:48:17.666] [arm_logger] [debug] No state estimator is specified [2024-05-29 14:48:17.716] [arm_logger] [debug] No traj interpolator is specified [2024-05-29 14:48:17.716] [arm_logger] [debug] No state estimator is specified [2024-05-29 14:48:17.766] [arm_logger] [debug] No traj interpolator is specified [2024-05-29 14:48:17.766] [arm_logger] [debug] No state estimator is specified [2024-05-29 14:48:17.817] [arm_

Ynao3 avatar May 29 '24 06:05 Ynao3

I also encounter this issue. Is there any progress on it?

minliu01 avatar Oct 07 '24 21:10 minliu01

Sorry, I don't have the condition to test on a real robot now. Someone said to set counter higher. That's one thing to try. Another thing is to check the internet latency between the NUC and desktop. The latency might be a thing if you are using a network switch, and some network switch might cause high internet latency.

zhuyifengzju avatar Oct 09 '24 00:10 zhuyifengzju

@SilvesterYu @ywang-bdai Has anyone solved this problem? Is it caused by a mismatch in the robot version? For example, my Franka is 4.22, and the official documentation says it requires a version greater than 0.9.1 and less than 0.10.0, but this repository does not provide that.

Hoyyyaard avatar Oct 15 '24 04:10 Hoyyyaard

From feedback from some users, deoxys can support at least to 0.13.0 .

zhuyifengzju avatar Oct 15 '24 17:10 zhuyifengzju

Hey @zhuyifengzju, we're having this issue with our new FR3 (system ver. 5.2.2, libfranka 0.10) in AHG as well.

Crashes after "[info - arm_logger] Joint position callback".

Could you elaborate on the counter you mentioned?

Please let me know if there are tests we can run here with the robot to help debug.

Thanks!

babbatem avatar Oct 18 '24 22:10 babbatem