Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If instruction is autopilot, call PM which checks readPmTargets is true and sends to AM, report to TM

if instruction is GPS/Level User Control, Call PM which sends to AM, report to TM

if instruction is direct passby user control, encode struct and send to PM to pass through to AM.

If instruction is override, enter override mode in SM. Report to Tmset the readPmTargets global flag to False so PM stops sending to AM and AM stops listening to PM. SM sends direct controls to AM.

When sent a landing command either from controller or CV pass that to PM to manage landing and send to AM unless currently receiving RC teleop controls.

Landing

When cruise done, Jetson sends landing instruction. Follow instructions.

...