Functions | Variables
generate Namespace Reference

Functions

def cap_word (text)
 
def generate_settings (xml_filename)
 
def generate_states (xml_filename)
 
def get_xml_url (filename)
 
def guess_min_max (arg_comment)
 
def is_settings_tag (name)
 
def is_state_tag (name)
 
def load_from_url (url)
 
def main ()
 
def strip_text (text)
 
def today ()
 

Variables

dictionary BEBOP_TYPE_MAP
 
 blacklist_settings_keys = set(["wifiSecurity"])
 
dictionary C_TYPE_MAP
 
dictionary DYN_TYPE_MAP
 
string LIBARCOMMANDS_GIT_HASH = "ab28dab91845cd36c4d7002b55f70805deaff3c8"
 
string LIBARCOMMANDS_GIT_OWNER = "Parrot-Developers"
 
 min_max_regex = re.compile('\[([0-9\.\-]+)\:([0-9\.\-]+)\]')
 
 rend = pystache.Renderer()
 
dictionary ROS_TYPE_MAP
 

Function Documentation

def generate.cap_word (   text)

Definition at line 110 of file generate.py.

def generate.generate_settings (   xml_filename)

Definition at line 292 of file generate.py.

def generate.generate_states (   xml_filename)

Definition at line 157 of file generate.py.

def generate.get_xml_url (   filename)

Definition at line 91 of file generate.py.

def generate.guess_min_max (   arg_comment)

Definition at line 113 of file generate.py.

def generate.is_settings_tag (   name)

Definition at line 104 of file generate.py.

def generate.is_state_tag (   name)

Definition at line 101 of file generate.py.

def generate.load_from_url (   url)

Definition at line 95 of file generate.py.

def generate.main ( )

Definition at line 493 of file generate.py.

def generate.strip_text (   text)

Definition at line 107 of file generate.py.

def generate.today ( )

Definition at line 154 of file generate.py.

Variable Documentation

dictionary generate.BEBOP_TYPE_MAP
Initial value:
1 = {
2  "bool": "U8",
3  "u8": "U8",
4  "i8": "I8",
5  "u16": "U16",
6  "i16": "I16",
7  "u32": "U32",
8  "i32": "I32",
9  "u64": "U64",
10  "i64": "I64",
11  "float": "Float",
12  "double": "Double",
13  "string": "String",
14  "enum": "I32"
15 }

Definition at line 37 of file generate.py.

generate.blacklist_settings_keys = set(["wifiSecurity"])

Definition at line 86 of file generate.py.

dictionary generate.C_TYPE_MAP
Initial value:
1 = {
2  "bool": "bool",
3  "u8": "int32_t",
4  "i8": "int32_t",
5  "u16": "int32_t",
6  "i16": "int32_t",
7  "u32": "int32_t",
8  "i32": "int32_t",
9  "u64": "int32_t",
10  "i64": "int32_t",
11  "float": "double", # for rosparam
12  "double": "double",
13  "string": "std::string",
14  "enum": "int32_t"
15 }

Definition at line 70 of file generate.py.

dictionary generate.DYN_TYPE_MAP
Initial value:
1 = {
2  "bool": "bool_t",
3  "u8": "int_t",
4  "i8": "int_t",
5  "u16": "int_t",
6  "i16": "int_t",
7  "u32": "int_t",
8  "i32": "int_t",
9  "u64": "int_t",
10  "i64": "int_t",
11  "float": "double_t",
12  "double": "double_t",
13  "string": "str_t",
14  "enum": "enum"
15 }

Definition at line 54 of file generate.py.

string generate.LIBARCOMMANDS_GIT_HASH = "ab28dab91845cd36c4d7002b55f70805deaff3c8"

Definition at line 17 of file generate.py.

string generate.LIBARCOMMANDS_GIT_OWNER = "Parrot-Developers"

Definition at line 16 of file generate.py.

generate.min_max_regex = re.compile('\[([0-9\.\-]+)\:([0-9\.\-]+)\]')

Definition at line 88 of file generate.py.

generate.rend = pystache.Renderer()

Definition at line 89 of file generate.py.

dictionary generate.ROS_TYPE_MAP
Initial value:
1 = {
2  "bool": "bool",
3  "u8": "uint8",
4  "i8": "int8",
5  "u16": "uint16",
6  "i16": "int16",
7  "u32": "uint32",
8  "i32": "int32",
9  "u64": "uint64",
10  "i64": "int64",
11  "float": "float32",
12  "double": "float64",
13  "string": "string",
14  "enum": "enum"
15 }

Definition at line 20 of file generate.py.



bebop_driver
Author(s): Mani Monajjemi
autogenerated on Mon Jun 10 2019 12:58:57