I believe fence or geofence to be one of the most amazing, useful safetly features of this firmware.

Thanks for everyone's hard work to make this possible!

With fence on,

Now, when the the target altitude is reached (or breached) the copter enters into RTL mode.

It used to just STOP and not go any higher.

When did this change? what firmare?

Can there be an option to turn this back on, if not, where exactly is the code where the change occured.

Also, would it be hard to write the code to have the multicopter just "STOP" and not PASS the fence instead of RTL in the horizontal fence breach also?

Thanks

Gregory

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

Join diydrones

Email me when people reply –

Replies

      • Developer

        Rob and I have fixed this in master and it'll go out with AC3.3.  The previous behaviour is there in AC3.1.5 which is available through the mission planner's "previous firmwares" link.

        Thanks for the report.

        • Excellent, thank you Randy, thank you Rob.

          I will beta test 3.3 as soon as it is available and report here any results pretaining to the geofence feature.

  • Developer

    Gregory,

    I guess you're talking about copter?  It depends which mode you're in so if it's AltHold, Loiter or PosHold it should stop just below the altitude limit.  That was how it worked in AC3.1.5 and AC3.2 should be the same although I don't remember specifically testing this as part of the AC3.2 release testing.

    If you have a log of the event we can be sure.  Otherwise one of the devs (maybe me) will give it a go in the simulator.

    Doing it for the horizontal limit is a little more difficult although it's on the to-do list.

    • Hi Randy, is it possible to enable in  Arducopter   polygon Geofence, the same way it works in arduplane? 

      If not do you think this could be possible in the future? 

      Thanks

      Massimo

      • Developer

        Massimo,

        I'm nearly 100% certain we will enable the polygon geofence in Copter at some point.  It's tentatively on the to-do list for the next release but that's still some time away and we sometimes have to push items to the next release if we run out of time to implement them.

        • Thanks Randy for your quick answer and for the great job  that you and the others developers are doing!

    • And yes, this happened while in PosHold

      • Developer

        It could be a bug/mistake.  We made a huge number of changes between AC3.1.5 and AC3.2 so it's possible it was missed.  I've raised an issue here so we will check before AC3.3 goes out.

        • Ok, thanks.

          I will report back after a few more tests to make sure the problem is conclusive.

This reply was deleted.

Activity

DIY Robocars via Twitter
May 15
DIY Robocars via Twitter
May 14
DIY Robocars via Twitter
May 13
DIY Robocars via Twitter
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
May 13
DIY Robocars via Twitter
May 11
DIY Robocars via Twitter
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Noticed my car zigzagged in last run. It turned out to be the grass stuck in the wheel and made the odometry less accura…
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Test my car. RTK GPS worked great. Thanks @emlid for their support. https://t.co/EkQ6qmjmWR
May 8
DIY Drones via Twitter
RT @chr1sa: @kane That's @diydrones circa 2009. Still have a box of those Canon cameras that we used to strap into planes, just like this.…
May 3
DIY Robocars via Twitter
RT @chr1sa: Our next @diyrobocars race is going to be outside at a real RC racetrack in Fremont on May 28. Fully autonomous racing, head-to…
Apr 30
DIY Robocars via Twitter
RT @f1tenth: Our Spring 2022 F1TENTH course @PennEngineers is coming to an end with a head-to-head race as a big finale. So proud of our st…
Apr 26
DIY Robocars via Twitter
RT @DanielChiaJH: I wrote a thing! Throughout the development of my @diyrobocars car I've been using @foxglovedev Studio to visualize and d…
Apr 23
DIY Robocars via Twitter
RT @SmallpixelCar: My new car for high speed. Low body, everything ( @NVIDIAEmbedded Jetson Xavier NX, @emlid RTK GPS, IMC) under the deck…
Apr 23
DIY Robocars via Twitter
Apr 21
DIY Robocars via Twitter
RT @f1tenth: F1TENTH Race training setup @PennEngineers for our upcoming ICRA2022 @ieee_ras_icra competition. @OpenRoboticsOrg @IndyAChalle…
Apr 21
DIY Robocars via Twitter
RT @fatcatFABLAB: Proud to be hosting a restarted DIY Robocars NYC Meetup April 26. Come by if you want to talk about and race self-driving…
Apr 17
More…