Hi
I completed setting up the bird, but the problem is that the ch2 OUTput in APM is not working (PWM), I read here that I could change the pin to any other ch output like 6 or ch7.
But am getting many errors
here is the list -
compassmot.pde: In function 'uint8_t mavlink_compassmot(mavlink_channel_t)':
compassmot:230: error: 'report_compass' was not declared in this scope
crash_check.pde: In function 'void parachute_check()':
crash_check.pde:113: warning: comparison between signed and unsigned integer expressions
crash_check.pde: In function 'void parachute_manual_release()':
crash_check.pde:180: warning: comparison between signed and unsigned integer expressions
motors.pde: In function 'bool pre_arm_gps_checks(bool)':
motors.pde:440: warning: comparison between signed and unsigned integer expressions
radio.pde: In function 'void init_rc_out()':
radio:75: error: 'init_esc' was not declared in this scope
system.pde: In function 'void init_ardupilot()':
system:127: error: 'report_version' was not declared in this scope
/compat.h: At global scope:
/compat.h:12: warning: 'void run_cli(AP_HAL::UARTDriver*)' declared 'static' but never defined
ArduCopter.pde:175: warning: 'void update_optical_flow()' declared 'static' but never defined
GCS_Mavlink.pde:284: warning: 'void send_simstate(mavlink_channel_t)' defined but not used
ArduCopter.pde:219: warning: 'void send_servo_out(mavlink_channel_t)' declared 'static' but never defined
Log.pde:248: warning: 'void Log_Write_Optflow()' defined but not used
Log.pde:524: warning: 'void Log_Write_Data(uint8_t, int16_t)' defined but not used
Log.pde:581: warning: 'void Log_Write_Data(uint8_t, uint32_t)' defined but not used
Log.pde:600: warning: 'void Log_Write_Data(uint8_t, float)' defined but not used
ArduCopter.pde:260: warning: 'void Log_Write_IMU()' declared 'static' but never defined
ArduCopter.pde:261: warning: 'void Log_Write_GPS()' declared 'static' but never defined
compat.pde:8: warning: 'void mavlink_delay(uint32_t)' defined but not used
ArduCopter.pde:411: warning: 'void heli_init()' declared 'static' but never defined
ArduCopter.pde:412: warning: 'int16_t get_pilot_desired_collective(int16_t)' declared 'static' but never defined
ArduCopter.pde:413: warning: 'void check_dynamic_flight()' declared 'static' but never defined
ArduCopter.pde:414: warning: 'void heli_update_landing_swash()' declared 'static' but never defined
ArduCopter.pde:415: warning: 'void heli_update_rotor_speed_targets()' declared 'static' but never defined
ArduCopter.pde:416: warning: 'bool heli_acro_init(bool)' declared 'static' but never defined
ArduCopter.pde:417: warning: 'void heli_acro_run()' declared 'static' but never defined
ArduCopter.pde:418: warning: 'bool heli_stabilize_init(bool)' declared 'static' but never defined
ArduCopter.pde:419: warning: 'void heli_stabilize_run()' declared 'static' but never defined
motors.pde:567: warning: 'void servo_write(uint8_t, uint16_t)' defined but not used
ArduCopter.pde:472: warning: 'void print_hit_enter()' declared 'static' but never defined
Log.pde:154: warning: 'int8_t process_logs(uint8_t, const Menu::arg*)' defined but not used
So what I did is I changed the library file - AP_Motors_Class.h
But it dosnt compile and gives the same error everytime, EVEN WITH THE ORIGINAL SOURCE FILE IT DOSNT COMPILE AND GIVE SAME ERRORS
Please help
Thanks
Dear Rahul,
Why don't you erase the eeprom and reflash the firmware with the latest version arducopter 3.1.3.
Regards
Asutosh
Autosh , that wont make the desired changes though.
Anyway, after a lot of reasearch at programming level of APM, I finally did it :)
Thanks
hey can you help me with my problem ?
https://www.youtube.com/watch?v=SbleSREn2Ew&list=WLdWjlIyXeFXxy_vDRrNheOg&index=42 (https://www.youtube.com/watch?v=SbleSREn2Ew&list=WLdWjlIyXeFXxy_vDRrNheOg&index=42)
the video shows exactly what my problem is. and this happened after i did the compassmot
Surely looks like ESC calibration issue!
follow this tutorial for ESC all-in-one calibration-
https://www.youtube.com/watch?v=gYoknRObfOg (https://www.youtube.com/watch?v=gYoknRObfOg)
I did all of that!
strange, do some research, ask in rcgroups' APM thread.. I am sure there are expert people
No one replying
Regarding the initial errors mentioning Compass,
There is no on-board compass on the APM2.6.
If you're not using the compass, disable it in MAVlink while calibration, to get rid of the errors.
If you're using the compass, you'll have to purchase an APM-compatible 3-axis compass breakout board and hook it up.
Are you using the Arduino Arducopter IDE to program the APM?
Yeah I am using arduino arducopter IDE (modified), the problem I mentioned above was solved when I downloaded and compiled the AC 3.0 from GIThub