# How does voxl-vision-configuration parameters relate to PX4 parameters?

Source: https://forum.modalai.com/topic/31/how-does-voxl-vision-configuration-parameters-relate-to-px4-parameters
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2020-10-27 20:39:56 UTC by Pey Astig
Replies: 2 · Views: 2033

## Pey Astig · 2020-10-27 20:39:56 UTC

For example, does having VIO to True, simply set PX4 parameters to use External Vision for EKF2? Do I have to change VIO and VOA to false if I'm doing an outdoor flight test?

## Reply by modaltb (ModalAI staff) · 2020-10-27 23:35:03 UTC

Hi Pey,

Enabling VIO in voxl-vision-px4 will, at a high level, tell VOXL to use do the processing required and then send the appropriate MAVLink packets to PX4, but it doesn't set any parameters in PX4 (similar with VOA, where it sends object distance packets).

If PX4 params aren't setup to use VIO (e.g. EKF2_AID_MASK) then PX4 will ignore this.  So you have to configure PX4, see this:
   https://gitlab.com/voxl-public/px4-parameters/-/blob/master/helpers/ekf2_indoor_vio.params

If you want to use GPS for outdoor flights, you could use these settings for example:

https://gitlab.com/voxl-public/px4-parameters/-/blob/master/helpers/ekf2_outdoor_gps_mag.params

## Reply by modaltb (ModalAI staff) · 2020-10-27 23:58:51 UTC

Quick note: one could set px4 parameters from VOXL using the following tool:

https://docs.modalai.com/voxl-vision-px4-nuttx-shell/
