Skip to content

[TASK] Operation Mode msg + srv #32

@jorgenfj

Description

@jorgenfj

Description of task

We should define a custom message that encodes the operation modes, instead of having these be sent as raw strings. With the inclusion of an Operation mode manager an operation mode service should also be created to enable clients to request an operation mode change.

Suggested Workflow

No response

Specifications

  • Operation mode message with relevant modes defines as constants/enum types. These constants/enums should be referenced in code when using these messages for increased code clarity.
  • Operation mode service should support requests for setting operation mode, should handle or invalid requests. Should also return resulting operation mode after service call is perform, regardless of service success or failure.

Contacts

No response

Code Quality

  • Every function in header files are documented (inputs/returns/exceptions)
  • The project has automated tests that cover MOST of the functions and branches in functions (pytest/gtest)
  • The code is documented on the wiki (provide link)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions