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

Squats: Generate trajectories and perform on sim and real #33

Closed
jgvictores opened this issue Feb 5, 2018 · 7 comments
Closed

Squats: Generate trajectories and perform on sim and real #33

jgvictores opened this issue Feb 5, 2018 · 7 comments

Comments

@jgvictores
Copy link
Member

jgvictores commented Feb 5, 2018

  • Generate trajectories
  • Perform on sim
  • Perform on real

Edited from: Perform squats using TrajectoryLib of roboticslab-uc3m/kinematics-dynamics#134, preferably from Python (related: roboticslab-uc3m/kinematics-dynamics#168)

@jgvictores jgvictores added priority: high blocked Do not focus on this issue until blocking issue is closed labels Feb 5, 2018
@jgvictores jgvictores removed the blocked Do not focus on this issue until blocking issue is closed label Feb 10, 2018
@jgvictores jgvictores self-assigned this Feb 10, 2018
@jgvictores
Copy link
Member Author

Will develop Joint Space trajectory as part of roboticslab-uc3m/kinematics-dynamics#134.

@jgvictores jgvictores added priority: critical blocked Do not focus on this issue until blocking issue is closed and removed priority: high status: in progress labels Dec 12, 2018
@jgvictores
Copy link
Member Author

Blocked by roboticslab-uc3m/kinematics-dynamics#134

@jgvictores jgvictores changed the title Think about squats Perform squats using TrajectoryLib Dec 20, 2018
@jgvictores
Copy link
Member Author

Not blocked by roboticslab-uc3m/kinematics-dynamics#134, may not require joint space trajectories in TrajectoryLib

@jgvictores jgvictores removed the blocked Do not focus on this issue until blocking issue is closed label May 8, 2019
@jgvictores jgvictores changed the title Perform squats using TrajectoryLib Squats: Generate trajectories and perform on sim and real May 23, 2019
@jgvictores jgvictores pinned this issue May 23, 2019
@PeterBowman PeterBowman self-assigned this Jun 20, 2019
@PeterBowman
Copy link
Member

PeterBowman commented Jun 20, 2019

TEO has learned to perform small up-down (squat, Z axis) and left-right (balance, Y axis) linear displacements of its center of mass. Proof:

IMAGE ALT TEXT HERE

Full recipe:

  • Tested on the old PT mode, temporally restored in the old-pt branch at yarp-devices.
  • Had to disable (remove) absolute encoders in launchLocomotion.ini (thanks @rsantos88 for the tip) due to constant driver failures, apparently related to saturation of CAN comms.
  • Might need to increase maximum velocities on real robot. Simulated is fine with default 10 degrees/s, real was tested with 30/50 (left/right leg), but not sure if needed.
  • App available at kin-dyn/.../exampleSquatBalance (roboticslab-uc3m/kinematics-dynamics@c9f49a0), see doxygen for usage notes.
  • Simulated TEO can travel within [0,-0.45] in Z axis and [-0.145,0.145] in Y axis wrt. to its initial home pose. Tested with [0,-0.45] and [-0.1,0.1] on real TEO, see above YouTube clip.
  • Improvements on kinematics-dynamics (merged into develop branch):
    • A corner case linked to the PadenKahanThree and PardosGotorThree subproblems has been fixed: roboticslab-uc3m/kinematics-dynamics@b98ac6f.
    • A new IK configuration strategy selector, --invKinStrategy humanoidGait, has been added: roboticslab-uc3m/kinematics-dynamics@0be892c. This selector picks the only configuration (out of 8 possible solutions) that entails a human-like pose, i.e. it prevents from rotating the knee backwards and so on.
    • Old PT mode implementation at yarp-devices is not aware of the YARP's remote variables interface, hence it shouldn't make BasicCartesianControl fail on initial configuration: roboticslab-uc3m/kinematics-dynamics@eaed850.
  • Important: comment out the joint velocity check (ref), not working well along with the old PT mode (the robot does not move until the buffer is full).

Update (2021): the squat app was moved to https://github.com/roboticslab-uc3m/gait-experiments. The old pt mode was fully replaced by CSP: roboticslab-uc3m/yarp-devices#254.

@smcdiaz
Copy link

smcdiaz commented Jun 20, 2019

Great! The first step to make a first step

@imontesino imontesino unpinned this issue Sep 26, 2019
@PeterBowman
Copy link
Member

As a first approach, I think we are done. See #33 (comment) (2019) and roboticslab-uc3m/teo-blender-models#2 (2021).

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

No branches or pull requests

3 participants