Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent the panda robot from lowering itself step by step #154

Open
Marcelbgit opened this issue Feb 14, 2022 · 5 comments
Open

Prevent the panda robot from lowering itself step by step #154

Marcelbgit opened this issue Feb 14, 2022 · 5 comments

Comments

@Marcelbgit
Copy link

Dear developer,

right now I am working with RLBench as a framework to collect demonstrations for a DRL-algortihm. Instead of going straight from waypoint to waypoint I am using a "teleoperation tool" to create user flexible demonstrations (control every movement step based on the endeffector). After creating my specific tasks via the task_buliding tool I open the files and the Panda robot starts to lowering itself step by step without any settings in the ttt file or in the ObservationConfig class. It also aims no specific point as the waypoint, it just folds on itself. I can see the joint_targets change every step although I haven't assigned any command. How can I prevent the Robot from lowering itself? I need to have the control about every movement via the teleoperation otherwise the robot need to be static.

About your quick help I would be very happy! This is a problem that I could not solve despite the search of all PyRep and RLBench files.

Cheers,
Marcel

@stepjam
Copy link
Owner

stepjam commented Feb 14, 2022

Hi,
Thanks for the question. I'll need a little more information to be able to help. Please post a minimal reproducible example. Thanks!

@Marcelbgit
Copy link
Author

Marcelbgit commented Feb 16, 2022

Hey Stephen,

thanks for your reply. I created a folder for the important files and information, including a video where I show you the lowering of the robot and the overwriting of the target position of the joints. Don't get distracted from the movements between the lowering, because I change the position via teleoperation. In general I am using CEILing (also available in github) approach with the RLBench task "CloseMicrowave" by calling teleoperation_env.py. The environment is setup with custom_env.py in the src folder, so I guess the lines from line 69 to 151 should be the important for the lowering. I could not refer the lines or any configuration in RLBench to the lowering problem. Just opening the scene and play it does not produce the lowering, that's why I am confused. Also the author of the algorithm (CEILing) leads the lowering back to RLBench but without any guess.
Also as you can see in the custom_env file I changed the imports and usages of the action_mode module. Another question, did I come up with the right solution for RLBench 1.2 to exchange

action_mode = MoveArmThenGripper( arm_action_mode=EndEffectorPoseViaIK(False, 'end effector'), gripper_action_mode=Discrete())
with the old
action_mode = ActionMode(ArmActionMode.EE_POSE_EE_FRAME)
I just want to get back the Change in the endeffector as EE_POSE_EE_FRAME is used before.

Find the data attached via:

https://we.tl/t-lyqWwcDYEn

renewed link because of the run out.

https://we.tl/t-4StuoZTyQc

Cheers and thank you so much for your help,
Marcel

@Marcelbgit
Copy link
Author

Hey Stephen,

have you had a change to have a look on my prob? Thank you so far!

Cheers
Marcel

@siilats
Copy link

siilats commented May 27, 2022

Can you upload the file as Pull request or a branch in your repo? Can you show video as a youtube link? the we transfer expires

@zwbx
Copy link

zwbx commented Apr 5, 2024

Same problems like me, which refers to stepjam/PyRep#370

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants