I am currently new at building my own drone. I am having an issue with my Navio2. I have used the command sudo nano /etc/default/arducopter to set my TELEM 1 to my IP address of my GCS. I then use the command sudo arducopter -A udp:“IP address”:14550. When I use this command, I get the following error:
Could not detect RPi version, defaulting to 2/3
MS5611 found on bus 1 address 0x77
PANIC: AP_Baro::read unsuccessful for more than 500ms in AP_Baro::calibrate 
*** Error in `arducopter’: double free or corruption (out): 0x0202ce80 ***
Because of this, I can not connect to APM Planner 2 and can not calibrate the Navio2. Does anyone know why I am getting this error? FYI, I am using arducopter 3.5, and both my ardupilot and RCIO are up to date.
I will definitely try this. I am currently doing academic undergraduate research. My first project is to get the Navio2 up and running, so we can use it for other projects. I don’t have a strong background with computers.
I do have another question for you since you have been so attentive with your responses. When I am congested to mission planner and I go to callibrate the compass after the calibration is complete, mission planner asks me to reboot the Navio2. When I reboot the Navio2, I get a undervoltage error and the Navio2 does not boot properly. When I unplug the Navio2 and switch to a different wall outlet, this error goes away and I try to recalibrate the compass to only have the same thing happen. Do you know why this occurs? Is it because of my connection issue?
?? You really need a strong power outlet. When doing setups on my navio2, I use an external phone power bank able to deliver 3A.
If you still have problems with that calibration, before rebooting, note the calibration values. You can enter them manually later in the parameters list. Do not mix compass values, new parameters should be close of the previous ones (range and ±).
Yes. I have managed to successfully connect to mission planner and run ardupilot. However, I still have some questions. Does the compass need to be calibrated before every flight? When I calibrated the compass and rebooted the Navio2, I could successfully arm and fly the Navio2. When the Navio2 was unplugged and plugged back in to the battery, I would get a blinking yellow led meaning the pre-arm checks failed. When I recalibrated the compass however, it would rearm no problem. My second question is why would I still be getting an undervoltage error after I calibrate the compass? I was originally told to check my wall to USB adapter to make sure enough current was being pulled. I changed my adapter to one that is pulling 3 amps. When I calibrated the compass as I said early, I could successfully arm the Navio2, however I was getting this undervoltage error. So I tried again this time plugged into a Lipo battery and the same thing happened. It does not seem to be messing with the Navio2 during our test flights, but I think that this may be why we need to calibrate the compass each time. What do you guys think?
Ok, the compass is now working better. I no longer have to callibrate it before every flight. As for the undervoltage error, the problem was a loose wire on the power module. We have fixed the wire and are no longer getting the undervoltage error. I now have questions about setting up a pitot tube and data logging, but I will start a new topic for that since we have solved my initial setup problems. Thank you for all the help.