jiminy
jiminy copied to clipboard
[python/viewer] Update contact sensor data when replaying log file.
It only requires to restore sensors and motors originally attached to the robot when building robot from log, which is not the case for now. This could be done by enabling exporting hardware configuration file from a robot.
Similarly, the theoretical model is lost, which means that it is theoretically impossible to load the options from the configuration file, which is problematic. The good procedure would be to restore first the theoretical model, then to update the options (and the hardware), and finally to overwrite the theoretical model with the actual one.
Fixed by https://github.com/duburcqa/jiminy/pull/775