Tridge was kind enough to merge his new APJ Tool into master today. This allows you to bake default parameters into any firmware file. This totally eliminates the need to bake vehicle/project specific parameters into the build. You can grab the px4 file (for example) off the firmware server. Run the APJ python tool on it, and bake a parameter file into it. Super easy, took like 2 minutes to setup and use with no prior experience.
In the above, I took a PX4 file and baked in my solo parameters file into it. Loaded the firmware onto my solo, and I now have ArduCopter 3.5.4 with the Solo’s defaults instead of generic defaults.
The tool works great. But, I’m having Problem setting BATT_MONITOR. All the parameters except BATT_MONITOR seems to get set using apj_tool.py. What am I doing wrong? @Pedals2Paddles did you have any problem setting BATT_MONITOR to 5 (for solo)?
ohhh. That is probably because you set it for 0 at some point while editing parameters. When you install firmware, it will not overwrite parameters you previous set manually. Do a parameter reset, and I bet you’ll see BATT_MONITOR reset to your new default.
This sounds interesting enough to ask a dumb question or 3. I assume from what I have read this means that it takes the Arducopter code and some how combines the param file from my say favorite UAV and sort of makes a custom version with my favorite UAV paramaters as the new defaults.
If so that’s cool…but I confess I am not sure that’s what everyone just said.
Thanks James, I came to the same conclusion myself. It was easy enough to compare a list of the default parameters versus the final parameters and extract the non-default values.