pauladiasss / RTSIMU

Real-Time Simulation tool for IMU sensors
MIT License
3 stars 3 forks source link

Main script does not generate smooth movements #1

Open alfonsotecnalia opened 1 month ago

alfonsotecnalia commented 1 month ago

I have executed the main script with the provided data. The visualization window is opened, the model is displayed but the movements of the model are not smooth.

patoalejor-exo commented 2 weeks ago

I have the same issue. I not sure if the coordinate set is different of the processing of the quaternions changed. Also, I had to change the AHRS settings as follows:

ahrs.settings = imufusion.Settings( imufusion.CONVENTION_NWU, # convention float(ahrs_settings.gain), # gain 2000, # gyroscope range float(ahrs_settings.acceleration_rejection),# acceleration rejection float(ahrs_settings.magnetic_rejection), # magnetic rejection int(ahrs_settings.rejection_timeout), # recovery )

if not I was having this error "TypeError: Arguments are not (unknown type, float, float, float, float, unsigned int)" Just to mention opensim==4.5.1, and imufusion==1.2.7 (installed using github setup.py)