-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add: Area zoom ROS service for Q62 PTZ camera
Signed-off-by: Stephen Phillips <[email protected]>
- Loading branch information
1 parent
10ce7b9
commit d90e5d1
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
clearpath_outdoornav_msgs/clearpath_camera_msgs/srv/q62AreaZoom.srv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Service definition to re-position a pan-tilt-zoom camera to a specific location with a specified zoom | ||
# Used primarily for box-zoom like functionality | ||
|
||
float32 x # X location to move camera to, expressed as a fraction of image dimension (0 to 1, where 0.5 is current center) | ||
float32 y # Y location to move camera to, expressed as a fraction of image dimension (0 to 1, where 0.5 is current center) | ||
float32 zoom_factor | ||
--- | ||
bool success | ||
string message |