Skip to content
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

Transmit Workstation Type #21

Open
marcomasa opened this issue Apr 26, 2020 · 1 comment
Open

Transmit Workstation Type #21

marcomasa opened this issue Apr 26, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@marcomasa
Copy link
Collaborator

The workstations are only described with a string, which technically contains the type, but with the current implementation, users are required to string match to get the location type.

The old refbox implementation used to send a location type with enums defined in the msg.

We defined our own workstation msg to create a struct with ros functionality:

WorkstationSimple.msg

# basic info
string name

### status
uint8 UNKNOWN = 0
uint8 KNOWN = 1
uint8 SCANNED = 2
uint8 status

### type
uint8 GROUND = 0
uint8 TABLE = 1
uint8 ROTATING_TABLE = 2
uint8 PRECISE_PLACE = 3
uint8 SHELF = 4
uint8 ARBITRARY = 5
uint8 type
@marcomasa
Copy link
Collaborator Author

Please also transmit a task ID. The old refbox sent the target task every 2s or so. If thats the case, we checked for the task ID to identify old / previously received tasks. ATM this is not possible anymore

@steup steup added the enhancement New feature or request label Jun 4, 2020
@steup steup added this to the Legacy Compatibility milestone Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants