Compositor
For clients to the Spot CAM Compositor service.
- class bosdyn.client.spot_cam.compositor.CompositorClient[source]
Bases:
BaseClient
A client calling Spot CAM Compositor services.
- default_service_name = 'spot-cam-compositor'
- service_type = 'bosdyn.api.spot_cam.CompositorService'
- set_ir_colormap(colormap, min_temp, max_temp, auto_scale, **kwargs)[source]
Set IR colormap to use on Spot CAM
- Parameters:
colormap (bosdyn.api.spot_cam.compositor_pb2.IrColorMap.ColorMap) – IR display colormap
min_temp (Float) – minimum temperature on the temperature scale
max_temp (Float) – maximum temperature on the temperature scale
auto_scale (Boolean) – Auto-scale the color map. This is the most human-understandable option. min_temp and max_temp are ignored if this is set to True
kwargs – extra arguments for controlling RPC details.
- set_ir_colormap_async(colormap, min_temp, max_temp, auto_scale, **kwargs)[source]
Async version of set_ir_colormap()
- set_ir_meter_overlay(x, y, enable, unit, **kwargs)[source]
Set IR reticle position to use on Spot CAM IR
- Parameters:
x (Float) – (0,1) horizontal coordinate of reticle
y (Float) – (0,1) vertical coordinate of reticle
enable (Boolean) – Enable the reticle on the display
unit (TempUnit) – Temperature unit to display
kwargs – extra arguments for controlling RPC details.
- set_ir_meter_overlay_async(x, y, enable, unit, **kwargs)[source]
Async version of set_ir_meter_overlay()
- set_multi_ir_meter_overlay(coords, enable, unit, **kwargs)[source]
Set multiple IR reticle positions to use on Spot CAM IR
- Parameters:
coords (List[Tuple(Float, Float)]) – List of (x, y) reticle coordinates in range (0,1) e.g. [(0.1, 0.2), (0.2, 0.4), (0.7, 0.7)]
enable (Boolean) – Enable the reticles on the display
unit (TempUnit) – Temperature unit to display
kwargs – extra arguments for controlling RPC details.