This repository was archived by the owner on Sep 19, 2019. It is now read-only.
This repository was archived by the owner on Sep 19, 2019. It is now read-only.
Input text boxes chop off periods, 0s at end #1
Open
Description
Because the data flows like so:
a) input parsed as float, sent to via WebSockets to ROS
b) parsed float sent over ROS
c) parsed float read by ROS subscriber, forwarded to dashboard via WS
d) received data used to set text box content
it means that any non-numeric characters must be added between existing numeric characters to avoid being stripped during the string-to-float conversion.
Proposed solution
- Don't use ROS as the source of truth, rather use the component state.
- To continue giving some indicator, compare the value stored in the component state to the value stored in the Redux state (set via ROS & WS) and give some sort of visual indicator as to when they don't agree (perhaps a red outline on the box).
Metadata
Metadata
Assignees
Labels
No labels