Functions | |
def | cap_word |
def | generate_settings |
def | generate_states |
def | get_xml_url |
def | guess_min_max |
def | is_settings_tag |
def | is_state_tag |
def | load_from_url |
def | main |
def | strip_text |
def | today |
Variables | |
dictionary | BEBOP_TYPE_MAP |
tuple | blacklist_settings_keys = set(["wifiSecurity"]) |
dictionary | C_TYPE_MAP |
dictionary | DYN_TYPE_MAP |
string | LIBARCOMMANDS_GIT_HASH = "ab28dab91845cd36c4d7002b55f70805deaff3c8" |
string | LIBARCOMMANDS_GIT_OWNER = "Parrot-Developers" |
tuple | min_max_regex = re.compile('\[([0-9\.\-]+)\:([0-9\.\-]+)\]') |
tuple | rend = pystache.Renderer() |
dictionary | ROS_TYPE_MAP |
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.
dictionary generate::BEBOP_TYPE_MAP |
00001 { 00002 "bool": "U8", 00003 "u8": "U8", 00004 "i8": "I8", 00005 "u16": "U16", 00006 "i16": "I16", 00007 "u32": "U32", 00008 "i32": "I32", 00009 "u64": "U64", 00010 "i64": "I64", 00011 "float": "Float", 00012 "double": "Double", 00013 "string": "String", 00014 "enum": "I32" 00015 }
Definition at line 37 of file generate.py.
tuple generate::blacklist_settings_keys = set(["wifiSecurity"]) |
Definition at line 86 of file generate.py.
dictionary generate::C_TYPE_MAP |
00001 { 00002 "bool": "bool", 00003 "u8": "int32_t", 00004 "i8": "int32_t", 00005 "u16": "int32_t", 00006 "i16": "int32_t", 00007 "u32": "int32_t", 00008 "i32": "int32_t", 00009 "u64": "int32_t", 00010 "i64": "int32_t", 00011 "float": "double", # for rosparam 00012 "double": "double", 00013 "string": "std::string", 00014 "enum": "int32_t" 00015 }
Definition at line 70 of file generate.py.
dictionary generate::DYN_TYPE_MAP |
00001 { 00002 "bool": "bool_t", 00003 "u8": "int_t", 00004 "i8": "int_t", 00005 "u16": "int_t", 00006 "i16": "int_t", 00007 "u32": "int_t", 00008 "i32": "int_t", 00009 "u64": "int_t", 00010 "i64": "int_t", 00011 "float": "double_t", 00012 "double": "double_t", 00013 "string": "str_t", 00014 "enum": "enum" 00015 }
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.
tuple generate::min_max_regex = re.compile('\[([0-9\.\-]+)\:([0-9\.\-]+)\]') |
Definition at line 88 of file generate.py.
tuple generate::rend = pystache.Renderer() |
Definition at line 89 of file generate.py.
dictionary generate::ROS_TYPE_MAP |
00001 { 00002 "bool": "bool", 00003 "u8": "uint8", 00004 "i8": "int8", 00005 "u16": "uint16", 00006 "i16": "int16", 00007 "u32": "uint32", 00008 "i32": "int32", 00009 "u64": "uint64", 00010 "i64": "int64", 00011 "float": "float32", 00012 "double": "float64", 00013 "string": "string", 00014 "enum": "enum" 00015 }
Definition at line 20 of file generate.py.