Observing the height of a torso-attached point or frame? #117
-
Hi! Is it possible to extend the observation with some notion for Upkie's height, such as the coordinates of the center point of the upper torso cover? I've been studying the observers code but I don't see a way to access this information. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I see two ways to interpret your question (not sure which one you mean). Both are doable but not currently implemented 😉 1) Getting ground truth info from the simulatorThis would be a feature request for Vulp since that's where the simulator interface resides. I can give a bit more context on how to get there, feel free to open an issue in the Vulp tracker. 2) Computing the coordinates of a given point(Or more generally the pose of any robot frame with respect to the inertial frame.) This can be done here with a C++ or Python observer. A Python observer would be simpler to get started, e.g. following roughly these steps:
Contrary to getting ground truth from the simulator, having an observer would work both in sim and on real robots. |
Beta Was this translation helpful? Give feedback.
-
Looks good, thank you 👍 I'm going for the second option. I opened issue upkie/vulp#41 for the first one. |
Beta Was this translation helpful? Give feedback.
I see two ways to interpret your question (not sure which one you mean). Both are doable but not currently implemented 😉
1) Getting ground truth info from the simulator
This would be a feature request for Vulp since that's where the simulator interface resides. I can give a bit more context on how to get there, feel free to open an issue in the Vulp tracker.
2) Computing the coordinates of a given point
(Or more generally the pose of any robot frame with respect to the inertial frame.) This can be done here with a C++ or Python observer. A Python observer would be simpler to get started, e.g. following roughly these steps: