mujoco-simulink-blockset icon indicating copy to clipboard operation
mujoco-simulink-blockset copied to clipboard

Fixed sensorbus adressing issue

Open heyomer opened this issue 1 year ago • 0 comments

Since the sensors are read sequentially from the .xml file and the sensor addresses also increase sequentially, the part responsible for fetching sensor addresses in getSensorInterface() within mj.cpp has been removed. Instead, all d->sensordata values in getSensor() have been updated to be copied directly to the sensorData vector, and the output is written directly in mj_sfun.cpp.

heyomer avatar Mar 05 '24 09:03 heyomer