firstly, i have downloaded arduino 1.0.1 software
after, i download The official 2.6 release of ArduCopter software.
i click open and select .gitignore file and select tools- board arduino 2560 or mega ADK
after i click verify button and i get this error message
MAV_CMD_DO_SET_ROI' vwas not declared in this scope
ArduCopter.cpp: In member function 'void GCS_MAVLINK::handleMessage(mavlink_message_t*)':
ArduCopter.pde:-1: error: 'MAV_CMD_DO_SET_ROI' was not declared in this scope
ArduCopter.cpp: In function 'void process_now_command()':
ArduCopter.pde:-1: error: 'MAV_CMD_DO_SET_ROI' was not declared in this scope
ArduCopter.cpp: In function 'void init_rc_out()':
ArduCopter.pde:-1: error: 'class RC_Channel' has no member named 'set_range_out'
ArduCopter.cpp: In function 'void init_ardupilot()':
ArduCopter.pde:-1: error: 'GPS_ENGINE_AIRBORNE_1G' is not a member of 'GPS'
does anybody know this error? i took a screenshot about this error message.
how can i compile this original firmware?
best regards.. thank you.
Replies
first of all.. very very thank you mike its working great. and really i smile :)
i have another question if you can help me,
I couldn't find the main() function of the code. I wanna add a feature that the copter will go back home depending on an external command and/or reaching of a timeout value which will be decremented in a timer interrupt... Where should I put my codes to do this?
thank you again.
* Close Arduino
* move folder "ArduCopter" to folder "Arduino"
* move folder "libraries" to folder "Arduino"
* Open Arduino
* File/Open "ArduCopter/ArduCopter.pde"
* Compile
* Smile