Conversation
|
For the orientation, according to the docs:
=> if I understand what you said, I think what you have is correct
why 1 meter? I feel that I would expect that to be from ground level, but that would mean the API does some internal math to take into account the legs pose. Not sure about that https://support.unitree.com/home/en/developer/sports_services |
|
By the way, you are not using lidar rays for your current experimental implementation, right? I would expect the legs to block a large part of the field of view. Not sure what kind of processing they are doing |
I'm using the
Just a random choice. It can be changed with a parameter.
Right, i can set the measurements relative to the body height. |
2lian
left a comment
There was a problem hiding this comment.
Forgot the send my review last time
|
Quick question, how big/often are the heightmap messages? |
With the current settings, the bulk of the data is a 128x128 grid of float32 (16,384 floats = ~64 KB?). it's published at 10hz which can be changed with |
simulate_python/sport_mujoco.py
Outdated
| # --- human marker subscriber ------------------------------------------- | ||
| _marker_pose = None | ||
| _marker_lock = threading.Lock() | ||
| has_marker = mujoco.mj_name2id(mj_model, mujoco.mjtObj.mjOBJ_BODY, "human_marker") >= 0 |
There was a problem hiding this comment.
@azazdeaz is this section about the uwb sensor?
if so to be more generic, maybe better to call it uwb_tag rather than human_marker
There was a problem hiding this comment.
Right, that would be better. I changed it in both repos. Thank you!
…ujoco and uwb_publisher
Experimental implementation of additional high-level DDS APIs .
Height Map API
I used the information from the message description and here: https://support.unitree.com/home/en/developer/LiDAR_service#heading-6
We would need a sample data or more detailed documentation to things like:
What are the height measurements relative to? Currently it's the robots body plus one meter.Seems like it's relative to ground level (when the robot was turned on)How is the map oriented? Currently it follows the 2d top-down rotation of the robot body.Seems like it's in the world frame, but shifted is it centers around the robot. Not rotated.I added it as an optional feature to sport_mujoco.py . It can be enabled with
--heightmapDebug visualization can be enabled with
--heightmap-debugThis data could be used for rail tracking and and as observation data for obstacle aware control policies.
height_map_test.mp4
UWB API
Unitree API reference: https://support.unitree.com/home/en/developer/UWB_service
For now, it only implements publishing the transform data in the message.
So fields related to buttons on the tag are not implemented, but we could add them if they use them to communicate with the robot. More on the controller here: https://support.unitree.com/home/en/developer/UWB%20Application
Locomotion controllers
Additionally to the WTW controller, it also enables to use RSL-RL based control policies.
sport_mujoconow has a--policyparam to selectwtworrsl_rlThe model checkpoints will be automatically loaded from https://huggingface.co/Artefacts/go2-locomotion when used.