Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting single location parameter clears other location params #645

Open
ChrisRomp opened this issue Aug 4, 2024 · 1 comment
Open

Setting single location parameter clears other location params #645

ChrisRomp opened this issue Aug 4, 2024 · 1 comment

Comments

@ChrisRomp
Copy link

Perhaps this is a documentation bug if the behavior is intended, but if you pass a location parameter such as --setlat and do not include longitude or altitude, the unspecified values are cleared. In order to set a position via the CLI, it appears to be necessary to specify --setlat, --setlon, and --setalt args together.

Option 1: The CLI should only set/unset values that are specified.

Option 2: Update the CLI documentation to specify that all three parameters should be set together.

@ianmcorvidae
Copy link
Contributor

Yeah, probably the documentation should be updated to specify that if any of lat/lon/alt aren't included they'll be set to 0. There's not really a very clean way to only update one value at a time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants