# About camera configuration for M500 frame.

Source: https://forum.modalai.com/topic/115/about-camera-configuration-for-m500-frame
Category: Development Drones (https://forum.modalai.com/category/44/development-drones)
Tags: m500
Posted: 2021-01-28 02:23:20 UTC by Kaiba-Kun
Replies: 2 · Views: 991

## Kaiba-Kun · 2021-01-28 02:23:20 UTC

Hello, i want to ask about camera configuration. After reset m500 by  **voxl-configure-modalai-vl** and setup again follow the guide. I also re-config  **voxl-vision-px4** to the factory set-up because it's look like when reset modalai-vl the NED position also lost. When i tried with position mode it seem the UAV flies is not good as well as the first time flight.
- for voxl-configure-cameras i choose the option 3.  
![c6237751-57a1-4d03-9c33-f76409bbb05c-image.png](https://forum.modalai.com/assets/uploads/files/1611800333686-c6237751-57a1-4d03-9c33-f76409bbb05c-image.png) 
- Here is some information. i think the config is not same as the manual document.
![026e376e-a37d-4bc3-875a-0f89bb7e55b5-image.png](https://forum.modalai.com/assets/uploads/files/1611800030159-026e376e-a37d-4bc3-875a-0f89bb7e55b5-image.png) 
![9fb042a5-2d32-4977-8826-2783d678ea41-image.png](https://forum.modalai.com/assets/uploads/files/1611800047468-9fb042a5-2d32-4977-8826-2783d678ea41-image.png) 
- cat /etc/snav/camera.downward.xml 
![1e777ba3-0f60-4123-88a1-29548a24957a-image.png](https://forum.modalai.com/assets/uploads/files/1611800135773-1e777ba3-0f60-4123-88a1-29548a24957a-image.png) 
![e9378da2-2676-4541-9203-6c32452cecab-image.png](https://forum.modalai.com/assets/uploads/files/1611800179166-e9378da2-2676-4541-9203-6c32452cecab-image.png) 
- cat /etc/snav/camera.stereo.xml
![cf54d95d-6b48-42c0-b7ee-705b4033e266-image.png](https://forum.modalai.com/assets/uploads/files/1611800251367-cf54d95d-6b48-42c0-b7ee-705b4033e266-image.png) 
![923e47e6-edd9-43b6-8748-9fc7149facb0-image.png](https://forum.modalai.com/assets/uploads/files/1611800266374-923e47e6-edd9-43b6-8748-9fc7149facb0-image.png) 
-> Did i was wrong? M500 driff so much when tried to flies in position mode.

## Reply by Kaiba-Kun · 2021-01-28 02:31:53 UTC

do you have any idea? @modaltb.

## Reply by modaltb (ModalAI staff) · 2021-01-28 16:16:59 UTC

Hi @Kaiba-Kun ,

Hmm, we normally use `voxl-configure-vision-px4` when setting up the vehicle.

For the m500, we have a `-f` option which will set it to factory state with respect to voxl-vision-px4, so `voxl-configure-vision-px4 -f`

The camera configs in the ENV variables should be fine after this.

I'd try that option above, if you've configured your GCS  IP address in the config file needs  to be updated, eg.

`vi /etc/modalai/voxl-vision-px4.conf` and setup your GCS IP after running with the `-f` flag.

After that, I'd then reboot the system, and then do a 'hand flight' validation, where you can pick the vehicle up and move around, validating local position NED in QGC.

Here's a video where I do this: https://youtu.be/gTuSaHLCz8w?t=571
