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" |
Helper functions for the automatic evaluation of RotorS datasets.
def rosbag_tools.helpers.calculate_average | ( | list_values | ) |
Definition at line 304 of file helpers.py.
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.
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.
def rosbag_tools.helpers.get_rms_position_error | ( | positions, | |
position_set_point, | |||
index, | |||
print_output = True |
|||
) |
Definition at line 247 of file helpers.py.
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.
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.
def rosbag_tools.helpers.initialize | ( | ) |
Read the command line params, and create an analyze object.
Definition at line 40 of file helpers.py.
def rosbag_tools.helpers.no_collisions_occured | ( | analyze_bag, | |
start_time, | |||
end_time | |||
) |
Definition at line 311 of file helpers.py.
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.
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.
def rosbag_tools.helpers.print_scoring | ( | average_value, | |
max_value, | |||
value_type, | |||
unit, | |||
scores | |||
) |
Definition at line 331 of file helpers.py.
|
private |
Definition at line 7 of file helpers.py.
|
private |
Definition at line 8 of file helpers.py.
|
private |
Definition at line 10 of file helpers.py.
|
private |
Definition at line 14 of file helpers.py.
|
private |
Definition at line 11 of file helpers.py.
|
private |
Definition at line 13 of file helpers.py.
|
private |
Definition at line 15 of file helpers.py.
|
private |
Definition at line 12 of file helpers.py.