Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes significant updates to the PTZ (Pan-Tilt-Zoom) camera control configuration and functionality. The changes involve adding new parameters for zoom control, updating the launch configuration, and modifying the PTZ node implementation to handle these new parameters and improve diagnostics.
Configuration Updates:
config/axis_m5525_ptz_config.yaml
: Added new parametersmin_zoom_step
,min_zoom_augment
, andmax_zoom_augment
for enhanced zoom control.config/ptz_config.yaml
: Added new parametersmin_zoom_augment
andmax_zoom_augment
for zoom control.Launch File Update:
launch/axis.launch
: Changed the node type fromaxis_node.py
toaxis_ptz_node.py
to use the updated PTZ node implementation.PTZ Node Implementation:
src/axis_camera/axis_ptz_node.py
:CameraParameters
for publishing zoom information.__init__
method to include new zoom parameters:min_zoom_step
,min_zoom_augment
, andmax_zoom_augment
.rosSetup
. [1] [2]setCommandPTZ
to handle zoom commands with new parameters and ensure zoom value normalization.enforcePTZLimits
.publishROS
to publish zoom parameters and normalize zoom values before publishing. [1] [2]main
function to include new zoom parameters in the argument dictionary.