--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
John,
Thanks for the feedback. I’m having a look at twitches at the moment and it’s on the issues list as well in a couple of forms:
https://github.com/diydrones/ardupilot/issues/970 ß twitch when entering RTL below RTL_ALT
https://github.com/diydrones/ardupilot/issues/1034 ß twitch when entering loiter
..and some of the hybrid testers also reported a twitch when entering loiter mode from Hybrid.
I fixed up some issues yesterday which could have caused twitches. Julien (one of the developers of Hybrid) has a fix as well that I may apply.
For those really into the details, the twitch is probably caused by the sudden jump in the target position from the previous mode’s final target position to the new mode’s target position which is calculated using a “projected stopping point” which is based on the vehicle’s current velocity. In a windless environment they should be almost exactly the same but in real life they may not be. Julien’s suggested fix is to simply use the previous mode’s final target position instead of using the projected stopping point. I agree but just want to be sure that we understand the cause and that the fix works in all situations.
-Randy
--
Peter,
Thanks for testing this. I was keen to know if the twitch was gone or not and it’s very clear from the logs that the twitch is in the throttle. This is totally consistent with what Julien found.
Fyi, looks like you were switching between AltHold <-> Hybrid but the twitch is there so still very useful!
-Randy
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com] On Behalf Of Peter Plischka
Sent: May 1, 2014 6:48 PM
To: drones-...@googlegroups.com
Subject: [drones-discuss] Re: APM Copter V3.2, bugs/issue tracker before the first beta release exit
Hi Randy,
the twitch when switching from hybrid to Loiter and vice versa is still there.
Peter
--
--
Matthias,
I found that bug in mission planner and reported it to MichaelO. It’s fixed in the current Beta version so the next official version should have the fix.
-Randy
Thanks
I thought the mode was a string in mavlink and the message was issued by the firmware. My bad.
What do you think about ATC_ACCEL_Y_MAX default value that I talked about above. On my setup, the default value was not giving me the same behavior as 3.1.x. I had to bump it to 90000 (same as rp). Is it a problem of my setup or should we advise users to do the same ? Or default value should be change.
M
Thx Marco
The sluggishness I found on my setup was really specific to yaw and changing that parameter fixed it.
As for twitching, I have some as well after doing an autotune with 3.2. My PIDs were completely different . I use the former PIDs calculated in 3.1 and now it is gone. I did not check if there was any change on autotune code or if it is my setup ( or too much wind the day I did it)
One last thing I found today as well is that ekf altitude hold is quite bad (it drops 3 or 4 meters when using ekf). I need to try some of the ekf parameter to see if I can improve it. I am reading the exchange between David and Paul to understand what to change.
M
Matthias,
Re the ATC_ACCEL_Y_MAX, thanks for looking into that. We should find the lowest value that results in the same performance as AC3.1.3 and use that as the default I think.
By the way, did you try changing the SLEW_YAW value as well? I was thinking that could also affect how quickly it can yaw.
Hi Paul,
I flew with two Copter the version with the patch "add protection for badly conditioned innovation variances."
The first flight there were several short drops and some fast Throttle Peaks.Unfortunately, no log.
On the second flight I see in 9390 one peak down.
In EKF = off everything is normal.
I'm trying to get a better log file.
regards Peter
Marco, I can confirm your statements.
"motors twiching" for all auto modes. This can not to be used for a camera flight.
The lag in Stabilize I do not notice.
Hybrid, Loiter and AltHold are very fine.
regards Peter
Try 100, Svein.
Hi Paul,
I have the "motors twiching" in all the AUTO modes.
With and without EKF.
regards Peter
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<2014-05-21 16-34-38 IRIS FSC Auto.zip>
Hi together,
I had during testing with my T810 a sudden crash.
After 7 minutes the copter suddenly fell from the sky.
In the logs I can not see what the cause was.
Maybe one of you can look over.
regards Peter
Hi David,
I measure with the Attopilot 90 The voltage was set exact.
After the crash there were still 65% voltage on the 10,000 mA / h battery.
The damage was not as high. GPS demolished Gimbal defective and broken an arm.
Much worse is I do not know what happens.
If I find an error, I would have a better feel.
regards Peter
--
Hi Robert,stutters
Unfortunately I was a little distracted.
I suspect now also the sync problem. The controllers are Turnigy Kforce 40A BL-Heli.
I have just tested on the ground. 20 times the motors start immediately and then suddenly a motor
regards Peter
--
Some motors can be very difficult to drive, because it takes a long time for current to decay after a commutation. And current must decay, in order to read motor position by sensing the voltage on the now non-driven winding.
This decay is often called the demag time. Pancake motors are notorious for having long demag times.
If you started partly charged, that would show a sag a lot more pronounced on initial start up, so my feel is that maybe a slight adjustment in the voltage multiplier is require. About (21 / 20,3) = 1.034 more.In any case, doesn't explain the loss. At least I can't see anything else.
I check the voltage again David.
I belief more and more that there is a sync problem of ESCs.
With the new settings I have now over 100 times given full throttle without stuttering.
regards Peter
--
Sorry Robert, I do not know. I have not yet employed extensively with the ESCs.
I'm just looking for the cause of my crash.
If I know why that happened, I'm already satisfied.
But it looks like the sync problems.
regards Peter
I had a quick look at Peter’s log and I wonder if it’s the correct log. It all looks fine. Attached is a couple of graphs, the first is desired Roll & Pitch vs actual roll and pitch and it’s all tracking quite well. The 2nd graph is the Desired Alt vs Actual alt and again they’re all together and it shows a pretty reasonable climb and decent. Nothing that jumps out to me as a crash. Am I missing something or maybe we’re looking at the wrong logs? It is an 8min flight and it’s nearly all in Hybrid mode.
-Randy
Hi Randy,
.
thank you. It is the right log. I can not understand, everything looks normal. The software has not made any mistakes.
I can only imagine that it was a sync problem. Maybe it was too windy above the copter had to compensate the position too quickly.
The copter is ready again and I'll try it out.
FYI: the ESCs are Turnigy Plush 40A with BL-Heli firmware
I've attached an Excel Sheet from the programmer of the BL-Heli software.
This could be interesting for some.
regards Peter