IVALab Python Libraries
Collection of code for computer vision and robotics with specific API.
Public Member Functions | Public Attributes | List of all members
CoSolveMonitorStatePublisher Class Reference

Public Member Functions

def __init__ (self, topic='/cosolve_monitor/state', rate_hz=5.0)
 
def finish_trial (self)
 
def publish (self, force=False)
 
def start_trial (self, goal_id)
 
def update (self, visible, missing, solved)
 

Public Attributes

 goal_id
 
 last_publish_time
 
 missing
 
 period
 
 publisher
 
 solved
 
 trial_active
 
 visible
 

Detailed Description

Publish throttled snapshots of the co-solve monitor state.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  topic = '/cosolve_monitor/state',
  rate_hz = 5.0 
)

Member Function Documentation

◆ finish_trial()

def finish_trial (   self)

◆ publish()

def publish (   self,
  force = False 
)

◆ start_trial()

def start_trial (   self,
  goal_id 
)

◆ update()

def update (   self,
  visible,
  missing,
  solved 
)

Member Data Documentation

◆ goal_id

goal_id

◆ last_publish_time

last_publish_time

◆ missing

missing

◆ period

period

◆ publisher

publisher

◆ solved

solved

◆ trial_active

trial_active

◆ visible

visible

The documentation for this class was generated from the following file: