Copter-3.6.0 available ("soft" release for 2 days)

ok, i am lost now, completely.

i had old functions like ‘3’, ‘17’, etc on the RC_OPTIONS to control the craft. like, to do autotune, kill motors, etc. hope it is understandable.

what is not understandable at all - i look now at the list of functions provided in the mission planner and i think i see PLANE functions?

i got code from here: http://firmware.ardupilot.org/Copter/stable/KakuteF7/ and it says copter upon bootup. fuction 17 in the servo list says ‘DifferentialSpoilerLeft’. what spoiler on a copter? WTF?
how to map it all back now if i want to use a stable build instead dev master? motor kill switch does not seem to be in that list at all anymore.
is it an another idiocy from MP software or is it correctly showing how 3.6.0 code expects those values to be? as if i flash back dev master it shows me options inthe RC_OPTIONS, so it is still there, but 3.6.0 refuses to see it and react to it.

i just tried setting those servo options to same exact values i had on same RC channels - 17, 3, 33, etc - 3.6.0 code does not react on them. so, is it indeed set with plane servos?

boot signature:

PreArm: Need 3D Fix
u-blox 1 HW: 00080000 SW: EXT CORE 3.01 (107900)
EKF3 IMU0 tilt alignment complete
EKF3 IMU0 initial yaw alignment complete
EKF3 IMU0 initialised
EKF3 IMU0 buffers, IMU=11 , OBS=4 , dt=0.0120
EKF3 waiting for GPS config data
GPS 1: detected as u-blox at 115200 baud
INS: alloc 6144 bytes for ISB (free=178448)
Frame: QUAD
ArduCopter V3.6.0 (2eedcf56)
KakuteF7 00410023 34345117 39383339
ChibiOS: ff603d11
Barometer calibration complete
Calibrating barometer

Refresh the parameters on MP

Use the CTRL+F

Also, why don’t you start a new thread related to next version of Copter (3.7dev)?

Luis, what do you mean? why would i start anything about 3.7 when it is ArduCopter V3.6.0 that misses all settings for radio options?

posted log is from 3.6.0 that did not disarm and did not respond to any of old servo or RC codes.

I too am having trouble disarming sometimes - I think the copter has got the altitude wrong so thinks it’s still flying.

yeah, but somehow it does not think that with 3.7dev.
here is what after all refreshes and params regeneration it shows for servo options - it is BS.

0:Disabled 1:RCPassThru 2:Flap 3:Flap_auto 4:Aileron 6:mount_pan 7:mount_tilt 8:mount_roll 9:mount_open 10:camera_trigger 11:release 12:mount2_pan 13:mount2_tilt 14:mount2_roll 15:mount2_open 16:DifferentialSpoilerLeft1 17:DifferentialSpoilerRight1 86:DifferentialSpoilerLeft2 87:DifferentialSpoilerRight2 19:Elevator 21:Rudder 24:FlaperonLeft 25:FlaperonRight 26:GroundSteering 27:Parachute 28:EPM 29:LandingGear 30:EngineRunEnable 31:HeliRSC 32:HeliTailRSC 33:Motor1 34:Motor2 35:Motor3 36:Motor4 37:Motor5 38:Motor6 39:Motor7 40:Motor8 41:MotorTilt 51:RCIN1 52:RCIN2 53:RCIN3 54:RCIN4 55:RCIN5 56:RCIN6 57:RCIN7 58:RCIN8 59:RCIN9 60:RCIN10 61:RCIN11 62:RCIN12 63:RCIN13 64:RCIN14 65:RCIN15 66:RCIN16 67:Ignition 68:Choke 69:Starter 70:Throttle 71:TrackerYaw 72:TrackerPitch 73:ThrottleLeft 74:ThrottleRight 75:tiltMotorLeft 76:tiltMotorRight 77:ElevonLeft 78:ElevonRight 79:VTailLeft 80:VTailRight 81:BoostThrottle 82:Motor9 83:Motor10 84:Motor11 85:Motor12 88:Winch

Took the day off because it was sunny and flew 8 batteries :slight_smile: In general copter is now flying well - have not seen any more EKF issues, but have these three really concerning problems:

  • I am getting a lot of radio fail-safes, not sure if this is hardware or software - they clear quickly - I tried mounting the aerials better (I have a lemon diversity rx) but makes little difference, but when this occurs it tries to switch to M_21 (that’s what it says in my OSD) and then tries to land. I have to quickly flip modes to recover. Graph and log below. What is “M_21” and how do I set the radio fail-safe to something sensible? APM Planner says that a radio frame was delayed and it could not initialize the fail-safe. If I switch off the TX all works as it should (RTL). Can I increase the timeout somehow?
    https://www.dropbox.com/s/bw0ptkrmtqeldox/00000053.BIN?dl=0

  • My altitude is all over the place. HAlt in my OSD display seems to flip between 5m (relative?) and 190m
    (msl?). Doesn’t matter in stabilize but causes all sorts of problems in RTL where the copter keeps trying to descend rather than RTL. However if I deliberately RTL all is fine. Also see Altitude in MinimOSD relative to Sea level ?! I may be confusing two issues here. Second log and graph also below.
    https://www.dropbox.com/s/olhophn5wq9zdu3/00000057.BIN?dl=0

  • What @Paul_Atkin1 says - copter often does not detect it has either landed or crashed and the motors keep spinning and I cannot disarm

1 Like

ok. so, i flashed back 3.7 dev. i see now with the last master code running the values of SERVOx_FUNCTION options stay the same.
also, upon flashing 3.7 the set of RCx_OPTION options appears and model starts reacting on them.
with 3.6.0 it was all ignored. if i am doing something wrong i would love to know what that is. as no reboots, refreshes or updates with 3.6.0 did not make any of channels 7-16 to work and respond to their programmed functions.

so far i presume that in 3.6.0 all the new code for new RC options was skipped but code removing old SERVO function mappings was applied, so in result it all got screwed.

as i fixed all issues in 3.7dev i re-tested it in there on the same model landing it in alt hold and pos hold. in both cases it behaved correctly - after landing it would still spin props, then reduce props spin speed to initial one at arming state, and then in 1 sec it disarms and props stop.

with 3.6.0 it was not reducing speed of props to armed spin speed, it kept it spinning at the same rate as after touching ground, way higher than an ‘armed state’ initial speed.

As Luis says, I think it would be good to create new topics for some of these issues…

In any case, the OSD altitude issue is likely the issue discussed in this thread (I think you’ve found this issue as well). I’ll look into this and discuss what to do with the other devs as well.

The OSD displaying M_21 is probably because the OSD doesn’t know about the new modes including SmartRTL which is 21.

The log shows a very significant number of GPS Glitches and one case of an EKF failsafe (that did nothing because the vehicle was in Stabilize mode). I suspect there’s actually a compass issue. Certainly the EKF is not happy with it’s position estimate. Have you tried flying this copter on 3.5.7? 3.5.7 is still available using the MP’s “Previous Firmwares” link. I think this would be a good test because I suspect this may be a general setup issue rather than a 3.6 firmware issue.

I guess I can try it given more good weather. But why does the copter try to land? At least that’s what I think it is trying to do. I would be happier if it actually tried to RTL, but every time it just descends leaving me running around the field trying to find it. I’m 100% certain that it’s the radio fail-safes causing this behavior. FS_THR_ENABLE is set to 4.

@andypiper,
In general the failsafes do what you request but if they can’t they will just Land as a last resort. So for example with option “4” (“Enabled always SmartRTL or RTL”), it will try to SmartRTL but if it’s buffer is full it will fall back to RTL… but if the EKF doesn’t have a good position estimate then it can’t control it’s position and it will switch to Land.

Btw, I think in this log that the vehicle was armed in Stabilize mode… Normally I first switch to Loiter to ensure that I can arm in that mode (i.e. switch to Loiter and check the LED is green)… then arm. I just want to point out that the requirements for arming are less strict if arming in Stabilize mode so you can’t be sure that you’ll be able to switch to an autonomous mode later.

@Paul_Atkin1,

I think this confusion with the display of parameter values for either RCx_OPTION or SERVOx_FUNCTION may be a ground station issue. With the MP in particular it sometimes makes guesses of which firmware you’re using (i.e. beta vs stable, Plane vs copter) if it’s not currently connected to a flight controller. In particular if Plane has been used most recently then it will show Plane parameters. I’m not saying this is definitely the issue you’re seeing, I’m just pointing out that I’ve seen this.

Anyway, the RCx_OPTION stuff is 3.7 so we really should move this discussion to a new topic.

(I too am having trouble disarming sometimes - I think the copter has got the altitude wrong so thinks it’s still flying.)

I have the same problem sometimes, it started happening in Copter-3.6.0, instead it never happened in copter-3.6.0-RC12.

@winstonsaz,

Re landing detection, if you have a log we can have a look. It’s unlikely that the behaviour has changed since -rc12 because the changes are so small (the list can be seen here) and not in the relevant area of the code. It’s more likely to be a tuning or environmental issue but a log will help make it clear.

As a side note, the landing detector makes the following checks:

  • motors have hit their lower limits
  • vehicle is not accelerating
  • the vehicle’s descent rate is less than 1m/s
  • the range finder (if present) reports less than 2m

The most common reason for the landing detector to fail is the first item, “motors have hit their lower limits”. if the vehicle is trying to do position hold, if the position error is too big (i.e. the vehicle is far from where it wants to be) then it will continue spinning up the motors trying to move itself… but it can’t because it’s on the ground already.

Thanks Randy,
I’ll wait until tomorrow to put the quad in the air, then I’ll see if it happens again.

I deleted all the log.

Ok, i think i am not stating it right. I was unable to use easy mode switch - option 3 - as in 3.6.0 it does not seem to be a place to put it. I was unable to set autotune switch. Code 17. Where should it go? Do i miss something obvious?

@rmackay9 thanks - I always wait for prearm ready in poshold which I guess doesn’t show on this graph. So although I took off in stab, I had waited to get good GPS lock etc. I’ve tried to zoom in on the first log (53) below to show the problem (very hard in mission planner when there are spikes in the data). What I observed was radio failsafe -> SafeRTL/RTL but no attempt made to RTL it just descends. I’ve graphed the EKF inconsistencies for this time period and none go over 1. GPS is ok, MAG just about ok despite a spike when the throttle bursts when the failsafe hits. So I would expect a proper RTL, but you can see from the baro that it just goes down. Also if it’s landing shouldn’t the mode say “LAND”? And if the EKF doesn’t have a good position estimate wouldn’t there be an EKF error?

Morning Randy. Hope all is well.
Wanted to share an observation I made this morning. First it’s raining still…grrr.
Second I decided I was going to flash the GNSS with new firmware so I went to the shop and pulled the connector on it to connect up the can port to USB device i just got…I ordered because I had a feeling I needed it.
Much to my surprise I found the Can port terminator on the second port was missing. Well the resistor was anyway. I don’t know if this is the reason for the sick GPS or not but the canbus was not terminated. I made up a new one, but this time I soldered the resistor to the connector contacts so they won’t fall out again. Of course the whole terminator plug could but thats unlikely. Anyway if it ever stops raining I will try again.

Grrr…this hobby has it’s challenges.

1 Like

I uploaded a few more logs…
One very large one. But I still have an HDOP of 100 even with the can port terminator repaired.

sick GPS I guess

https://drive.google.com/open?id=1ICbzNjJDgmEjWEYS4H0FFMRg1s_G1Xcj
Some logs of mro pixracer on a tarot 650, number six is an autotune.
I have many vibes and don’t know where they came, on autotune disapear for exemple, it’s shocking watch the vibes get off on autotune process.
Pixracer led, stays blue without gps fix, goes blue turquoise on gps fix, and deep blue on arm.
Btw, I am dreaming every night with the message “hardware safety switch” XD