input topics for ObjectDetection skill + OD skill
This commit is contained in:
parent
ccc1e2da4b
commit
f0e09812ee
3 changed files with 99 additions and 0 deletions
6
web_p/camera_info_topic.json
Normal file
6
web_p/camera_info_topic.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"_id": "67b43b59ba78351d1a11d74a",
|
||||
"name": "/rgbd_camera/camera_info",
|
||||
"type": "sensor_msgs/msg/CameraInfo",
|
||||
"__v": 0
|
||||
}
|
6
web_p/image_topic.json
Normal file
6
web_p/image_topic.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"_id": "67b43b20ba78351d1a11d747",
|
||||
"name": "/rgbd_camera/image",
|
||||
"type": "sensor_msgs/msg/Image",
|
||||
"__v": 0
|
||||
}
|
87
web_p/od_skill.json
Normal file
87
web_p/od_skill.json
Normal file
|
@ -0,0 +1,87 @@
|
|||
{
|
||||
"_id": "67b33b15f3412f3530fdb337",
|
||||
"bgColor": "rgba(5, 26, 39, 1)",
|
||||
"borderColor": "rgba(25, 130, 196, 1)",
|
||||
"SkillPackage": { "name": "Robossembler", "version": "1", "format": "1.0" },
|
||||
"Module": { "node_name": "lc_yolo", "name": "ObjectDetection", "description": "Object detection skill with YOLOv8" },
|
||||
"BTAction": [
|
||||
{
|
||||
"name": "odConfigure",
|
||||
"type": "run",
|
||||
"param": [
|
||||
{
|
||||
"type": "topic",
|
||||
"dependency": {
|
||||
"type": "topic",
|
||||
"topicType": "sensor_msgs/msg/CameraInfo"
|
||||
},
|
||||
"isFilled": false
|
||||
},
|
||||
{
|
||||
"type": "topic",
|
||||
"dependency": {
|
||||
"type": "topic",
|
||||
"topicType": "sensor_msgs/msg/Image"
|
||||
},
|
||||
"isFilled": false
|
||||
},
|
||||
{
|
||||
"type": "formBuilder",
|
||||
"dependency": {
|
||||
"result": "{\"process\":\\${<SelectProcess/>:OBJECT:{\"type\":\"WEIGHTS\"},\"object_name\":\\${object_name:string:}}",
|
||||
"context": "",
|
||||
"form": [],
|
||||
"output": "",
|
||||
"type": "formBuilder"
|
||||
},
|
||||
"isFilled": false
|
||||
}
|
||||
],
|
||||
"typeAction": "ACTION"
|
||||
},
|
||||
{
|
||||
"name": "odStop",
|
||||
"type": "stop",
|
||||
"param": [],
|
||||
"typeAction": "ACTION"
|
||||
},
|
||||
{
|
||||
"name": "isDetectionRun",
|
||||
"type": "if",
|
||||
"param": [],
|
||||
"typeAction": "CONDITION"
|
||||
},
|
||||
{
|
||||
"name": "isDetection",
|
||||
"type": "if",
|
||||
"param": [],
|
||||
"typeAction": "CONDITION"
|
||||
}
|
||||
],
|
||||
"topicsOut": [
|
||||
{
|
||||
"name": "lc_yolo/object_detection",
|
||||
"type": "rbs_skill_interfaces/msg/BoundBox"
|
||||
},
|
||||
{
|
||||
"name": "lc_yolo/detect_image",
|
||||
"type": "sensor_msgs/msg/Image"
|
||||
}
|
||||
],
|
||||
"Launch": {
|
||||
"executable": "od_yolo_lc.py",
|
||||
"package": "rbss_objectdetection"
|
||||
},
|
||||
"Settings": {
|
||||
"result": "{\"params\": \\${ITEM:Array<ITEM>:[]}}",
|
||||
"context": "type ITEM = {\"name\": \\${NAME:string:default},\"value\": \\${VALUE:string:default}};",
|
||||
"form": [
|
||||
"{\"name\":\"ITEM\",\"type\":\"Array\",\"defaultValue\":\"[]\",\"values\":[{\"name\":\"NAME\",\"type\":\"string\",\"defaultValue\":\"default\",\"isOpen\":false,\"id\":\"fa8b442a-101b-448b-b5fd-55ad64f8e578\"},{\"name\":\"VALUE\",\"type\":\"string\",\"defaultValue\":\"default\",\"isOpen\":false,\"id\":\"c59b86d8-a54b-42da-b2bf-5fdfeff7f711\"}],\"totalValue\":[],\"isOpen\":true,\"subType\":\"ITEM\",\"id\":\"8be7af67-5860-4a3f-bdab-09c75a53bff7\"}"
|
||||
],
|
||||
"output": {
|
||||
"params": []
|
||||
},
|
||||
"type": "formBuilder"
|
||||
},
|
||||
"__v": 0
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue