RC India

RC Models => Multirotors => Topic started by: dheerajsinghal01 on August 22, 2014, 01:33:29 PM



Title: Can we fly quadcopter using ardupilot or APM 2.5.2 without using compass
Post by: dheerajsinghal01 on August 22, 2014, 01:33:29 PM
i just got a apm board 2.5.2 and the internal compass of this board is damaged. and i am trying to fly the quadcopter by disabling the compass.
when i take off, quad starts its yaw motion and i am not able to fly this quad even in stablise mode. is there anyone who tried flying without using compass module?????


Title: Re: Can we fly quadcopter using ardupilot or APM 2.5.2 without using compass
Post by: phanivyas on August 22, 2014, 03:09:27 PM
Stabilize mode doesn't use compass. I have flown my quad without GPS+Compass (using apm 2.6) without any problem. For yaw issue check the PIDs, motor layout & directions.
http://copter.ardupilot.com/wiki/stabilize-mode/ (http://copter.ardupilot.com/wiki/stabilize-mode/)
Which frame are you using?

Btw how did internal compass get damaged?


Title: Re: Can we fly quadcopter using ardupilot or APM 2.5.2 without using compass
Post by: dheerajsinghal01 on August 23, 2014, 01:28:36 PM
if stablize mode does not use compass then how it controls quads yaw motion??????
and internal mag is defected i dont know how. it show bad compass health when i enables the compass.
i tried flying by disabling compass then the quad takes off but it also revolves around its axis and the quad is not keeping fix heading


Title: Re: Can we fly quadcopter using ardupilot or APM 2.5.2 without using compass
Post by: dheerajsinghal01 on August 23, 2014, 01:30:21 PM
i am using a carbon fiber fram in X config. and even by adjusting the PIDs i am not able to solve the problem


Title: Re: Can we fly quadcopter using ardupilot or APM 2.5.2 without using compass
Post by: pravesh736 on August 23, 2014, 02:56:06 PM
Manual mode uses only gyro.
Stabilize mode only uses gyros and accelerometers.
Altitude hold mode uses gyro, acc and barometer.
Loiter/auto uses mag gyro acc GPS barometer.
There must be some problem causing erratic yaw. Magnetometer is used while in GPS modes.
It is natural for a quad to yaw initially when built. It may need some tuning and mechanical alignment.


Title: Re: Can we fly quadcopter using ardupilot or APM 2.5.2 without using compass
Post by: dheerajsinghal01 on August 23, 2014, 03:18:48 PM
thanks for rply. i will get back after some experiments....:-)


Title: Re: Can we fly quadcopter using ardupilot or APM 2.5.2 without using compass
Post by: phanivyas on August 23, 2014, 03:37:22 PM
Bad compass health doesn't mean that compass is faulty. If there is too much deviation in compass offsets the same message will be shown in HUD.


Title: Re: Can we fly quadcopter using ardupilot or APM 2.5.2 without using compass
Post by: SideWinder on August 24, 2014, 09:47:32 AM
Mag can also be used in simple mode+stabilize mode. For yaw issue, disable compass in MP and see whether quad is yawing. This way you would know for sure if its PID/compass issue.

Reason for compass error can also be unsoldered pads that connects magnetometer check those solder pads . Many sellers keep it unsoldered and sell it as 2.6 version.

(http://i.imgur.com/uVwhbhI.jpg)
C/O ardupilot.com


EDIT:

Just found this, compass is used in all flight modes when enabled. This has been confirmed by Randy who is the lead developer for Arducopter. So a non calibrated/working/configured mag can cause issues.

http://diydrones.com/forum/topics/yaw-not-operating-correctly?groupUrl=arducopterusergroup&groupId=705844%3AGroup%3A394475&id=705844%3ATopic%3A1759412&page=1#comments (http://diydrones.com/forum/topics/yaw-not-operating-correctly?groupUrl=arducopterusergroup&groupId=705844%3AGroup%3A394475&id=705844%3ATopic%3A1759412&page=1#comments)


Title: Re: Can we fly quadcopter using ardupilot or APM 2.5.2 without using compass
Post by: dheerajsinghal01 on August 24, 2014, 05:18:48 PM
https://www.youtube.com/watch?v=mMCwnZnw7gc&feature=youtu.be (https://www.youtube.com/watch?v=mMCwnZnw7gc&feature=youtu.be)
this is the video link of my quad.....


Title: Re: Can we fly quadcopter using ardupilot or APM 2.5.2 without using compass
Post by: SideWinder on August 24, 2014, 06:31:43 PM
From the video, direction of motor rotation looks correct. Orange props are spinning in the correct direction but cannot see the black props clearly. Can you post a close up photo of your setup.
Similarly posting a log(.log) of your flight can help too.


Title: Re: Can we fly quadcopter using ardupilot or APM 2.5.2 without using compass
Post by: roshan.dixit on August 24, 2014, 07:09:16 PM
DO motmog calibration


Title: Re: Can we fly quadcopter using ardupilot or APM 2.5.2 without using compass
Post by: ayu135 on August 25, 2014, 01:05:33 AM
If your compass is damaged you need to manually cut the trace on the back of the adrupilot to disable the mag. Search on google how to do that. I had to the same thing when i began using an external GPS+compass, i had to cut the trace in order to use the external compass.