Log in

View Full Version : FMS Connected


apalrd
22-03-2011, 20:32
Hello. Does anyone know which bit (if any) of the robot control byte is "FMS Connected"?

In LabVIEW, the Get Mode VI gets a few things from the data cache (which is set in Start Comm in the communication loop), including this control byte, and I am guessing that one of the bits is FMS connected.

I did some looking with FMS lite, and found this:
Bit 6 appears to be DS comm
Bit 4 and 5 are autonomous and disabled respectively (they certainly are, I can see that where the control byte is unbundled)
Bits 0,1, and 3 are all set when FMS connected. I would guess that bit 0 is FMS connected and the other two happen to go on when FMS connected, but cannot verify this. Can anyone confirm this?

byteit101
22-03-2011, 21:10
From mobilegamer999 (the iPhone app writing guy) I got this (which is used in ZomB)

/*
* 0-FPGA Checksum
* 1-cRio Checksum
* 2-Resynch
* 3-FMS Attached
* 4-Auton
* 5-Enabled
* 6-Not E-Stopped
* 7-Reset
*/