File: server_operations.py

package info (click to toggle)
visp 3.6.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 119,296 kB
  • sloc: cpp: 500,914; ansic: 52,904; xml: 22,642; python: 7,365; java: 4,247; sh: 482; makefile: 237; objc: 145
file content (17 lines) | stat: -rw-r--r-- 378 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from enum import Enum
SERVER_OPERATION_CODE_LENGTH = 4

class ServerMessage(Enum):
    GET_POSE = 'GETP'
    RET_POSE = 'RETP'
    GET_VIZ = 'GETV'
    RET_VIZ = 'RETV'
    SET_INTR = 'INTR'
    GET_SCORE = 'GSCO'
    RET_SCORE = 'RSCO'
    SET_SO3_GRID_SIZE = 'SO3G'
    GET_LIST_OBJECTS = 'GLSO'
    RET_LIST_OBJECTS = 'RLSO'
    ERR = 'RERR'
    OK = 'OKOK'
    EXIT = 'EXIT'