-
Notifications
You must be signed in to change notification settings - Fork 7
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
🚸 (update): Update from FileExchange state #1132
🚸 (update): Update from FileExchange state #1132
Conversation
7f1c11e
to
a375023
Compare
a45fe96
to
c371bc2
Compare
Codecov Report
@@ Coverage Diff @@
## yann/feature/rc-add-filexchange-state-and-actions #1132 +/- ##
==================================================================================
Coverage 95.96% 95.96%
==================================================================================
Files 138 138
Lines 3297 3298 +1
==================================================================================
+ Hits 3164 3165 +1
Misses 133 133
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
File comparision analysis report🔖 Info
Click to show memory sections
📝 SummaryClick to show summary
🗺️ Map files diff outputClick to show diff list
|
File comparision analysis report🔖 Info
Click to show memory sections
📝 SummaryClick to show summary
🗺️ Map files diff outputClick to show diff list
|
c371bc2
to
6569586
Compare
a375023
to
6c3a237
Compare
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.
LGTM 👍
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.
LGTM
Just one thing to discuss about a remaining transition "charging -> updating"
libs/RobotKit/include/StateMachine.h
Outdated
, sm::state::file_exchange + event<sm::event::ble_disconnection> [sm::guard::is_not_charging {}] = sm::state::idle | ||
, sm::state::file_exchange + event<sm::event::ble_disconnection> [sm::guard::is_charging {}] = sm::state::charging | ||
, sm::state::file_exchange + event<sm::event::emergency_stop> = sm::state::emergency_stopped | ||
, sm::state::file_exchange + event<sm::event::update_requested> [sm::guard::is_ready_to_update {}] = sm::state::updating |
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.
Discussion
To keep in mind : With this transition added, we need to decide if the" charging -> update" transition is still useful.
Currently, LekaUpdater send files to the robot then start the update once all the files are sent.
6569586
to
6a3132c
Compare
6c3a237
to
ad4cc6b
Compare
6a3132c
to
91fabb3
Compare
ad4cc6b
to
64b68f0
Compare
Kudos, SonarCloud Quality Gate passed! |
Need
Related issues & PR