Everything works fine until I try to use a non-trivial message size. The following gives an error and when I remove min_battery_voltage and max_battery_voltage, the payload size changes. I used a script to delete my build/components folders and completely rebuild my project:
# battery_voltage is based on nominal resistance value
---
uint32 battery_voltage
uint32 min_battery_voltage
uint32 max_battery_voltage
bool success
2023-02-01 18:25:22.845 [RTPS_READER_HISTORY Error] Change payload size of '20' bytes is larger than the history payload size of '11' bytes and cannot be resized. -> Function can_change_be_added_nts
and
2023-02-01 18:25:22.845 [RTPS_READER_HISTORY Error] Change payload size of '12' bytes is larger than the history payload size of '11' bytes and cannot be resized. -> Function can_change_be_added_nts
Background
Problem
Everything works fine until I try to use a non-trivial message size. The following gives an error and when I remove min_battery_voltage and max_battery_voltage, the payload size changes. I used a script to delete my build/components folders and completely rebuild my project:
=>
and