ArduPilot / ArduPilot/MAVProxy
guided mode with coordinates as parameters
- Dominant language
- Python
- Stars
- 595
- Forks
- 773
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 18
Description
Hi,
If you want to use the command "guided" with parameters lat lon alt, mavproxy runs in an error because latlon was not defined on a subsequent call.
A possible fix seems to be quite simple:
mavproxy_mode.py, line 46-47:
latitude = float(args[0])
longitude = float(args[1])
should e.g. replaced with:
latlon = [float(args[0]), float(args[1])]
By the way, thanks for maintaining and developing mavproxy - great project!
Cheers,
moses
Contributor guide
No contributing guide indexed for this repository
Research direction
Open mavproxy_mode.py and inspect lines 46-47, then reproduce the guided command with latitude, longitude, and altitude parameters. Done means a subsequent call no longer fails because latlon is undefined and the coordinates are accepted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100