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

Read floating base groundtruth #7

Merged
merged 3 commits into from
Jul 10, 2020

Conversation

arntanguy
Copy link
Collaborator

This PR connects the following ports to the "FloatingBase" BodySensor:

  • basePoseIn
  • baseVelIn
  • baseAccIn

This allows reading ground-truth floating base information from choreonoid simulation.

Note if you wish to use this for your own robots:

Everything is set-up for the simulations with the JVRC robot provided with this repository. If you wish to obtain grountruth information for your own robot, you will need the following:

  • In Virtual-YourRobot-RTC.conf
out-port = waistAbsTransform:PELVIS:ABS_TRANSFORM2
out-port = waistAbsVelocity:PELVIS:ABS_VELOCITY
out-port = waistAbsAcceleration:PELVIS:ABS_ACCELERATION
  • In the simulation script sim_mc.py
    connectPorts(rh.port("waistAbsTransform"), mc.port("basePoseIn"))
    connectPorts(rh.port("waistAbsVelocity"), mc.port("baseVelIn"))
    connectPorts(rh.port("waistAbsAcceleration"), mc.port("baseAccIn"))

@gergondet gergondet merged commit 478f8f0 into jrl-umi3218:master Jul 10, 2020
gergondet added a commit that referenced this pull request May 10, 2022
* Connect floating base ground-truth (#7)
* Let mc_rtc handle the floating base initialization (#8)
* Avoid crashes when the FloatingBase sensor does not exist
* Connect encoder velocities (#11)
* Add more sample projects with JVRC1 (#10/#12)
* Initialize from initial target rather than initial encoders (#14)
* Log iteration to iteration time (#16)
* Prepare for mc_rtc 2.0
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

Successfully merging this pull request may close these issues.

2 participants