hi all friends

Airspeed sensor (MPXV5004DP) Worked in (ArduPilotMega 1.02) but the new version (APM 2.012) does not work on test mode !!

When I use it like a message to:

"airspeed: disabled"

Why ?



Profile System:

1- ArduPilotMega IMU (v 1.4)
2- ArduPilot Mega (ATMega1280)
3- GPS : GS407 U-Blox5 GPS 4Hz
4- XBee Pro 900 RPSMA (900mhz)

and

5- arduino 0022

my APM_Config.h :

#define GPS_PROTOCOL GPS_PROTOCOL_UBLOX
#define GCS_PROTOCOL GCS_PROTOCOL_LEGACY
#define GCS_PORT 3
#define SERIAL3_BAUD 57600
#define AIRSPEED_SENSOR ENABLED

Views: 951

Attachments:

Reply to This

Replies to This Discussion

To all on this thread: I've updated the APM code to support the 5004. It should be reflected in the latest hex in the Mission Planner, too.
I am not getting it  from the latest mission planner hex. I flashed manually w/ the arduino IDE and the sensor is being picked up now.
Jimmy: Good catch. We'll update the hex the Mission Planner uses asap. In the meantime, if folks want this fix, please download the zip and use Arduino to load the code.

Thanks for updating this! 

However, when I try to compile the latest code (2.11) I get an error in the IDE:

 

'get_log_boundaries' was not declared in this scope 

 

ArduPilotMega.cpp: In function 'bool print_log_menu()':Log:98: error: 'get_log_boundaries' was not declared in this scopeArduPilotMega.cpp: In function 'int8_t dump_log(uint8_t, const Menu::arg*)':Log:123: error: 'get_log_boundaries' was not declared in this scopeArduPilotMega.cpp: In function 'void start_new_log(byte)':Log:247: error: 'get_log_boundaries' was not declared in this scope

 

Since no one else seems to be having the same problem it will probably be me, but I really can't figure it out. Any ideas?

Serge, it compiles fine for me. Make sure you're using Arduino 022 and that you've change the Preference to to point to the folder that contains your downloaded code (it should be the folder that contains two subfolders, ArduPilotMega and libraries). Remember to close and restart Arduino for this to take effect.
Damn, i'm sorry I was still using the 021 IDE.
Compiles just fine now; sorry to bother with this kind of obvious mistakes. Thanks a lot anyway!
Thanks a lot Chris for the fixing of this issue. I can go back to normal upload via Mission Planner now and stop fixing my code in arduino manually.

RSS

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service