RC India
Welcome Guest, please login or register.
 
Pages: [1]   Go Down
0 Members and 1 Guest are viewing this topic. Topic Tools Topic Tools 
Read
« on: April 23, 2014, 02:25:06 PM »
Rahulvyas
Crazy Quad-er
Plane Lover
Forum Hero

*****

Reputation Power: 13 
Rahulvyas has no influence.
Offline Offline

City: New Delhi
State: Delhi
RC Skills: Intermediate
Posts: 1062
Join Date: Aug, 2012

"If it's man-made and it flies, it will crash."




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
Logged

-2814 700kv Carbon Fiber 685mm Quadcopter ( tuning PIDs)
-Scratch build Hexacopter ( selling the parts) { almost sold}
-9xR - The best RADIO
-ST360quad (sold)
-kk2 (sold)

Student
 

Read
« Reply #1 on: April 23, 2014, 11:02:34 PM »
asupan
Plane Lover
Forum Veteran
****

Reputation Power: 5 
asupan has no influence.
Offline Offline

City: Jamshedpur
State: Jharkhand
RC Skills: Intermediate
Posts: 252
Join Date: May, 2010



Dear Rahul,
Why don't you erase the eeprom and reflash the firmware with the latest version arducopter  3.1.3.

Regards
Asutosh
Logged
 

Read
« Reply #2 on: April 23, 2014, 11:10:51 PM »
Rahulvyas
Crazy Quad-er
Plane Lover
Forum Hero

*****

Reputation Power: 13 
Rahulvyas has no influence.
Offline Offline

City: New Delhi
State: Delhi
RC Skills: Intermediate
Posts: 1062
Join Date: Aug, 2012

"If it's man-made and it flies, it will crash."



Autosh , that wont make the desired changes though.

Anyway, after a lot of reasearch at programming level of APM, I finally did it Smiley

Thanks
Logged

-2814 700kv Carbon Fiber 685mm Quadcopter ( tuning PIDs)
-Scratch build Hexacopter ( selling the parts) { almost sold}
-9xR - The best RADIO
-ST360quad (sold)
-kk2 (sold)

Student
 

Read
« Reply #3 on: April 24, 2014, 05:59:14 PM »
Adityaamg
Plane Lover
Forum Veteran
****

Reputation Power: 4 
Adityaamg has no influence.
Offline Offline

City: Nagpur
State: Maharashtra
RC Skills: Beginner
Posts: 260
Join Date: Feb, 2013



hey can you help me with my problem ?



the video shows exactly what my problem is. and this happened after i did the compassmot
Logged
 

Read
« Reply #4 on: April 24, 2014, 06:59:53 PM »
Rahulvyas
Crazy Quad-er
Plane Lover
Forum Hero

*****

Reputation Power: 13 
Rahulvyas has no influence.
Offline Offline

City: New Delhi
State: Delhi
RC Skills: Intermediate
Posts: 1062
Join Date: Aug, 2012

"If it's man-made and it flies, it will crash."



Surely looks like ESC calibration issue!
follow this tutorial for ESC all-in-one calibration-
Logged

-2814 700kv Carbon Fiber 685mm Quadcopter ( tuning PIDs)
-Scratch build Hexacopter ( selling the parts) { almost sold}
-9xR - The best RADIO
-ST360quad (sold)
-kk2 (sold)

Student
 

Read
« Reply #5 on: April 24, 2014, 07:12:09 PM »
Adityaamg
Plane Lover
Forum Veteran
****

Reputation Power: 4 
Adityaamg has no influence.
Offline Offline

City: Nagpur
State: Maharashtra
RC Skills: Beginner
Posts: 260
Join Date: Feb, 2013



I did all of that!
Logged
 

Read
« Reply #6 on: April 24, 2014, 07:15:24 PM »
Rahulvyas
Crazy Quad-er
Plane Lover
Forum Hero

*****

Reputation Power: 13 
Rahulvyas has no influence.
Offline Offline

City: New Delhi
State: Delhi
RC Skills: Intermediate
Posts: 1062
Join Date: Aug, 2012

"If it's man-made and it flies, it will crash."



strange, do some research, ask in rcgroups' APM thread.. I am sure there are expert people
Logged

-2814 700kv Carbon Fiber 685mm Quadcopter ( tuning PIDs)
-Scratch build Hexacopter ( selling the parts) { almost sold}
-9xR - The best RADIO
-ST360quad (sold)
-kk2 (sold)

Student
 

Read
« Reply #7 on: April 24, 2014, 08:07:02 PM »
Adityaamg
Plane Lover
Forum Veteran
****

Reputation Power: 4 
Adityaamg has no influence.
Offline Offline

City: Nagpur
State: Maharashtra
RC Skills: Beginner
Posts: 260
Join Date: Feb, 2013



No one replying
Logged
 

Read
« Reply #8 on: April 24, 2014, 09:11:01 PM »
AnjanBabu
Aj Creations
Plane Lover
Forum Hero

*****

Reputation Power: 9 
AnjanBabu has no influence.
Offline Offline

City: Bangalore
State: Karnataka
RC Skills: Beginner
Posts: 576
Join Date: Jan, 2012



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?
Logged

Mechatronics engineer . Hopeless realist

anjanbabu.wordpress.com
 

Read
« Reply #9 on: April 24, 2014, 09:22:38 PM »
Rahulvyas
Crazy Quad-er
Plane Lover
Forum Hero

*****

Reputation Power: 13 
Rahulvyas has no influence.
Offline Offline

City: New Delhi
State: Delhi
RC Skills: Intermediate
Posts: 1062
Join Date: Aug, 2012

"If it's man-made and it flies, it will crash."



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
Logged

-2814 700kv Carbon Fiber 685mm Quadcopter ( tuning PIDs)
-Scratch build Hexacopter ( selling the parts) { almost sold}
-9xR - The best RADIO
-ST360quad (sold)
-kk2 (sold)

Student
 

Pages: [1]   Go Up
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Hi Help Required
Helis
Addyflyer 0 2493 Last post February 07, 2011, 03:35:54 PM
by Addyflyer
rc required
Wanted
tatum012 1 2569 Last post March 12, 2011, 01:15:53 PM
by bmanoj2
10 amp esc required.
Wanted
saurab 1 1883 Last post December 22, 2011, 03:49:00 PM
by saurab
ARF KIT REQUIRED
Wanted
ritz 6 3052 Last post April 05, 2012, 08:24:16 PM
by bhanuflying
Required Tx n Rx
Wanted
miginstruments 5 2950 Last post April 12, 2014, 09:16:53 PM
by miginstruments