WUT Velma robot API
|
Documentation describes high level python interface to control system of Velma robot.
The robot can be controlled using class defined in velma_interface.py.
Motion planning is done through planner python interface defined in rcprg_planner.py.
Integration tests are presented in module Intergation tests and they can be used:
Additionally, utilities provide useful scripts and ROS launch files.
The most importatnt classes are:
Please follow the steps described in page Set up: Velma.
The setup.bash script of the top level workspace must be sourced in each terminal. Usually setup.bash script is in devel or install space of top level workspace.
roscore
RE of simulated Velma robot:
roslaunch velma_sim_gazebo velma_gazebo_re.launch
Please refer to documentation of velma_sim_gazebo_readme for details about launch file arguments.
VE of simulated Velma robot:
roslaunch velma_core_ve_body velma_core_ve_body.launch
Please refer to documentation of velma_core_ve_body for details about launch file arguments.
CS of core agent:
roslaunch velma_core_cs velma_core_cs.launch
Please refer to documentation of velma_core_cs for details about launch file arguments.
CS of task agent:
roslaunch velma_task_cs_ros_interface velma_task_cs_ros_interface.launch
Please refer to documentation of velma_task_cs_ros_interface for details about launch file arguments.
or all subsystems together:
roslaunch velma_common velma_system.launch
Please refer to velma_common for details about launch file arguments.
The following commands should be executed in multiple terminals. In each terminal, workspace configuration file should be sourced:
source path_to_workspace/top/devel/setup.bash
and ROS master URI should be set to lwr-controller:
export ROS_MASTER_URI=http://lwr-controller:11311
roscore
roslaunch velma_ec_driver velma_ec_re.launch
roslaunch velma_core_re_lwr velma_re_lwr_r.launch
roslaunch velma_core_re_lwr velma_re_lwr_l.launch
Run virtual effector of whole body:
roslaunch velma_core_ve_body velma_core_ve_body.launch cset:=true
the cset roslaunch argument indicates that the subsystem should run on single, predefined cpu.
Run control subsystem of the core agent:
roslaunch velma_core_cs velma_core_cs.launch cset:=true
the cset roslaunch argument indicates that the subsystem should run on single, predefined cpu.
roslaunch velma_task_cs_ros_interface velma_task_cs_ros_interface.launch