This repository has been archived by the owner on Jun 4, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Emit state during velodyne player setup (#4728)
When selecting a data source, the open dialog remains open until a player presence other than NOT_PRESENT is set of the player state. Since the velodyne player would only produce a player state when receiving its first message the open dialog would remain open after setting the port and clicking "open". This behavior makes it look like the dialog is broken and the user's click action was not registered. This change updates the Velodyne player to emit a state update during initialization which clears the open dialog and shows the user the data source information. I've opted to change the state from INITIALIZING to PRESENT since we know all the datatype information for the player and are waiting for new messages. These messages will start to arrive when the user turns on the sensor or configured their network to match the sensor requirements. Fixes: #4689
- Loading branch information