Skip to content

Commit

Permalink
core: frontend: utils: mavlink_prettier: Add PARAM_VALUE
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <[email protected]>
  • Loading branch information
patrickelectric committed Feb 18, 2022
1 parent 4923657 commit 2d9feb0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/frontend/src/utils/mavlink_prettifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ const formatters = {
NAMED_VALUE_FLOAT(message: any) {
return `NAMED_VALUE_FLOAT - ${message.name.join('')} = ${message.value.toFixed(2)}`
},
PARAM_VALUE(message: any) {
return `PARAM_VALUE - ${message.param_id.join('')}: ${message.param_value}`
},
STATUSTEXT(message: any): string {
return `${message.severity.type.replace('MAV_SEVERITY_', '')}: ${message.text.join('')}`
},
Expand Down

0 comments on commit 2d9feb0

Please sign in to comment.