INTRODUCTION
Overview
Download and Install
Quick Start
Documentation
Publications

NONFRAMEWORK CODE
Driver Interfaces
Drivers
Libraries
Utilities

FRAMEWORK CODE
Interfaces
Components
Libraries
Utilities

Full Software Listings

DEVELOPER
Tutorials
Examples
Dev Guide
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

orcalogfactory Namespace Reference

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

Functions

Stringify Orca structures for logging.



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::RangeScanner2dDescription &obj)
void fromLogString (std::stringstream &s, orca::RangeScanner2dDescription &obj)
std::string toLogString (const orca::LaserScanner2dDataPtr &obj)
void fromLogString (std::stringstream &s, orca::LaserScanner2dData &obj)
std::string toLogString (const orca::Localise2dData &obj)
void fromLogString (std::stringstream &s, orca::Localise2dData &obj)
std::string toLogString (const orca::Localise3dData &obj)
 Prints out localise3d 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::PolarFeature2dData &)
 Prints out polarfeature2d data 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.
void fromLogString (std::stringstream &s, orca::VehicleGeometryDescriptionPtr &obj)
std::string toLogString (const orca::VehicleDescription &)
 Converts vehicle description to text which is easy to parse.
std::string toLogString (const orca::CameraDescriptionPtr &obj)
void fromLogString (std::stringstream &s, orca::CameraDescription &obj)
std::string toLogString (const orca::ImageDataPtr &obj)
void fromLogString (std::stringstream &s, orca::ImageData &obj)
std::string toLogString (const orca::MultiCameraDescriptionPtr &obj)
void fromLogString (std::stringstream &s, orca::MultiCameraDescription &obj)
std::string toLogString (const orca::MultiCameraDataPtr &obj)
void fromLogString (std::stringstream &s, orca::MultiCameraData &obj)
void fromLogString (std::stringstream &, orca::VehicleDescription &)

Detailed Description

A factory of all logging and replaying elements.

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

See also:
libOrcaLog
LogRecorder
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::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].

 

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


Generated for Orca Robotics by  doxygen 1.4.5