Thank you for creating another thread, I posted a response to your question on another thread but we can continue the support here. The pressure sensor does not respond to I2C inquiries. You can try the following to build a working sample and obtain the pressure returned by the sensor.
Build the example code for the pressure sensor on a Linux host computer:git clone https://github.com/ArduPilot/ardupilot.git
./waf configure --board aero
./waf --target examples/BARO_generic
Transfer the compiled sample to the Aero board and run with the following command:./BARO_generic
Let me know if this answers your question.
I have successfully built the BARO_generic sample and deployed it to the RTF. Thanks very much for the instructions.
I do have some issues now, and the error message is:
Scheduler: failed to set scheduling parameters: operation not permitted.
1) what should i do on the RTF to fix this issue ?? it is related to sched_setscheduler.
Let me re-test the sample code on my Aero RTF drone and get back to you. To be on the same page, are you using the latest software release? If you can please provide me the output of get_aero_version.py.
If you have not updated the software, please follow the instructions on the wiki: