-
Notifications
You must be signed in to change notification settings - Fork 22
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
Change Altitude Mini-Widget #747
Change Altitude Mini-Widget #747
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool!
Curiosity: when you send a goTo message with X and Y being 0, MAVLink ignores those and just change the altitude?
It must. I captured a change altitude command from QGC and copied it. Maybe I should test it with XY ignore bits set just incase the functionality ever changes. |
c468aa6
to
f0172a8
Compare
I tried with XY ignored and ardupilot did not respond for some reason. I don' have time tonight to fully investigate this, but given that QGC uses this exact format I think it should be safe. |
@rafaellehmkuhl I see the needs documentation tag is set, does that content need to be updated here? what are the expectations? |
We haven't yet written contributing guidelines there unfortunately (sorry!). New contributions to Cockpit should (almost always) be documented with PRs to the For this particular feature I'd recommend adding a bullet point for the new widget in the mini widgets section (of the As a few notes:
An example command line log might look like # clone your branch from your fork (should be based off Cockpit-devel-temp from the bluerobotics upstream)
git clone https://[email protected]/MY_USERNAME/ardusub-zola -b My-Change-Branch-Name cockpit-docs-working
cd cockpit-docs-working # enter your changes folder
... # make your code changes
cd .. # go back to where you were (I normally just have two terminal tabs open, for easier switching)
# clone the main docs repo for building (can do from your fork, but not necessary just for building)
git clone https://github.com/bluerobotics/ardusub-zola ardusub-zola-building
cd ardusub-zola-building # enter your building folder
git submodule update --init --recursive # get the submodules
rm -r 'content/software/control-station/Cockpit - 1.0' # delete the current docs (note different structure if using BlueOS-deploy branch instead of main)
cp -r '../cockpit-docs-working' 'content/software/control-station/Cockpit - 1.0' # copy in your modified docs
zola serve # this needs to be done here, from the root of the build directory (e.g. not from in a content folder)
... # go to the generated http server, and navigate to /software/control-station/Cockpit - 1.0/advanced-usage
... # iterate
... # push your changes to your remote, and PR to the bluerobotics Cockpit-devel-temp branch when ready |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
About the docs, since you've added several PRs that add functionality that don't have docs yet, I think we can merge this and you can work on the documentation for the other PRs all together.
@ES-Alexander what do you think?
That’s fine with me, just good if we can sort out the docs before stable, and if one docs PR is documenting several feature PRs then it’s good if it can still link to all of them :-) |
Adding the functionality to command altitude changes
closes #581
2024-02-19.21-32-08.mp4