Prevent access to parameters and configuration from FC

is there any way to lock or prevent access to flight controller from mission planner to configuration and parameters table .

No, there is not. It will probably violate the GPL software license if you do that.

2 Likes

Just want to stop play around with tuned parameters .

This feature is requested here from time to time. The last person called it “admin mode”, but there are many names for it.
Some call it tamper proofing

Search the forum, if you can join forces with someone else and create a github pull-request, we will take a look at it.

Check the developer docs, you can set parameters to read only. However it requires some preparation and is not for the novice. You modify a firmware .apj file with those parameters marked as read only then install it. You would need another apj file if you ever need to alter those values.

https://ardupilot.org/dev/docs/common-oem-customizations.html

1 Like

That is a good workaround. Good idea @xfacta

1 Like

I’m working on a script that can do this, but it will requires ap 4.5…

2 Likes

What I did was set the initial visibility of the config and tuning panels at false. Then adding a checkBox on the top of Mission Planner that sets the visibility of the config and tuning panels. Also, you could add a password system, something like :
pwd = “azertyuiop”
if (InputBox.Show(“Enter Password”, “Please enter your password”) == pwd)
{
this.MenuSimulation.Visible = true;
this.MenuConfigTune.Visible = true;
this.MenuInitConfig.Visible = true;
}
Though it’s not perfect, allows you to set some kind of admin mode…

1 Like

Hmm. did you know that this was already in Mission Planner ?

3 Likes

ahaha no, well thank you ! :smiley:

This is good news it will be great improvement.

Only for mission planner not fo FC unfortunately.

The password should protect modifications to parameters in FC not in mission planner software.

1 Like

I’ve received a similar request recently and I’d just like to clarify that it isn’t again the GPL license to lock-down parameters. The GPLv3 license requires that the final user be able to update the firmware if the seller of the product can update the firmware. So the relevant part of the license is related to the ability to change the firmware, it’s not related to changing parameters.

We should definitely document how to lock-down parameters from accidentally being changed

I’m pretty sure we use to be able to do this using the APJ Tool but we’ve deprecated that now. I’m pretty sure there is another way

We’ve recently added a Lua script that helps locking down parameters

I have not tested this myself yet and I think it only works with ArduPilot-4.7 (not 4.6 which is the current stable release). I think we might backport it to 4.6 though at some point

1 Like