Presenting: Parasect!

Hello everyone!

logo

I’m proud to present Parasect, a parameter management tool, developed within Avy and released as free and open-source!

Parasect has two-fold capabilities:

  • Compares two parameter sets and highlighting their differences.
  • Parses from user-defined content and generates new parameter sets, ready for loading into an autopilot.

You can install Parasect via pip from PyPI:

pip install parasect

Parasect is primarily used as a command-line program. In its simplest form, two parameter files can be compared via:

parasect compare <FILE_1> <FILE_2>

for example,

❯ parasect compare file_1.params file_2.params
File comparison : file_1.params | file_2.params
================================================================================
--------------------------------------------------------------------------------
Component 1-1:
--------------------------------------------------------------------------------
COM_FLIGHT_UUID : 228           | 230          
EKF2_MAGBIAS_X  : -0.0112       | -0.013       
EKF2_MAGBIAS_Y  : 0.0289        | 0.0269       
EKF2_MAGBIAS_Z  : 0.0164        | 0.0142       
FW_AIRSPD_TRIM  : 15.0          | 16.0         
FW_R_LIM        : 40.0          | 50.0         
LND_FLIGHT_T_HI : 24            | 25           
LND_FLIGHT_T_LO : 666359744     | 1388132480   
VT_FW_QC_R      : 60            | 65           
================================================================================
9 parameters differ

The usage for building parameter sets is more involved. Please see the Command-line Reference for details.

Additionally, it exposes a minimal API, enabling automated operations. This is described in the API Reference.

You can find more information in the Github repository (GitHub - AvyFly/parasect: Parameter management tool for autopilots) and full documentation at Read the Docs (Parasect documentation).

I hope it will be as useful to you as it has been for us!

4 Likes

Thanks for sharing @Georacer it’s a great tool I’m sure a lot of developers will find it very useful

1 Like