robotology-playground / insitu-ft-analysis

Data and code for analysis of FT measurements on the iCub robot.
2 stars 2 forks source link

Save images of idyntree.visualizer to make video of the icub positions as well #53

Closed fjandrad closed 5 years ago

fjandrad commented 5 years ago

use the function drawToFile from idyntree.visualizer to save a video matching the one of the forces when using the visualizeExperiment function.

traversaro commented 5 years ago

If you have ffmpeg installed, here https://gitlab.com/dynamic-interaction-control/icra-2016-reference-spreading/blob/master/VisualizationWithMeshes.m#L133 you can find some useful code.

fjandrad commented 5 years ago

Actually forgot to close the issue. Is solved in 3765f1a5351c80e4673add53f957a8be1132c1c2, by creating the image with drawToFile and then reading with imread , and using matlab video creating feature.