Pete,
I didnt know that MAX_STACK was there.
The IMU processor loading and stack are now hidden from telemetry.
The telemetry reports the interface processor/stack loading.
I should support transporting the loading over CAN to the telemetry.
As you say, low priority.
To be clear, 13% was the total interface procesor loading, not just
for UDB_EXTRA.
The magnetometer is now running on the interface. Should soon have its
data sent to the UDB/IMU.
This is nice because the interface I2C port does not conflict with a
programming connector.
Matt
On Dec 5, 3:51 pm, Peter Hollands <
peter.holla...@gmail.com> wrote:
> And a large percentage of that loading is probably created by the printf
> style statements in sending SERIAL_UDB_EXTRA. Moving to a binary format
> could well save another 6 percent or so of CPU. (yes, as much as that). I
> hope to have the MAVLink cpu figures soon.
>
> When you compile up the UDB IMU again sometime, could you switch on the
> MAX_STACK free RAM reporting routine in options.h and tell us what that is
> as well ? (a low priority question, just curious. no matter if you have
> other priorities.).
>
> Best wishes, Pete
>