I did it but it doesn't work
you're running the BARO_generic.cpp, you need run the compiled version of this cpp.
./waf build --target examples/AP_Compass_test
./waf build --target examples/BARO_generic
Ok I did:./waf build --target examples/BARO_genericand the output was:
'build' finished successfully
erle@erle-brain:~/ardupilot/build/sitl/examples $ sudo ./BARO_genericYou must specify a vehicle model
Have you configured first the board type?
./waf configure --board=pxfmini
Yes and this is the output:
and when I try to install THE LIBS:
you're mixing things. You're using the cross compilation instructions, but you're compiling inside of your Raspberry Pi.
I'll send you a link with the correct compiled file.
@LanderU this is the output:
Do you think it's an hardware problem?
Unfortunately it is. Contact us at firstname.lastname@example.org.
Sorry for the inconveniences.
Hi..I have same issue with this problem, please help me to solved this. Many thank you. Regards
Hi! If you had already test the Baro sensor with the command sudo ./BARO_genericI think that it's an hardware problem! Contact email@example.com and explain the problem! They send me a new PXFmini in a week.
Hi flaviaThanks for your responseCan you teach me how to test the Baro from the command, please. Regards
you have the instructions in our docs.
Then, you need stop the apm service with:
sudo systemctl stop apm.service
And run the example: