Configuration scheme of a skill
This commit is contained in:
parent
b4952d0234
commit
b26193655b
3 changed files with 38 additions and 40 deletions
|
@ -9,6 +9,7 @@ bt_engine:
|
||||||
"rbs_pose_estimation",
|
"rbs_pose_estimation",
|
||||||
"rbs_object_detection",
|
"rbs_object_detection",
|
||||||
"rbs_env_manager_starter",
|
"rbs_env_manager_starter",
|
||||||
"rbs_skill_move_topose_array_bt_action_client"
|
"rbs_skill_move_topose_array_bt_action_client",
|
||||||
|
"rbs_interface"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"name": "PoseEstimation", "description": "Pose Estimation skill with DOPE"
|
"name": "PoseEstimation", "description": "Pose Estimation skill with DOPE"
|
||||||
},
|
},
|
||||||
"Launch": {
|
"Launch": {
|
||||||
"executable": "pose_estimation_lifecycle.py"
|
"executable": "pe_dope_lc.py"
|
||||||
},
|
},
|
||||||
"ROS2": {
|
"ROS2": {
|
||||||
"node_name": "lc_dope"
|
"node_name": "lc_dope"
|
||||||
|
@ -27,42 +27,5 @@
|
||||||
"result":[]
|
"result":[]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Interface": {
|
"Settings": []
|
||||||
"Input": [
|
|
||||||
{
|
|
||||||
"name": "cameraLink", "type": "CAMERA"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "object_name", "type": "MODEL"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"Output":
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"name": "pose_estimation_topic", "type": "POSE"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"Settings": [
|
|
||||||
{
|
|
||||||
"name": "cameraLink", "value": "inner_rgbd_camera"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "pose", "value": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "publishDelay", "value": 0.5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "tf2_send_pose", "value": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "mesh_scale", "value": 0.001
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"xxx": {
|
|
||||||
"cameraLink":"inner_rgbd_camera",
|
|
||||||
"topicImage":"/inner_rgbd_camera/image",
|
|
||||||
"topicCameraInfo":"/inner_rgbd_camera/camera_info"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
34
rbs_perception/config/skill_scheme.json
Normal file
34
rbs_perception/config/skill_scheme.json
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
ENUM CFG_FORMAT = "yaml","json"
|
||||||
|
ENUM ACTION_TYPE = "run","stop"
|
||||||
|
|
||||||
|
BTACTION = {
|
||||||
|
"name": ${NAME:string:"Configure"},
|
||||||
|
"format": ${enum:CFG_FORMAT:"yaml"},
|
||||||
|
"type": ${enum:ACTION_TYPE:"run"},
|
||||||
|
"param": ${ARRAY:string:[]},
|
||||||
|
"result": ${ARRAY:string:[]}
|
||||||
|
}
|
||||||
|
SETTING = {
|
||||||
|
"name": ${NAME:string:""},
|
||||||
|
"value": ${VALUE:string:""}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"SkillPackage": {
|
||||||
|
"name": ${NAME:constant:"Robossembler"},
|
||||||
|
"version": ${VERSION:constant:"1.0"},
|
||||||
|
"format": ${FORMAT:constant:"1"}
|
||||||
|
},
|
||||||
|
"Module": {
|
||||||
|
"name": ${NAME:string:"skill_scheme"},
|
||||||
|
"description": ${DESCRIPTION:string:"Configuration scheme of a skill"}
|
||||||
|
},
|
||||||
|
"Launch": {
|
||||||
|
"executable": ${EXE:string:"node_lc.py"}
|
||||||
|
},
|
||||||
|
"ROS2": {
|
||||||
|
"node_name": ${NODE_NAME:string:"lc_implementation"}
|
||||||
|
},
|
||||||
|
"BTAction": ${ARRAY:BTACTION:[]},
|
||||||
|
"Settings": ${ARRAY:SETTING:[]}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue