huggingface / gym-xarm Goto Github PK
View Code? Open in Web Editor NEWA gym environment for xArm
License: Apache License 2.0
A gym environment for xArm
License: Apache License 2.0
Hi everyone,
I was so happy to see the first public staff from HF on robotics here, because I am very keen on helping implementing some safety filter for RL policies, that can potentially be used for both training and testing. However, I realized a shortcut that some RL environments in sim do these days: Simply using a equality constraint on the end-effector to simplify the action space, see https://github.com/fyhMer/fowm as well. That however makes the transfer to the real-world difficult as most robots can only be controlled using joint positions or joint velocities. It seems rather unnatural to rely on the physics engine to do the mapping from Cartesian commands to joint space implicitly, rather than relying on an IK solver or an impedence scheme for that, which is also accessible in the real world.
What are your thoughts on this?
gym-xarm/gym_xarm/tasks/assets/shared.xml
Lines 36 to 38 in 415811f
As a counterexample, see https://github.com/google-deepmind/mujoco_menagerie/blob/main/aloha/aloha.xml which uses joint position control.
As pointed out by @alexander-soare, there appears to be some issue still with our simxarm port.
for action = torch.tensor([0, 0.5, 0, 0]).float()
Theirs (translation):
Ours (rotation):
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.