I pass mocap data to pixhawk. When I use lpe estimator i get mocap timeouts every second or very frequently. I believe that the mocap data is somehow getting published at a slower rate than 0.2s or has some other issue. I tried to debug the reason for timeout but failed.
I want to know if i can instead change the MOCAP_TIMEOUT constant in Firmware/src/modules/local_position_estimator/sensors/mocap.cpp code ? Is it recommended? Do I need to clone a fresh copy of firmware alter the MOCAP_TIMEOUT constant, make it and upload it to pixhawk? Is that the only interface to change the parameter or is there any other way to change MOCAP_TIMEOUT constant?