Functions | |
| def | calculate_average |
| def | get_evaluation_period |
| def | get_rms_angular_velocity_error |
| def | get_rms_position_error |
| def | get_score |
| def | get_settling_time |
| def | initialize |
| def | no_collisions_occured |
| def | plot_angular_velocities |
| def | plot_positions |
| def | print_scoring |
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 217 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 255 of file helpers.py.
| def rosbag_tools.helpers.get_rms_position_error | ( | positions, | |
| position_set_point, | |||
| index, | |||
print_output = True |
|||
| ) |
Definition at line 246 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 231 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 289 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 266 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.
| string rosbag_tools::helpers::__author__ = "Fadri Furrer, Michael Burri, Markus Achtelik" |
Definition at line 7 of file helpers.py.
00001 ("Copyright 2015, Fadri Furrer & Michael Burri & " 00002 "Markus Achtelik, ASL, ETH Zurich, Switzerland")
Definition at line 8 of file helpers.py.
| list rosbag_tools::helpers::__credits__ = ["Fadri Furrer", "Michael Burri", "Markus Achtelik"] |
Definition at line 10 of file helpers.py.
| string rosbag_tools::helpers::__email__ = "fadri.furrer@mavt.ethz.ch" |
Definition at line 14 of file helpers.py.
| string rosbag_tools::helpers::__license__ = "ASL 2.0" |
Definition at line 11 of file helpers.py.
| string rosbag_tools::helpers::__maintainer__ = "Fadri Furrer" |
Definition at line 13 of file helpers.py.
| string rosbag_tools::helpers::__status__ = "Development" |
Definition at line 15 of file helpers.py.
| string rosbag_tools::helpers::__version__ = "0.1" |
Definition at line 12 of file helpers.py.