Skip to content

Commit

Permalink
APP-1951 - update vision default function (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kschappacher authored Jun 23, 2023
1 parent af597b1 commit 0e677a9
Showing 1 changed file with 24 additions and 16 deletions.
40 changes: 24 additions & 16 deletions examples/apis.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,26 @@
{
"base": "is_moving",
"board": "gpio_pin_by_name",
"camera": "get_image",
"encoder": "get_position",
"motor": "is_moving",
"sensor": "get_readings",
"servo": "get_position",
"arm": "get_end_position",
"gantry": "get_lengths",
"gripper": "is_moving",
"movement_sensor": "get_linear_acceleration",
"input_controller": "get_controls",
"audio": "get_properties",
"pose_tracker": "get_poses",
"motion": "get_pose",
"vision": "get_detector_names"
"base": { "func": "is_moving" },
"board": {
"func": "gpio_pin_by_name",
"comment": "Note that the pin supplied is a placeholder. Please change this to a valid pin you are using.",
"args": ["\"16\""]
},
"camera": { "func": "get_image" },
"encoder": { "func": "get_position" },
"motor": { "func": "is_moving" },
"sensor": { "func": "get_readings" },
"servo": { "func": "get_position" },
"arm": { "func": "get_end_position" },
"gantry": { "func": "get_lengths" },
"gripper": { "func": "is_moving" },
"movement_sensor": { "func": "get_linear_acceleration" },
"input_controller": { "func": "get_controls" },
"audio": { "func": "get_properties" },
"pose_tracker": { "func": "get_poses" },
"motion": { "func": "get_pose" },
"vision": {
"func": "get_classifications_from_camera",
"args": ["YOURCAMERANAME", "1"],
"comment": "Note that the Camera supplied is a placeholder. Please change this to a valid Camera."
}
}

0 comments on commit 0e677a9

Please sign in to comment.