|
How does disabled mode work?
I am interested in building a loop that calibrates the gyro bias while the robot is disabled.
1) Is that legal, as long as there are no PWM outputs, etc.
2) What part of the code is running while the robot is disabled? Process_Data_From_Master_uP()? main()? Process_Data_From_Local_IO()? Is statusflag.NEW_SPI_DATA ever set to true? Does that matter, if the gyro is handled in Process_Data_From_Local_IO()?
Thanks in advance,
Robinson
__________________
'... who are you, then?'
'I am part of that power which eternally
wills evil and eternally works good.' Goethe, Faust
|