I tried it on versions: v1.16.0-alpha1, v1.16.0-rc2.
I wrote management(RawCommand) and receiving telemetry (StatusMsg1, StatusMsg2, StatusMsg3).
I want to add LED control(SetLED):
uavcan::Publisher<com::hobbywing::esc::SetLED> _uavcan_pub_hob_led_cmd;
I get this error:
“”"
error: ‘MaxBitLen’ is not a member of ‘com::hobbywing::esc::SetLED_’
92 | typedef typename Select<DataStruct::MaxBitLen == 0,
| ^~~~~~~~~
compilation terminated due to -Wfatal-errors.
ninja: build stopped: subcommand failed.
make: *** [Makefile:232: cubepilot_cubeorange] Error 1
error: ‘MaxBitLen’ is not a member of ‘com::hobbywing::esc::SetLED_’
92 | typedef typename Select<DataStruct::MaxBitLen == 0,
| ^~~~~~~~~
compilation terminated due to -Wfatal-errors.
ninja: build stopped: subcommand failed.
make: *** [Makefile:232: cubepilot_cubeorange] Error 1
“”"
The same thing happens with other messages:
GetMaintenanceInformation
GetMajorConfig
SelfTest
SetAngle
SetBaud
SetDirection
SetID
SetLED
SetReportingFrequency
SetThrottleSource
How can I fix this? I haven’t touched the generation or .uavcan files