Robot behavior inference system based on ROS
Robot behavior inference system based on ROS.
Given the probalistic model of a robot (e.g. robot.py) and the observed position series (e.g. test.txt), infer the actual behavior of the robot.
catkin_ws
following instrucitons in http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment#Create_a_ROS_Workspacerobot_inference
under catkin_ws/src
directorycd
to catkin_ws
source devel/setup.bash
catkin_make
cd src/robot_inference/scripts
chmod +x *.py
roscd robot_inference
roscore
rosrun robot_inference robot_inference_server.py
roscd robot_inference/src
, run rosrun robot_inference robot_inference_client [observation file]
e.g. under robot_inference/src directory rosrun robot_inference robot_inference_client test.txt
roscd robot_inference
, run rosrun robot_inference robot_inference_client.py [observation file]
e.g. under robot_inference directory rosrun robot_inference robot_inference_client.py sample/test.txt
roscd robot_inference
ROS_HOME=`pwd` roslaunch robot_inference robot_inference.launch a:="[observation file]"
e.g. under robot_inference directory ROS_HOME=`pwd` roslaunch robot_inference robot_inference.launch a:="sample/test.txt"
. Information received by client is displayed on screen.ROS package
build information
package information
package information
launch file
service
robot model
robot inference server
robot inference client (python)
robot inference client (c++)
test obervations. each line is a pair of coordinates of observed position