IVALab Python Libraries
Collection of code for computer vision and robotics with specific API.
Classes | Namespaces | Functions
puzzlebot.py File Reference

Classes

class  CfgPuzzleTrial
 Configuration node for a puzzle solving trial. More...
 
class  CoSolveMonitorStatePublisher
 
class  PuzzleTrial
 Puzzle trial instance for managing a given study. More...
 

Namespaces

 superviseit.puzzlebot
 Contains information about the Puzzlebot studies.
 

Functions

def analyze_human_effort (file_path, mask)
 
def analyze_human_tending (file_path)
 
def analyze_progress (file_path)
 
def analyze_robot_effort (file_path, mask, progress_start_time=None, output_figure_path="robot_effort_over_time.png")
 
def classify_action (row, mask)
 
def compute_duration (row)
 
def generate_plots (solve_effort, progress, output_figure_path, mask, bag_start_time=None)
 
def get_bag_start_time (bag_file)
 
def label_at_pixel (x_coord, y_coord, mask)
 
def monitor_cosolve (theRobot, maryCam, matMonitor, outPath)
 
def monitor_cosolve_action (theRobot, maryCam, matMonitor, outPath, action_name='/cosolve', showStatus=False, pubStatus=False)
 Record and process frames while a co-solve action goal is active. More...
 
def monitor_solve (theRobot, maryCam, matMonitor, outPath)
 
def monitor_sort (theRobot, maryCam, matMonitor, outPath)
 
def Perception_Setup (theRobot, zoneFile, theActivity, useMonitor)
 
def process_raw_data (evst, perf, camExt, zones_mask)
 
def robot_estimate (perf_model_file, effort_file, camExt, mask)
 
def Trial_Over (bagProc, statProc)
 
def Trial_Prefix ()
 
def Trial_Record (theRobot, outPath, prefix=None)