PX4 / pyulog

Python module & scripts for ULog files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request - Add Timestamp when parameters changes during flight

BazookaJoe1900 opened this issue · comments

When parameter is being change during flight there is only list of the values, but not their timestamp of being changed.
For PID tuning and other peruses its important to know the time.
I seen that the 'changed_parameters' array has a timestamp value, but its not correct when I have tried to print it.

Adding ulog_params arg to print the timestamp can help alot

This would be super useful -- I was also trying to get this to work recently, but when printing the timestamps I only get the same "t" value for all "changed_parameters" (see pyulog/params.py#L48). @BazookaJoe1900 was this also what you experienced?

@bkueng do you possibly have any insights on the best way to accomplish this? It must be possible, as the changed params are shown at the right timestamp on the review.px4.io

I fixed the timestamps in cb14d68. Can you create a PR with the format you would like to see?

I fixed the timestamps in cb14d68. Can you create a PR with the format you would like to see?

@bkueng thanks! I've made a PR with a proposed format, see #29