Skip to content

Robot doesn't move when running the example scripts #20

@SilvesterYu

Description

@SilvesterYu

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions