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

[python/viewer] Add support of CoM and contact forces display. #340

Merged
merged 4 commits into from
May 3, 2021
Merged

Conversation

duburcqa
Copy link
Owner

@duburcqa duburcqa commented May 3, 2021

No description provided.

duburcqa and others added 4 commits May 1, 2021 12:07
…d. (#335)

* [python/viewer] Fix error when using exotic matplotlib backends.
* [python/viewer] Do not add legend if replay of the single log.
* [python/viewer] Make objects clickable in Panda3d.
* [python/viewer] Fix 'Viewer.add_marker' and 'Panda3dApp.move_node' node placement.

Co-authored-by: Alexis Duburcq <alexis.duburcq@wandercraft.eu>
…da3d. (#336)

* [core] Add public setter 'AbstractSensorBase.set' for sensor data.
* [core] Make sensor setter 'AbstractSensorBase.setAll' private.
* [core/python] 'result_converter' now supports Eigen::Ref. 
* [core/python] Expose setter of 'AbstractSensorBase.data'.
* [python/viewer] Fix 'append_group' when 'remove_if_exits=False'.
* [python/viewer] Make it impossible to select more than one object in Panda3d.
* [python/viewer] 'add_marker' now supports passing callables.
* [python/viewer] Add method to show/hide a single node in Panda3d. 
* [python/viewer] Add option to place cylinder anchor at bottom in Panda3d.
* [python/viewer] Custom 'update_hook' can be provided to 'display' and 'replay' methods.
* [python/viewer] Add method to display contact forces in Panda3d.

Co-authored-by: Alexis Duburcq <alexis.duburcq@wandercraft.eu>
* [python/viewer] Add option to always display node at foreground in Panda3d, and use it for markers. 
* [python/viewer] Change default marker's color to white. 
* [python/viewer] Flip direction of contact force capsules. 
* [python/viewer] Hide node if scale is too small.
* [python/viewer] Add helper to emulate sensor update from log, and use it in 'play_log_data' method.
* [python/viewer] Add top-level options to enable/disable display of com/contacts.

Co-authored-by: Alexis Duburcq <alexis.duburcq@wandercraft.eu>
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.

[python/viewer] Add backend-independent interface to add and update primitive geometries.
1 participant