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.
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()
withinmj.cpp
has been removed. Instead, alld->sensordata
values ingetSensor()
have been updated to be copied directly to thesensorData
vector, and the output is written directly inmj_sfun.cpp
.