Functions | Variables
rosbag_tools.helpers Namespace Reference

Functions

def calculate_average (list_values)
 
def get_evaluation_period (waypoints, index, bag_time_start, bag_time_end, total_end_time)
 
def get_rms_angular_velocity_error (angular_velocities, angular_velocity_set_point, index, print_output=True)
 
def get_rms_position_error (positions, position_set_point, index, print_output=True)
 
def get_score (evaluated_variable, max_variable, scores)
 
def get_settling_time (positions, set_point, radius, min_time, index, print_output=True)
 
def initialize ()
 
def no_collisions_occured (analyze_bag, start_time, end_time)
 
def plot_angular_velocities (analyze_bag, start_time, end_time, settling_time, x_range, plot_suffix)
 
def plot_positions (analyze_bag, start_time, end_time, settling_time, settling_radius, set_point_position, x_range, plot_suffix)
 
def print_scoring (average_value, max_value, value_type, unit, scores)
 

Variables

string __author__ = "Fadri Furrer, Michael Burri, Markus Achtelik"
 
tuple __copyright__
 
list __credits__ = ["Fadri Furrer", "Michael Burri", "Markus Achtelik"]
 
string __email__ = "fadri.furrer@mavt.ethz.ch"
 
string __license__ = "ASL 2.0"
 
string __maintainer__ = "Fadri Furrer"
 
string __status__ = "Development"
 
string __version__ = "0.1"
 

Detailed Description

Helper functions for the automatic evaluation of RotorS datasets.

Function Documentation

◆ calculate_average()

def rosbag_tools.helpers.calculate_average (   list_values)

Definition at line 304 of file helpers.py.

◆ get_evaluation_period()

def rosbag_tools.helpers.get_evaluation_period (   waypoints,
  index,
  bag_time_start,
  bag_time_end,
  total_end_time 
)

Definition at line 218 of file helpers.py.

◆ get_rms_angular_velocity_error()

def rosbag_tools.helpers.get_rms_angular_velocity_error (   angular_velocities,
  angular_velocity_set_point,
  index,
  print_output = True 
)

Definition at line 257 of file helpers.py.

◆ get_rms_position_error()

def rosbag_tools.helpers.get_rms_position_error (   positions,
  position_set_point,
  index,
  print_output = True 
)

Definition at line 247 of file helpers.py.

◆ get_score()

def rosbag_tools.helpers.get_score (   evaluated_variable,
  max_variable,
  scores 
)
Calculate the score from the evaluated_variable.

Args:
    evaluated_variable: Float of the variable to be scored.
    max_varibale: Float of the maximum value that needs to be undershoot to
                  score.
    scores: List of Floats of the returned scores (length should be 4).
Returns:
    The score, that one gets for the evaluated_variable.

Definition at line 18 of file helpers.py.

◆ get_settling_time()

def rosbag_tools.helpers.get_settling_time (   positions,
  set_point,
  radius,
  min_time,
  index,
  print_output = True 
)

Definition at line 232 of file helpers.py.

◆ initialize()

def rosbag_tools.helpers.initialize ( )
Read the command line params, and create an analyze object. 

Definition at line 40 of file helpers.py.

◆ no_collisions_occured()

def rosbag_tools.helpers.no_collisions_occured (   analyze_bag,
  start_time,
  end_time 
)

Definition at line 311 of file helpers.py.

◆ plot_angular_velocities()

def rosbag_tools.helpers.plot_angular_velocities (   analyze_bag,
  start_time,
  end_time,
  settling_time,
  x_range,
  plot_suffix 
)

Definition at line 290 of file helpers.py.

◆ plot_positions()

def rosbag_tools.helpers.plot_positions (   analyze_bag,
  start_time,
  end_time,
  settling_time,
  settling_radius,
  set_point_position,
  x_range,
  plot_suffix 
)

Definition at line 267 of file helpers.py.

◆ print_scoring()

def rosbag_tools.helpers.print_scoring (   average_value,
  max_value,
  value_type,
  unit,
  scores 
)

Definition at line 331 of file helpers.py.

Variable Documentation

◆ __author__

string rosbag_tools.helpers.__author__ = "Fadri Furrer, Michael Burri, Markus Achtelik"
private

Definition at line 7 of file helpers.py.

◆ __copyright__

tuple rosbag_tools.helpers.__copyright__
private
Initial value:
1 = ("Copyright 2015, Fadri Furrer & Michael Burri & "
2  "Markus Achtelik, ASL, ETH Zurich, Switzerland")

Definition at line 8 of file helpers.py.

◆ __credits__

list rosbag_tools.helpers.__credits__ = ["Fadri Furrer", "Michael Burri", "Markus Achtelik"]
private

Definition at line 10 of file helpers.py.

◆ __email__

string rosbag_tools.helpers.__email__ = "fadri.furrer@mavt.ethz.ch"
private

Definition at line 14 of file helpers.py.

◆ __license__

string rosbag_tools.helpers.__license__ = "ASL 2.0"
private

Definition at line 11 of file helpers.py.

◆ __maintainer__

string rosbag_tools.helpers.__maintainer__ = "Fadri Furrer"
private

Definition at line 13 of file helpers.py.

◆ __status__

string rosbag_tools.helpers.__status__ = "Development"
private

Definition at line 15 of file helpers.py.

◆ __version__

string rosbag_tools.helpers.__version__ = "0.1"
private

Definition at line 12 of file helpers.py.



rotors_evaluation
Author(s): Fadri Furrer, Michael Burri, Mina Kamel, Janosch Nikolic, Markus Achtelik
autogenerated on Mon Feb 28 2022 23:39:00