bad attitude from a stationary ArduCopter

Background: My first ArduCopter (APM1/oilpan, mag, no sonar, ublox GPS, xbee 900, hoverthings X450 quad frame, 1000 Kv motors, 30A escs, 10*4.7 props, 4Ah 35C 1P4S LiPo, X cross configuration, code from trunk from about two weeks ago). Had a few flying sessions with some satisfactory episodes, but mostly dissatisfied with stability and control, even after carefully ballancing props, making sure everything is properly aligned, no slipping motor shafts etc.

The problem seems to be getting worse. After the last repair, I struggled to make simple hovers in the back yard, it would just flip when I throttle up, unless I gave it strong correction. I even resorted to making a "string cage", and it wouldn't pull up level without "aggressive climb" type throttle (it's amply overpowered). At hover/gentle climb throttle it would flop about like a rag doll.

Eventually, I sat it level for a few hours and logged the output with mavproxy. It might not have been perfectly level, but it was reasonably close and perfectly still. Plotting ATTITUDE.roll and ATTITUDE.pitch revealed something is definitely broken:3690906713?profile=original

I'm new at ArduPilot (previously only used paparazzi), and don't really know where to go from here. I'd attach the full log but can't because it's >7MB zipped. I can start swapping out some components but don't have another IMU/Ardupilot handy.  How to diagnose and fix this?

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Developer

    Chris and I looked at his logs in more detail at a MakeHackVoid meeting this evening, and found the problem was that he had not run the 'level' command to calibrate his accelerometers since changing oilpan board. The accelerometer calibration was quite a way off, which caused gyro drift due to accelerometer drift correction.

  • My theories include:

     - bad imu
     - bad mag
     - heat problem
     - miscondiguration


    I have a new mag coming, and can experiment with better cooling, but need some suggestions wrt imu testing and configuration (or better theories).
This reply was deleted.

Activity

DIY Robocars via Twitter
Apr 27
DIY Robocars via Twitter
Apr 27
DIY Robocars via Twitter
RT @f1tenth: Sliding (autonomously) into the weekend like ... 🤖😎 #f1tenth #robots #AutonomousVehicles @OpenRoboticsOrg @NVIDIAEmbedded @Aut…
Apr 25
DIY Robocars via Twitter
RT @chr1sa: One of the problems with autonomous car racing is that watching software drive is not a very exciting spectator sport. To help…
Apr 25
DIY Robocars via Twitter
RT @SmallpixelCar: Replaced AGX Xavier with @NVIDIAEmbedded Jetson Xavier NX. Now both cars look fast and clean https://t.co/jlcoY2EjZf
Apr 25
DIY Robocars via Twitter
RT @chr1sa: Yesterday we had a record number of competitors (36) in our monthly @DIYRobocars virtual autonomous car race. We kept it going…
Apr 25
DIY Robocars via Twitter
Apr 16
DIY Drones via Twitter
RT @chr1sa: After more than a year of only virtual races, @DIYRobocars returns to the newly renovated @circuitlaunch on May 22 for the resu…
Apr 11
DIY Robocars via Twitter
RT @DAVGtech: And now available with LiDAR 🔥 https://twitter.com/Heavy02011/status/1381137016381964293
Apr 11
DIY Robocars via Twitter
RT @Heavy02011: #VirtualRaceLeague: @DIYRobocars Race #9 - #ParkingLotNerds #thunderhillracetrack, CA Join us for the next race April 24th,…
Apr 11
DIY Robocars via Twitter
RT @DWalmroth: Weather's finally cooperating, looking forward to racing 1:10 scale autonomous cars outdoors again! @diyrobocars, @NVIDIAEm…
Apr 7
DIY Robocars via Twitter
RT @AIDRI_: I finally succeeded in optimizing the trajectory and speed of a car on a #racetrack. Next step: implement a 2d controller and…
Apr 7
DIY Robocars via Twitter
@jetdillo @circuitlaunch Actually the second *in person* event in a year. We do virtual races every month
Apr 2
DIY Robocars via Twitter
Update: we're moving it back one day to Sunday (the 4th) at 11:00am instead
Apr 2
DIY Robocars via Twitter
@GrantEMoe @circuitlaunch Update: we're doing it on Sunday (4th) at 11:00am instead
Apr 2
DIY Robocars via Twitter
RT @chr1sa: Maybe we should have a mini @DIYRobocars race in our lower school's playground https://t.co/xLFeua1R6X
Mar 29
More…