diff --git a/web_p/camera_info_topic.json b/web_p/camera_info_topic.json new file mode 100644 index 0000000..f7006fd --- /dev/null +++ b/web_p/camera_info_topic.json @@ -0,0 +1,6 @@ +{ + "_id": "67b43b59ba78351d1a11d74a", + "name": "/rgbd_camera/camera_info", + "type": "sensor_msgs/msg/CameraInfo", + "__v": 0 +} \ No newline at end of file diff --git a/web_p/image_topic.json b/web_p/image_topic.json new file mode 100644 index 0000000..b8a7e1a --- /dev/null +++ b/web_p/image_topic.json @@ -0,0 +1,6 @@ +{ + "_id": "67b43b20ba78351d1a11d747", + "name": "/rgbd_camera/image", + "type": "sensor_msgs/msg/Image", + "__v": 0 +} \ No newline at end of file diff --git a/web_p/od_skill.json b/web_p/od_skill.json new file mode 100644 index 0000000..34d2e50 --- /dev/null +++ b/web_p/od_skill.json @@ -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\":\\${: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:[]}}", + "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 +} \ No newline at end of file