ami-iit / robot-log-visualizer

Visualizer to display the data logged with YarpRobotLoggerDevice
BSD 3-Clause "New" or "Revised" License
22 stars 4 forks source link

✨ Add the possibility to set the base pose in the visualizer and add the 3D point visualization #74

Closed GiulioRomualdi closed 8 months ago

GiulioRomualdi commented 8 months ago

This pull request introduces the option to set the base pose in the visualizer. Since we don't know a priori which signal will identify the base, the user can select the signal and, with a right-click, specify whether it should be used as the base position or orientation. For the base position, the signal must consist of three elements, while for base orientation, we accept a 3-element signal interpreted as roll-pitch-yaw (RPY) or a 4D vector interpreted as a quaternion (ijkw).

Additionally, the user can choose to visualize the 3D points in the visualizer by right-clicking on the signal and selecting 'Show as 3D points.' If the signal consists of 2 elements, the 3D point will be projected onto the ground.

The following video demonstrates how to use the application.

https://github.com/ami-iit/robot-log-visualizer/assets/16744101/60954a30-b79f-47d6-8f26-36329902d297

⚠️ This PR requires this commit of idyntree to work: https://github.com/robotology/idyntree/commit/6fb96d905ed75f0e298b13d6b47725fedc2dfa53

cc @S-Dafarra @DanielePucci @nicktrem @traversaro @carloscp3009