【Question】Demo Augmentation Failing Due to Coordinate System Mismatch for Robot with Offset Arm Base #3790
Unanswered
1804sasami
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Environment
Problem Description
I'm trying to use
generate_dataset.pyto augment demonstrations for a custom robot stacking task, but the generated trajectories have large position errors (~88cm) and the IK solver fails to converge properly.The demo file was originally recorded using teleoperation, and I'm attempting to augment it using the mimic environment.
Observed Behavior
Robot Configuration Details
My robot has the following structure:
[1.5, 0.0, -1.0][0.239, -0.3, 0.898]The robot has a mobile base, and the manipulator arm is mounted on top with a significant offset from the robot root.
Environment Configuration
Action Configuration
Observation Configuration
Note:
env.scene.env_originsis[0, 0, 0]Root Cause Analysis
The coordinate system mismatch appears to be caused by:
Observation data: Uses
FrameTransformerfromfootprintto end-effector[0.906, 0.299, 0.014]Action data: World coordinates from teleoperation device
[1.110, 0.344, 0.008]Coordinate offset: The ~20.4cm difference appears to correspond to the offset between
footprintand the robot root or arm baseQuestions
For robots where the arm base is offset from the robot root, what should be used as the source
prim_pathforFrameTransformer?{ENV_REGEX_NS}/Robot/base)?{ENV_REGEX_NS}/Robot/arm_base_link)?How should coordinate systems be aligned between teleoperation recording and mimic augmentation for robots with this structure?
What is the correct workflow for ensuring observation and action coordinates are in the same frame during:
generate_dataset.pyShould
env.scene.env_originsbe set differently for robots where the arm base is significantly offset from the robot root?Expected Behavior
The augmented demonstrations should closely follow the original trajectory with position errors <5cm, and IK should converge without singularity warnings.
Additional Verification with Franka Panda Robot
Test Setup
Observed Behavior
Code Modification
task_space_actions.pyin theprocess_actionsmethodThis verification indicates that the coordinate system issue may not be specific to custom robots with offset arm bases, but could be a more general problem with how the framework handles environments where task components are positioned away from the world origin.
Any guidance on the correct coordinate frame setup for robots with offset arm bases would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions