ardupilot/libraries/AP_PiccoloCAN/piccolo_protocol
Oliver Walters 6786e832a1 AP_PiccoloCAN: Provide compatibility for "Gen 2" Velociy ESC ICD
- The "Gen 2" Velocity ESC provides much more telemetry data
- The new ICD changes are compatible (i.e. legacy and modern ESCs can be on the CAN bus at the same time)
- Decode legacy packets and convert them to modern data structures
- Supports decoding of newer telemetry packets
- Supports decoding of new warning / error packets
2020-10-28 18:25:45 +11:00
..
.gitignore
ESCCommands.c
ESCCommands.h
ESCDefines.c
ESCDefines.h
ESCPackets.c
ESCPackets.h
ESCVelocity_source.xml
ESCVelocityProtocol.c
ESCVelocityProtocol.h
fielddecode.c
fielddecode.h
fieldencode.c
fieldencode.h
LegacyESCDefines.c
LegacyESCDefines.h
LegacyESCPackets.c
LegacyESCPackets.h
README.md
scaleddecode.c
scaleddecode.h
scaledencode.c
scaledencode.h

Piccolo Protocol Generation

The Piccolo CAN protocol messages are generated using the ProtoGen protocol generation tool.

The raw protocol definition for each device type is provided in a .xml file (e.g. protocol_esc_velocity.xml).

To regenerate the protocol, run the following command:

protogen.exe protocol_esc_velocity.xml --license license.txt