Homepage GitHub

Generating C headers of regulated DSDL

Hi,
So I’m having a strange problem during the compilation of the C headers for some regulated DSDL’s.
Using Nunavut I will get an error stating “Maximum recursion depth exceeded”.
I’ve tried increasing the maximum recusion depth, but that just leads to an stack buffer overflow.
When I specify to output .hpp by Nunavut, they compile just fine…

Public DSDL’s that im trying :
PX4 Public BMS DSDL
And DS015 Draft DSDL

Any idea?
Thanks in advance!
Thierry

What seems to be the same issue has been found while reviewing the new C serialization PR (https://github.com/UAVCAN/nunavut/pull/115#issuecomment-678115391). I’ve been able to replicate it and have opened a tracking issue here

1 Like