Disable IR Emission

This example demonstrates how to use the IREnableDisableServiceClient to enable/disable the robot’s IR light emitters in the body and hand sensors.

Understanding Spot Programming

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.

Setup Dependencies

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

Run the Example

To run the example:

python3 disable_ir_emission.py ROBOT_IP (--enable | --disable)