These example programs show how to get and set gripper camera parameters. Parameters do not persist across reboots.
For your best learning experience, please use the Quickstart Guide found in the SDK's docs/python directory. That will help you get your Python programming environment set up properly.
This example requires the bosdyn API and client to be installed, and must be run using python3. Using pip, these dependencies can be installed using:
python3 -m pip install -r requirements.txt
To run the example for getting current camera parameters:
python3 get_gripper_camera_params.py ROBOT_IP
To run the example for setting camera parameters:
python3 set_gripper_camera_params.py ROBOT_IP --PARAMETER_FLAG PARAMETER_VALUE
To run the example for setting the focus region of the camera:
python3 set_focus_region.py ROBOT_IP