Retreiving anchor positions causes crash
Posted: Tue Sep 15, 2020 7:11 pm
Hi All,
I'm trying to get the positions of the anchors, but calling the locoDeckGetAnchorPosition like this seems o make the software crash. The the console repeats ESTKALMAN: state out of bounds, resetting. Why does retrieving the anchor positions make the kalman filter crash?
I'm trying to get the positions of the anchors, but calling the locoDeckGetAnchorPosition like this seems o make the software crash. The the console repeats ESTKALMAN: state out of bounds, resetting. Why does retrieving the anchor positions make the kalman filter crash?
Code: Select all
point_t point;
for(uint8_t id = 0; id < 7; id++)
{
if(locoDeckGetAnchorPosition(id,&point))
{
DEBUG_PRINT(" id returned true ");
}
}