-
Notifications
You must be signed in to change notification settings - Fork 512
Support robotCleanerOperatingState Routine #2443
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Hunsup Jung <[email protected]>
Signed-off-by: Hunsup Jung <[email protected]>
Invitation URL: |
Test Results 71 files 455 suites 0s ⏱️ For more details on these errors, see this check. Results for commit 0ced929. ♻️ This comment has been updated with latest results. |
Minimum allowed coverage is Generated by 🐒 cobertura-action against 0ced929 |
Signed-off-by: Hunsup Jung <[email protected]>
388bea7
to
9ce965f
Compare
@@ -0,0 +1,108 @@ | |||
name: Robot Cleaner Operating State |
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.
Hey @HunsupJung why do we need this capability to be embedded? It appears the same capability def is already deployed in production
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.
Yes, the capability def is already deployed in production, but it is not applied in scripting-engine, so if the def is not added, test action is failed in this PR.
Could you update the scripting-engine like Tom did before? After that we can remove the capability def.
https://github.ecodesamsung.com/iot-hub/scripting-engine/pulls?q=is%3Apr+author%3Atpmanley+is%3Aclosed
- AcceptedCommandList file and GoHome file for lower lua lib integration - Add augment_type() for lower lua lib integraiton - Replacing with get_latest_state() Signed-off-by: Hunsup Jung <[email protected]>
if supported_areas ~= nil then | ||
for i, area in ipairs(supported_areas) do | ||
table.insert(selected_areas, area.areaId) | ||
end |
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.
if supported_areas ~= nil then | |
for i, area in ipairs(supported_areas) do | |
table.insert(selected_areas, area.areaId) | |
end | |
for i, area in ipairs(supported_areas or {}) do | |
table.insert(selected_areas, area.areaId) | |
end |
Signed-off-by: Hunsup Jung <[email protected]>
@hcarter-775 |
Type of Change
Checklist
Description of Change
This PR is for supporting Routine of
robotCleanerOperatingState
Capability and includes follows.rvc_operational_state_list_attr_handler
has been added to support Condition of Routine.handle_rvc_operational_state_accepted_command_list
has been updated to updatesupportedCommands
driverSwitched
has been added to executehandle_rvc_operational_state_accepted_command_list
after updating driver.Summary of Completed Tests