Skip to content

RTK Surveyor states #114

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

Merged
merged 1 commit into from
May 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions Firmware/RTK_Surveyor/Tasks.ino
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,39 @@ void ButtonCheckTask(void *e)

while (true)
{
/* RTK Surveyor

.----------------------------.
| |
V |
.------------------. |
| Power On | |
'------------------' |
| |
| Setup button = 0 |
V |
.------------------. |
.------>| Rover Mode | |
| '------------------' |
| | |
| | Setup button = 1 |
| V |
| .------------------. |
'-------| Base Mode | |
Setup button = 0 '------------------' |
after long time | | |
| | Setup button = 0 |
Setup button = 0 | | after short time |
after short time | | (< 500 mSec) |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a small nit, but to enter test mode a display has to be attached.

(< 500 mSec) | | |
STATE_ROVER_NOT_STARTED | | |
V V |
.------------------. .------------------. |
| Test Mode | | WiFi Config Mode |----------'
'------------------' '------------------'

*/

if (productVariant == RTK_SURVEYOR)
{
setupBtn->read();
Expand Down