Giter VIP home page Giter VIP logo

Comments (8)

bbasso avatar bbasso commented on July 17, 2024

+1. It's always been a bit opaque about how ROI persists throughout a mission. I would imagine a helper could make this more clear. ROI could be persistent, or just exist till the next command

from dronekit-python.

maruina avatar maruina commented on July 17, 2024

I'd like to start working on this.

@hamishwillee @mrpollo do you have some thoughts on that? It's late in Italy and I will look at it more carefully tomorrow, but my first idea is to consider ROI waypoints the same as Command

from dronekit-python.

rmackay9 avatar rmackay9 commented on July 17, 2024

ROI does persist through a mission by the way in the current official version of copter (AC3.2.1) and higher. It's turned off by sending a ROI command with all zeros.

By the way are people here logged into gitter? https://gitter.im/diydrones/dronekit-python
Some people use it and I think it's the best place for live chat related to dronekit.

from dronekit-python.

hamishwillee avatar hamishwillee commented on July 17, 2024

@rmackay9 probably here is not a bad place to discuss specific features though :-) So maybe feasibility check in gitter first, then post here to track activity and get "sign off"

@maruina As Randy says, you can already set a ROI waypoint as a waypoint command in AUTO mode and it will persist through the mission.

It is also possible to send the MAV_CMD as a custom command in GUIDED mode. However this is a bit ugly though, and I think it might be a very good idea to add a settable Vehicle attribute for this. @mrpollo - what do you think?

Cheers
H

PS If you're feeling free, getting a Home attribute is needed (#105)

from dronekit-python.

hamishwillee avatar hamishwillee commented on July 17, 2024

@maruina Are you still working on this? FYI, I documented the message here.

An additional point not covered above is that the ROI is cleared on mode change, and that mode in this case also means "movement" command. So if you set ROI and then call Vehicle.commands.goto() the ROI is cleared. If you call Vehicle.commands.goto() and then set ROI it will persist until the mode is changed, you clear it by sending zeros or you change the movement command you use (e.g. moving using SET_POSITION_TARGET_LOCAL_NED]

from dronekit-python.

maruina avatar maruina commented on July 17, 2024

I had to put it on standby to work issues. Thanks for the link, I will look at it as soon as possible!

from dronekit-python.

hamishwillee avatar hamishwillee commented on July 17, 2024

@maruina Thanks very much. Hope you find time soon. Please add a note here when you start so that someone else can take it over if they find time first!

from dronekit-python.

hamishwillee avatar hamishwillee commented on July 17, 2024

@tcr3dr @djnugent This is pretty much a "no brainer" of something we should do. If you have time before @maruina does, please implement :-)

The API should allow you to clear the ROI too.

from dronekit-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.