ArduPilot / ArduPilot/MAVProxy

cmd not seeming to work for wp load

Open
#142 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
595
Forks
773
Avg merge
2d 6h
Merged PRs (30d)
18

Description

I have tried on 1.4.11(win), 1.3.13(win) and linux (latest) and I can't seem to get this to work.

The command I have tried is "--cmd="wp load [filename.txt];"

What happens is it loads up and says "x number of waypoints loaded" but when I check no new waypoints are there. It is as if it is trying before its connected. (UDP LINK --master=X.X.X.X:PORT)

Using the same commands in the CLI works and if i load them from a script in the CLI it works, but if I load a script it just says "x waypoints loaded".

Is there some trick to get "wp load" to work from cmd?

Thanks
picture shows pink arrow firstly clears out waypoints
red arrow tries to load them from cmd
green arrow works on the CLI (to prove it loads)

ps I haven't tried "---cmd" command directly to com port as I require network link for my application.

![mavpfail](https://cloud.githubusercontent.com/assets/12312482/7528873/6eff00e6-f583-11e4-8936-239d673b5dd8.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported `--cmd="wp load [filename.txt];"` behavior with the UDP `--master` link, then compare it with the working interactive CLI command and CLI script. Done means waypoints loaded through `--cmd` remain available after the connection is established.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.