ardupilot/libraries/AP_PiccoloCAN/piccolo_protocol
..
.gitignore
ECUDefines.c
ECUDefines.h
ECUPackets.c
ECUPackets.h
ECUProtocol.c
ECUProtocol.h
ECUSettings.c
ECUSettings.h
ESCCommands.c
ESCCommands.h
ESCDefines.c
ESCDefines.h AP_PiccoloCAN: Fixed license text in auto-generated files 2020-10-28 18:25:45 +11:00
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
license.txt
README.md
scaleddecode.c
scaleddecode.h
scaledencode.c
scaledencode.h
Servo_source.xml
ServoCommands.c
ServoCommands.h
ServoDefines.c
ServoDefines.h
ServoPackets.c
ServoPackets.h
ServoProtocol.c
ServoProtocol.h
TransmuterCommands.c
TransmuterCommands.h
TransmuterDefines.c
TransmuterDefines.h
TransmuterPackets.c
TransmuterPackets.h
TransmuterProtocol.c
TransmuterProtocol.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