Classes | Functions | Variables
rosbag_tools.analyze_bag Namespace Reference

Classes

class  AnalyzeBag
 
class  ArrayWithTime
 
class  BaseWithTime
 
class  QuatWithTime
 
class  RPYWithTime
 
class  WaypointWithTime
 
class  WrenchWithTime
 
class  XYZWithTime
 

Functions

def compare_two_xyz (xyz_one, xyz_two)
 
def create_set_point (x, y, z)
 
def create_topic_list (topics_string)
 
def get_errors_pos_only (xyz_one, quat_one, xyz_two, restart_distance, alignment_length, t_vs=numpy.eye(4), time_offset=0)
 
def settling_time (set_point, input_series, bounding_radius, min_time)
 
def work (input_series, work_constant)
 
def xyz_rms_error (set_point, input_series)
 

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"
 

Function Documentation

◆ compare_two_xyz()

def rosbag_tools.analyze_bag.compare_two_xyz (   xyz_one,
  xyz_two 
)

Definition at line 633 of file analyze_bag.py.

◆ create_set_point()

def rosbag_tools.analyze_bag.create_set_point (   x,
  y,
  z 
)
Create a XYZWithTime set point.

Definition at line 739 of file analyze_bag.py.

◆ create_topic_list()

def rosbag_tools.analyze_bag.create_topic_list (   topics_string)

Definition at line 730 of file analyze_bag.py.

◆ get_errors_pos_only()

def rosbag_tools.analyze_bag.get_errors_pos_only (   xyz_one,
  quat_one,
  xyz_two,
  restart_distance,
  alignment_length,
  t_vs = numpy.eye(4),
  time_offset = 0 
)

Definition at line 719 of file analyze_bag.py.

◆ settling_time()

def rosbag_tools.analyze_bag.settling_time (   set_point,
  input_series,
  bounding_radius,
  min_time 
)
Calculate the settling time of input_series to be bounded for min_time.

Args:
    set_point: XYZWithTime of the reference point
    input_series (list): XYZWithTime of the points that should be evaluated
    bounding_radius: Float of the radius of the bounding sphere
    min_time: Float of the time, the input_series has to stay within bounds

Returns:
    settling_time: Float of the time for input_series to be settled

Definition at line 661 of file analyze_bag.py.

◆ work()

def rosbag_tools.analyze_bag.work (   input_series,
  work_constant 
)
Calculate the work of input_series.

Args:
    input_series (list): ArrayWithTime of the motor velocities
    work_constant: Float of the (rotor_constant * moment_constant) constant

Returns:
    total_work: Float of the work done in input_series

Definition at line 695 of file analyze_bag.py.

◆ xyz_rms_error()

def rosbag_tools.analyze_bag.xyz_rms_error (   set_point,
  input_series 
)
Calculate the RMS error between a set_point and the points in input_series.

Args:
    set_point: XYZWithTime of the reference point
    input_series (list): XYZWithTime of the points that should be evaluated

Returns:
    rms: Float of the RMS Error of the XYZWithTime input_series

Definition at line 638 of file analyze_bag.py.

Variable Documentation

◆ __author__

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

Definition at line 13 of file analyze_bag.py.

◆ __copyright__

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

Definition at line 14 of file analyze_bag.py.

◆ __credits__

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

Definition at line 16 of file analyze_bag.py.

◆ __email__

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

Definition at line 20 of file analyze_bag.py.

◆ __license__

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

Definition at line 17 of file analyze_bag.py.

◆ __maintainer__

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

Definition at line 19 of file analyze_bag.py.

◆ __status__

string rosbag_tools.analyze_bag.__status__ = "Development"
private

Definition at line 21 of file analyze_bag.py.

◆ __version__

string rosbag_tools.analyze_bag.__version__ = "0.1"
private

Definition at line 18 of file analyze_bag.py.



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