Git Product home page Git Product logo

Comments (3)

gmorph avatar gmorph commented on August 22, 2024

I replicated this bug. I plugged a pixhawk on my bench into my linux laptop and ran
mavproxy.py --console --map --aircraft test
and did a "wp list" and there were no mission waypoints loaded. I then ran
mavproxy.py --cmd="wp load /full directory path/waypoints/mission.wpt" --map --console --aircraft test
and then another "wp list" inside MAVProxy and it listed the waypoints no problem.

Now I realise your trying to establish a network connection via MAVProxy. So I did the same command above and then inside MAVProxy ran "output add 127.0.0.1:12345" and in a separate terminal ran a second mavproxy like:
mavproxy.py --map --console --master 127.0.0.1:12345 --cmd="wp load /full directory path/waypoints/mission.wpt"
And saw the same error you documented above. It says it loaded the waypoints but then a "wp list" show's nothing.

So bug confirmed.

Thanks, Grant.

from mavproxy.

lfway avatar lfway commented on August 22, 2024

Hi all,
I have this problem too. Do you have found solution?
Thank you.

from mavproxy.

peterbarker avatar peterbarker commented on August 22, 2024

wp load is unlikely to work when given on the command-line; in fact, nothing that requires you to be connected to the vehicle is likely to work, including things like mode changes.

mavlink is a lossy protocol; when you do these commands it is sending a message into the void and hoping for a response. Since no vehicle is connected, the packet is lost.

Even from the command-line, a wp load is not guaranteed to work. If the first packet is lost it will just fail silently (and we 've seen that happen on real aircraft).

The "loaded waypoints" message refers only to MAVProxy successfully parsing the supplied file. We could add a "Sending waypoint count" message to the user, but that would be getting somewhat verbose, I think.

Sorry, but I don't think this is a bug? Concur?

from mavproxy.

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.