Skip to content

PIDReview: add D_FF PID parameter and data#329

Open
amilcarlucas wants to merge 2 commits into
ArduPilot:mainfrom
amilcarlucas:D_FF_support
Open

PIDReview: add D_FF PID parameter and data#329
amilcarlucas wants to merge 2 commits into
ArduPilot:mainfrom
amilcarlucas:D_FF_support

Conversation

@amilcarlucas

@amilcarlucas amilcarlucas commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Also adds a prominent notice at the top of the page reminding users that the PID bit of LOG_BITMASK must be enabled for any PID log messages to be present in the log.

Adds documentation and a signalflow graph

This is just a part of #328

Also adds a prominent notice at the top of the page reminding users
that the PID bit of LOG_BITMASK must be enabled for any PID log
messages to be present in the log.

Adds documentation and a signalflow graph
@amilcarlucas amilcarlucas requested a review from IamPete1 June 25, 2026 23:03
Comment thread PIDReview/index.html Outdated

<body>

<table><tr><td style="width:1200px">

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you need the table here, just apply the width limit to the paragraph.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Comment thread PIDReview/index.html Outdated
<body>

<table><tr><td style="width:1200px">
<p style="text-align:center; background-color:#fff3cd; border:1px solid #ffc107; padding:10px; border-radius:4px;">

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not a fan of style here, better to keep it consistent with the other tools. (Or update the others and this in a future PR).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Comment thread PIDReview/index.html Outdated
In <i>Mission Planner</i> this is found under <i>CONFIG &gt; Full Parameter List</i>.
In <i>ArduPilot methodic configurator</i> this is done automatically when <a href="https://ardupilot.github.io/MethodicConfigurator/TUNING_GUIDE_ArduCopter#842-pid-notch-tuning">tuning the PID notch filters</a>.
Without this bit set, no PID log messages will be present in the log and this tool will show no data.
Here are <a href="https://github.com/ArduPilot/WebTools/blob/main/PIDReview/Readme.md">more details about this tool and how to use it</a>.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not a fan of calling out what to do in a particular GCS. I would rather keep it to the ArduPilot configuration parameters. Or link to a wiki page what gives more detail.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Comment thread PIDReview/index.html Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For me on chrome the fieldset needs more width to fit the new button.

Image

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Comment thread PIDReview/PIDReview.js
Comment on lines +1313 to +1315
Notch_target: prefix + "NTF",
Error_filter: prefix + "FLTE",
Notch_error: prefix + "NEF",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was the intention to add the notch stuff in this PR?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that is just info that was missing before

Comment thread PIDReview/Readme.md Outdated
Comment on lines +7 to +8
The **PID** bit of the `LOG_BITMASK` parameter must be set before flying so that PID log messages (`PIDR`, `PIDP`, `PIDY`, `PIQR`, `PIQP`, `PIQY`, `PIDS`, `PIDA`) are recorded.
Without this the tool will find no data.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works fine with only RATE.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The D low pass filter is done after the differentiation.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Comment thread PIDReview/Readme.md Outdated

## How to use

1. Open the tool in a browser and load a `.bin` log file using the file picker or the **Open In** button (when launched from a GCS).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

" or the Open In button (when launched from a GCS)."?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Comment thread PIDReview/Readme.md Outdated
### Frequency Domain (FFT)

Averaged windowed FFT of the selected PID signals over the chosen time range.
Each signal (Target, Actual, Error, P, I, D, FF, Output) can be shown or hidden independently.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And the D FF now.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants