Jason,
During navigation between waypoints the vehicle chases behind a target point. The distance between the vehicle and that target is limited by this leash. So we never let that target point get further from the vehicle than the leash length.
-Randy
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com] On Behalf Of Jason Lin
Sent: 26-Jun-15 5:56 PM
To: drones-...@googlegroups.com
Subject: [drones-discuss] about "leash leanth" in arducopter source code
Hi all,
I read source found this function
calc_leash_length_xy() in AC_PosControl.cpp
Can someone explain what is the meaning of leash length?
Best regard, Jason
--
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.
Right, the pos-target.z is only used by the position controller. The higher level waypoint target is held in the AC_WPNav library.
-Randy
Yes, that’s it. Well done finding it!
Itay,
No, I think you vehicle’s issue is probably caused by vibration upsetting inertial nav or the EKF. It looks a bit high (see IMU message).
It looks like you’re running a non-standard version of the firmware – it’s not master, not AC3.3-rc7 and it has some parameters that I don’t recognise. If you upgrade to the equivalent of AC3.3-rc7 and then look at the VIBE dataflash message I think you may see some clipping is happening.
Itay,
It was included in my previous reply. The DF’s CTUN message has a “CRt” field which is the climb rate. I’d strongly recommend upgrading to –rc7 which has a VIBE message that shows vibration levels directly and clipping.
-Randy
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com] On Behalf Of ???? ???
Sent: 2-Jul-15 3:34 PM
To: drones-...@googlegroups.com
Subject: Re: [drones-discuss] about "leash leanth" in arducopter source code
How can you see the negative climb rate, tried looking for it in the log but couldn't find it.
On Thursday, July 2, 2015 at 3:52:22 AM UTC+3, Randy Mackay wrote:
No, I don’t think so. it’s demonstrating the classic sign of high vibration which is inconsistent alt and climb rate – i.e. an increasing altitude but negative climb rate.
-Randy
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com] On Behalf Of Robert Lefebvre
Sent: 1-Jul-15 10:27 PM
To: drones-discuss
Subject: Re: [drones-discuss] about "leash leanth" in arducopter source code
Maybe you're on to something. Last week I tried flying a helicopter in Alt Hold, and it kept on falling at very high rate every time I engaged Alt Hold. I had to keep going back to Stabilize immediately. The data logs were showing a large negative desired climb rate, even through the throttle was up. I haven't found the problem yet, but something seems to be wrong.
On 1 July 2015 at 09:08, איתי גיא <ita...@gmail.com> wrote:
I think this problem is also leash related