Functions | |
def | load_params_from_yaml |
Variables | |
config_yaml = PRIVATE_CONFIG_YAML | |
string | full_path = '/config/' |
tuple | pkg_path = rp.get_path(PRIVATE_PKG_NAME) |
string | PRIVATE_CONFIG_YAML = 'reemc_motions.yaml' |
string | PRIVATE_PKG_NAME = 'reemc_motions_proprietary' |
pub_config_yaml = PUBLIC_CONFIG_YAML | |
string | pub_full_path = '/config/' |
tuple | pub_pkg_path = rp.get_path(PUBLIC_PKG_NAME) |
string | PUBLIC_CONFIG_YAML = 'reemc_motions.yaml' |
string | PUBLIC_PKG_NAME = 'reemc_bringup' |
tuple | rp = RosPack() |
def motions_loader.load_params_from_yaml | ( | complete_file_path | ) |
Gets the params from a yaml file given the complete path of the file and uploads those to the param server. This is convenience function as rosparam.load_file does not give this functionality as found here: http://answers.ros.org/question/169866/load-yaml-with-code/
Definition at line 40 of file motions_loader.py.
Definition at line 61 of file motions_loader.py.
string motions_loader::full_path = '/config/' |
Definition at line 62 of file motions_loader.py.
tuple motions_loader::pkg_path = rp.get_path(PRIVATE_PKG_NAME) |
Definition at line 60 of file motions_loader.py.
string motions_loader::PRIVATE_CONFIG_YAML = 'reemc_motions.yaml' |
Definition at line 37 of file motions_loader.py.
string motions_loader::PRIVATE_PKG_NAME = 'reemc_motions_proprietary' |
Definition at line 34 of file motions_loader.py.
Definition at line 55 of file motions_loader.py.
string motions_loader::pub_full_path = '/config/' |
Definition at line 56 of file motions_loader.py.
tuple motions_loader::pub_pkg_path = rp.get_path(PUBLIC_PKG_NAME) |
Definition at line 54 of file motions_loader.py.
string motions_loader::PUBLIC_CONFIG_YAML = 'reemc_motions.yaml' |
Definition at line 38 of file motions_loader.py.
string motions_loader::PUBLIC_PKG_NAME = 'reemc_bringup' |
Definition at line 35 of file motions_loader.py.
tuple motions_loader::rp = RosPack() |
Definition at line 52 of file motions_loader.py.