mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
Every CAN driver had grown its own option bit to log raw frames as CANF messages. That is now redundant: CAN_Pn_OPTIONS bit 0 (LogAllFrames) logs every frame on the bus, and unlike the script option it covers transmitted frames as well as received ones, as the logging callback is run from both CANIface::receive() and CANIface::send(). Removed the option and its logging from BattMon_ANX, EFI_HFE, EFI_Halo6000, EFI_NMEA2k and UltraMotion, and dropped the CAN_logger example, which did nothing else. BATT_ANX_OPTIONS, EFI_HFE_OPTIONS, EFI_H6K_OPTIONS and EFI_2K_OPTIONS had no other bits defined, so those parameters are gone. UM_OPTIONS keeps ParseTelemetry and SendPosAsNamedValueFloat at their existing bit positions.
LUA Examples
This directory contains some script examples. For simulation the scripts should be placed in the simulation's "scripts" directory located in the root directory from which the sim is run. Note: if an example uses auxillary files (mission list, other scripts,etc.) the user will have to determine where the files should be placed from the script. If no path name is specified in the file name, then it should be placed one directory level above the "scripts" directory.