orca-robotics


INTRODUCTION
Overview
Download and Install
Quick Start
Documentation
Publications

REPOSITORY
Interfaces
Components
Libraries
Utilities
Software Map

DEVELOPER
Tutorials
Examples
Dev Guide
Dashboard
Wiki
login/pass: orca/orca

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

orcalogfactory Namespace Reference

A factory of all logging and replaying elements. More...


Classes

class  GenericAutoLogger
class  GenericSnapshotLogger

Stringify Orca structures for logging.

std::string toLogString (const orca::Waypoint2d &)
 Prints out waypoint2d to text which is easy to parse.
void fromLogString (std::stringstream &, orca::Waypoint2d &)
 Parses from ASCII log.
std::string toLogString (const orca::Path2d &)
 Prints out Path2d to text which is easy to parse.
std::string toLogString (const orca::CpuData &)
 Prints out cpu data to text which is easy to parse.
std::string toLogString (const orca::GpsData &)
 Prints out gps data to text which is easy to parse.
void fromLogString (std::stringstream &stream, orca::GpsData &)
 Parses from ASCII log. Throws orcalog::ParseException on error.
std::string toLogString (const orca::Localise2dData &obj)
 Prints out localise2d data to text which is easy to parse.
std::string toLogString (const orca::Localise3dData &obj)
 Prints out localise3d data to text which is easy to parse.
std::string toLogString (const orca::Odometry2dData &obj)
 Prints out Odometry2d data to text which is easy to parse.
std::string toLogString (const orca::Odometry3dData &obj)
 Prints out Odometry3d data to text which is easy to parse.
std::string toLogString (const orca::DriveBicycleData &obj)
 Prints out DriveBicycleData to text which is easy to parse.
std::string toLogString (const orca::PowerData &)
 Prints out Power data to text which is easy to parse.
void fromLogString (std::stringstream &stream, orca::PowerData &)
 Parses a line of ASCII log. Throws orcalog::ParseException on error.
std::string toLogString (const orca::PathPlanner2dTask &)
 Prints out task path (coarse) to text in a parsable format.
std::string toLogString (const orca::PathPlanner2dData &)
 Prints out resulting fine path to text in a parsable format.
std::string toLogString (const orca::Time &)
 Returns string in simple format "sec usec".
void fromLogString (std::stringstream &stream, orca::Time &)
 Parses a line of ASCII log. Throws orcalog::ParseException on error.
std::string toLogString (const orca::WifiData &obj)
 Prints out wifi data to text which is easy to parse.
std::string toLogString (const orca::ImuData &obj)
 Prints out imu data to text which is easy to parse.
std::string toLogString (const orca::GpsDescription &)
 Prints out gpsdescription to text which is easy to parse.
void fromLogString (std::stringstream &stream, orca::GpsDescription &)
 Parses from ASCII log. Throws orcalog::ParseException on error.
std::string toLogString (const orca::VehicleGeometryDescriptionPtr &)
 Converts vehicle geometry to text which is easy to parse.


Detailed Description

A factory of all logging and replaying elements.

This library contains logging and replaying classes, one for each interface.

See also:
libOrcaLog

Logger

libOrcaLogFactory


Function Documentation

std::string orcalogfactory::toLogString const orca::DriveBicycleData obj  ) 
 

Prints out DriveBicycleData to text which is easy to parse.

One data structure per line. {time stamp} {reference command} {current control state}

  • time stamp
    • (int) seconds
    • (int) microseconds
  • reference command
    • (double) speed [m/s]
    • (double) steer angle [deg]
  • current control state
    • (double) speed [m/s]
    • (double) steer angle [deg]

std::string orcalogfactory::toLogString const orca::Odometry3dData obj  ) 
 

Prints out Odometry3d data to text which is easy to parse.

  • line1: timestamp in seconds and microseconds of Unix time
  • line2: {3D pose}
  • line3: {3D velocities}

Components of both pose and velocities are written in this order {x y z roll pitch yaw}.

Units: positions are in [m], angles are in [deg], linear velocities are in [m/s], angular velocities are in [deg/s]

std::string orcalogfactory::toLogString const orca::Odometry2dData obj  ) 
 

Prints out Odometry2d data to text which is easy to parse.

  • line1: timestamp in seconds and microseconds of Unix time
  • line2: {2D pose} {2D velocities}

Components of both pose and velocities are written in this order {x y yaw}.

Units: positions are in [m], angles are in [deg], linear velocities are in [m/s], angular velocities are in [deg/s]

std::string orcalogfactory::toLogString const orca::Localise3dData obj  ) 
 

Prints out localise3d data to text which is easy to parse.

  • line1: timestamp in seconds and microseconds of Unix time
  • line2: number of hypotheses (N)
  • line3: hypothesis 1: {means covariances weight}. For element order see below.
  • ...
  • line2+N: hypothesis N

The state is written in this order: {x y z roll pitch yaw}

The covariance matrix (its upper triangle) is written rows first, e.i. {xx xy xz xroll xpitch xyaw yy yz yroll...}

Units: means are in [m], angles are in [deg].

std::string orcalogfactory::toLogString const orca::Localise2dData obj  ) 
 

Prints out localise2d data to text which is easy to parse.

  • line1: timestamp in seconds and microseconds of Unix time
  • line2: number of hypotheses (N)
  • line3: hypothesis 1: {means covariances weight}. For element order see below.
  • ...
  • line2+N: hypothesis N

The state is written in this order: {x y yaw}

The covariance matrix is written in this order, e.i. {xx xy yy xyaw yyaw yawyaw}

Units: means are in [m], angles are in [deg].

 

Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)


Generated for Orca Robotics by  doxygen 1.4.5