-
Notifications
You must be signed in to change notification settings - Fork 20
tms_ts_ts
@pkg: break requested task down into its constituent parts(SUBTASKs)
generate python script for task executing. Subtask will be operated in sequential or parallel through task executing machine "smach".(SMACH:smach)
💬tms_ts_master : Receive user requests and store them to the list, manage the execution of subtasks and notification of errors (state_control)
💬tms_ts_nodelet : Decompose a task to subtasks, execute SMACH scripts using parameters defined in user requests.
- Preparation
roscore
roslaunch tms_db_manager tms_db_manager.launch
rosrun tms_ss_vicon vicon_stream(+ vicon tracker)
cd ~/choreonoid && bin/choreonoid(+ push necessary buttons)
robots' driver
// In move,grasp, and give tasks,
// it is assumed that TMS_RC for SmartPal V waits for the return command of each operation
// Note that smartpal5_2 has locally revised functions.
- Start TS and Smach Viewer
// run ts_master
rosrun tms_ts_ts ts_master
// run smach_viewer
rosrun smach_viewer smach_viewer.py
sudo apt-get install ros-indigo-smach-viewer
⭐ fix a bug
rewrite the 480th row of the /opt/ros/indigo/lib/python2.7/dist-packages/xdot/xdot.py
return int(self.read_code()) -> return int(float(self.read_code()))
- Call service tms_msg_ts/ts_req.srv
rosservice call /tms_ts_master "{rostime: 0, task_id: 8001, robot_id: 2001, object_id: 7001, user_id: 1001, place_id: 5001, priority: 0}"
- About Id: See TMS_DB wiki
In ~/catkin_ws/src/ros_tms/tms_ts/tms_ts_smach/scripts, there is new file "YYYYMMDD_HHMMSS.py"
:shooting_star: Example:2014/5/7 16:12:51 → 201457_161251.py
You can check a state machine with smach viewer.
rosrun smach_viewer smach_viewer.py
about smach_viewer
ROS-TMS
Messages of ROS-TMS
Database
Task Scheduler
Robot Controller
Robot Motion Planning
Robot Service
Sensor Drive
Sensor System
- tms_ss_fss
- tms_ss_his
- tms_ss_ics
- tms_ss_ods
- tms_ss_vicon
- tms_ss_vs
- tms_ss_pot
- tms_ss_nfbed
- tms_ss_whs1
- tms_ss_pozyx
State Analyzer
User Request
Network module for Hierarchical ROS-TMS
ROS-TMS Developer
ETC.