Commit Graph
4 Commits
Author SHA1 Message Date
Andrew Tridgell 038fbbfed7 AP_Scripting: remove CANF logging options from CAN drivers
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.
2026-09-04 11:11:33 +10:00
Bob Long fbe0e49f0e AP_Scripting: fix UltraMotion servo mask bug
This script only worked if setting some N number of consecutive bits,
starting from the LSB. The # operator does NOT get the number of
elements in a table, unless that table is strictly an array.
2025-10-21 10:23:51 +11:00
Andrew Tridgell 10209a2a13 AP_Scripting: added UltraMotion servo driver 2024-11-28 09:24:03 +11:00
Andrew Tridgell 1c6ac0990c AP_Scripting: added UltraMotion servo driver
see https://www.ultramotion.com/servo-cylinder/
2024-11-28 09:24:03 +11:00