Classes | Functions | Variables
server Namespace Reference

Classes

class  UserServer
 

Functions

def broadcast ()
 
def find_package_header (req)
 
def get_global_move_flag (move_enable)
 
def get_image (image)
 
def get_odom (odom)
 
def get_orb_start_status (orb_frame)
 
def get_orb_tracking_flag (camera_pose)
 
def get_power (power)
 
def parse_data (cmds)
 
def split_req (req)
 
def unpack_req (req)
 

Variables

 brightness
 
int BUFSIZE = 1024
 
string cmd4 = "aplay /home/xiaoqiang/Desktop/d.wav"
 
 CMD_PUB = None
 
bool CONTROL_FLAG = False
 
 CURRENT_POSE = Pose()
 
string data = "xq"
 
list DATA_CACHE = []
 
 EVEVATOR_PUB = None
 
 GLOBAL_MOVE_PUB = None
 
string HOST = ''
 
int i = 10
 
int ii = 40
 
 image_status
 
 MAP_SAVE_PUB = None
 
 MAP_THREAD = None
 
 MAV_LAST_TIME = None
 
float MAX_THETA = 3.6
 
float MAX_VEL = 0.8
 
int MYPORT = 22001
 
 NAV_THREAD = None
 
 odom_status
 
 orb_init_status
 
 orb_scale_status
 
 orb_start_status
 
list PACKAGE_HEADER = [205, 235, 215]
 
 power
 
float POWER_LOW = 10.0
 
 rate = rospy.Rate(10)
 
 s = socket(AF_INET, SOCK_DGRAM)
 
 SCALE_ORB_THREAD = None
 
 SEND_DATA
 
 SPEED_CMD = Twist()
 
int statu0 = 0x01
 
int statu1 = 0x02
 
int statu2 = 0x04
 
int statu3 = 0x08
 
 STATUS = Status()
 
 STATUS_LOCK = threading.Lock()
 
 TILT_PUB = None
 
 USER_SERVER_SOCKET = None
 
 user_server_thread = UserServer()
 
int USER_SOCKET_PORT = 20001
 
 USER_SOCKET_REMOTE = None
 

Function Documentation

def server.broadcast ( )

Definition at line 269 of file server.py.

def server.find_package_header (   req)

Definition at line 116 of file server.py.

def server.get_global_move_flag (   move_enable)

Definition at line 262 of file server.py.

def server.get_image (   image)

Definition at line 223 of file server.py.

def server.get_odom (   odom)

Definition at line 232 of file server.py.

def server.get_orb_start_status (   orb_frame)

Definition at line 244 of file server.py.

def server.get_orb_tracking_flag (   camera_pose)

Definition at line 253 of file server.py.

def server.get_power (   power)

Definition at line 217 of file server.py.

def server.parse_data (   cmds)

Definition at line 139 of file server.py.

def server.split_req (   req)

Definition at line 125 of file server.py.

def server.unpack_req (   req)

Definition at line 98 of file server.py.

Variable Documentation

server.brightness

Definition at line 69 of file server.py.

int server.BUFSIZE = 1024

Definition at line 58 of file server.py.

string server.cmd4 = "aplay /home/xiaoqiang/Desktop/d.wav"

Definition at line 297 of file server.py.

server.CMD_PUB = None

Definition at line 63 of file server.py.

bool server.CONTROL_FLAG = False

Definition at line 88 of file server.py.

server.CURRENT_POSE = Pose()

Definition at line 81 of file server.py.

string server.data = "xq"

Definition at line 345 of file server.py.

list server.DATA_CACHE = []

Definition at line 61 of file server.py.

server.EVEVATOR_PUB = None

Definition at line 92 of file server.py.

server.GLOBAL_MOVE_PUB = None

Definition at line 91 of file server.py.

string server.HOST = ''

Definition at line 54 of file server.py.

int server.i = 10

Definition at line 295 of file server.py.

int server.ii = 40

Definition at line 296 of file server.py.

server.image_status

Definition at line 70 of file server.py.

server.MAP_SAVE_PUB = None

Definition at line 64 of file server.py.

server.MAP_THREAD = None

Definition at line 86 of file server.py.

server.MAV_LAST_TIME = None

Definition at line 95 of file server.py.

float server.MAX_THETA = 3.6

Definition at line 67 of file server.py.

float server.MAX_VEL = 0.8

Definition at line 66 of file server.py.

int server.MYPORT = 22001

Definition at line 288 of file server.py.

server.NAV_THREAD = None

Definition at line 87 of file server.py.

server.odom_status

Definition at line 71 of file server.py.

server.orb_init_status

Definition at line 73 of file server.py.

server.orb_scale_status

Definition at line 75 of file server.py.

server.orb_start_status

Definition at line 72 of file server.py.

list server.PACKAGE_HEADER = [205, 235, 215]

Definition at line 60 of file server.py.

server.power

Definition at line 74 of file server.py.

float server.POWER_LOW = 10.0

Definition at line 76 of file server.py.

server.rate = rospy.Rate(10)

Definition at line 286 of file server.py.

server.s = socket(AF_INET, SOCK_DGRAM)

Definition at line 289 of file server.py.

server.SCALE_ORB_THREAD = None

Definition at line 90 of file server.py.

server.SEND_DATA
Initial value:
1 = bytearray([205, 235, 215, 24, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
2  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00])

Definition at line 82 of file server.py.

server.SPEED_CMD = Twist()

Definition at line 84 of file server.py.

int server.statu0 = 0x01

Definition at line 321 of file server.py.

int server.statu1 = 0x02

Definition at line 325 of file server.py.

int server.statu2 = 0x04

Definition at line 329 of file server.py.

int server.statu3 = 0x08

Definition at line 333 of file server.py.

server.STATUS = Status()

Definition at line 68 of file server.py.

server.STATUS_LOCK = threading.Lock()

Definition at line 78 of file server.py.

server.TILT_PUB = None

Definition at line 94 of file server.py.

server.USER_SERVER_SOCKET = None

Definition at line 57 of file server.py.

server.user_server_thread = UserServer()

Definition at line 293 of file server.py.

int server.USER_SOCKET_PORT = 20001

Definition at line 55 of file server.py.

server.USER_SOCKET_REMOTE = None

Definition at line 56 of file server.py.



xiaoqiang_server
Author(s):
autogenerated on Mon Jun 10 2019 15:53:41