gazebo::common Namespace Reference

Common namespace. More...

Classes

class  Animation
 Manages an animation, which is a collection of keyframes and the ability to interpolate between the keyframes. More...
 
class  AssertionInternalError
 Class for generating Exceptions which come from gazebo assertions. More...
 
class  AudioDecoder
 An audio decoder based on FFMPEG. More...
 
class  Battery
 A battery abstraction. More...
 
class  BVHLoader
 Handles loading BVH animation files. More...
 
class  ColladaExporter
 Class used to export Collada mesh files. More...
 
class  ColladaLoader
 Class used to load Collada mesh files. More...
 
class  Color
 Defines a color. More...
 
class  Console
 Container for loggers, and global logging options (such as verbose vs. More...
 
class  Dem
 
class  Exception
 Class for generating exceptions. More...
 
class  FileLogger
 A logger that outputs messages to a file. More...
 
class  GTSMeshUtils
 Creates GTS utilities for meshes. More...
 
class  HeightmapData
 Encapsulates a generic heightmap data file. More...
 
class  Image
 Encapsulates an image. More...
 
class  ImageHeightmap
 Encapsulates an image that will be interpreted as a heightmap. More...
 
class  InternalError
 Class for generating Internal Gazebo Errors: those errors which should never happend and represent programming bugs. More...
 
class  KeyEvent
 Generic description of a keyboard event. More...
 
class  KeyFrame
 A key frame in an animation. More...
 
class  Logger
 Terminal logger. More...
 
class  Material
 Encapsulates description of a material. More...
 
class  Mesh
 A 3D mesh. More...
 
class  MeshCSG
 Creates CSG meshes. More...
 
class  MeshExporter
 Base class for exporting meshes. More...
 
class  MeshLoader
 Base class for loading meshes. More...
 
class  MeshManager
 Maintains and manages all meshes. More...
 
class  ModelDatabase
 Connects to model database, and has utility functions to find models. More...
 
class  MouseEvent
 Generic description of a mouse event. More...
 
class  MovingWindowFilter
 Base class for MovingWindowFilter. More...
 
class  NodeAnimation
 Node animation. More...
 
class  NodeAssignment
 Vertex to node weighted assignement for skeleton animation visualization. More...
 
class  NodeTransform
 NodeTransform Skeleton.hh common/common.hh More...
 
class  NumericAnimation
 A numeric animation. More...
 
class  NumericKeyFrame
 A keyframe for a NumericAnimation. More...
 
class  ParamT
 
class  PID
 Generic PID controller class. More...
 
class  PoseAnimation
 A pose animation. More...
 
class  PoseKeyFrame
 A keyframe for a PoseAnimation. More...
 
class  SemanticVersion
 Version comparison class based on Semantic Versioning 2.0.0 http://semver.org/ Compares versions and converts versions from string. More...
 
class  Skeleton
 A skeleton. More...
 
class  SkeletonAnimation
 Skeleton animation. More...
 
class  SkeletonNode
 A skeleton node. More...
 
class  SphericalCoordinates
 Convert spherical coordinates for planetary surfaces. More...
 
class  STLLoader
 Class used to load STL mesh files. More...
 
class  SubMesh
 A child mesh. More...
 
class  SVGCommand
 SVG command data structure. More...
 
class  SvgError
 Handles errors during SVG parsing. More...
 
class  SVGLoader
 A loader for SVG files. More...
 
struct  SVGPath
 An SVG path element data structure. More...
 
class  SystemPaths
 Functions to handle getting system paths, keeps track of: More...
 
class  Time
 A Time class, can be used to hold wall- or sim-time. More...
 
class  Timer
 A timer class, used to time things in real world walltime. More...
 
class  UpdateInfo
 Information for use in an update event. More...
 
class  Video
 Handle video encoding and decoding using libavcodec. More...
 

Typedefs

typedef boost::shared_ptr< AnimationAnimationPtr
 
typedef std::shared_ptr< BatteryBatteryPtr
 
typedef boost::shared_ptr< DiagnosticTimer > DiagnosticTimerPtr
 
typedef std::map< unsigned int, SkeletonNode * > NodeMap
 
typedef std::map< unsigned int, SkeletonNode * >::iterator NodeMapIter
 
typedef boost::shared_ptr< NumericAnimationNumericAnimationPtr
 
typedef std::vector< common::Param * > Param_V
 
typedef boost::shared_ptr< PoseAnimationPoseAnimationPtr
 
typedef std::map< double, std::vector< NodeTransform > > RawNodeAnim
 
typedef std::vector< std::vector< std::pair< std::string, double > > > RawNodeWeights
 
typedef std::map< std::string, RawNodeAnimRawSkeletonAnim
 
typedef boost::shared_ptr< SphericalCoordinatesSphericalCoordinatesPtr
 
typedef std::map< std::string, std::string > StrStr_M
 

Functions

void add_search_path_suffix (const std::string &_suffix)
 add path sufix to common::SystemPaths More...
 
AVFrame * AVFrameAlloc (void)
 Helper function to avoid deprecation warnings. More...
 
void AVFrameUnref (AVFrame *_frame)
 Helper function to avoid deprecation warnings. More...
 
void AVPacketUnref (AVPacket *_packet)
 Helper function to avoid deprecation warnings. More...
 
std::string find_file (const std::string &_file)
 search for file in common::SystemPaths More...
 
std::string find_file (const std::string &_file, bool _searchLocalPath)
 search for file in common::SystemPaths More...
 
std::string find_file_path (const std::string &_file)
 search for a file in common::SystemPaths More...
 
template<typename T >
std::string get_sha1 (const T &_buffer)
 Compute the SHA1 hash of an array of bytes. More...
 
const char * getEnv (const char *_name)
 Cross platform retrieval of an environment variable. More...
 
void load ()
 Load the common library. More...
 

Variables

static std::string PixelFormatNames []
 String names for the pixel formats. More...
 
static const double SpeedOfLight = 299792458
 Speed of light. More...
 

Detailed Description

Common namespace.

Typedef Documentation

§ AnimationPtr

typedef boost::shared_ptr<Animation> AnimationPtr

§ BatteryPtr

typedef std::shared_ptr<Battery> BatteryPtr

§ DiagnosticTimerPtr

typedef boost::shared_ptr<DiagnosticTimer> DiagnosticTimerPtr

§ NodeMap

typedef std::map<unsigned int, SkeletonNode*> NodeMap

§ NodeMapIter

typedef std::map<unsigned int, SkeletonNode*>::iterator NodeMapIter

§ NumericAnimationPtr

typedef boost::shared_ptr<NumericAnimation> NumericAnimationPtr

§ Param_V

typedef std::vector<common::Param*> Param_V

§ PoseAnimationPtr

typedef boost::shared_ptr<PoseAnimation> PoseAnimationPtr

§ RawNodeAnim

typedef std::map<double, std::vector<NodeTransform> > RawNodeAnim

§ RawNodeWeights

typedef std::vector<std::vector<std::pair<std::string, double> > > RawNodeWeights

§ RawSkeletonAnim

typedef std::map<std::string, RawNodeAnim> RawSkeletonAnim

§ SphericalCoordinatesPtr

typedef boost::shared_ptr<SphericalCoordinates> SphericalCoordinatesPtr

§ StrStr_M

typedef std::map<std::string, std::string> StrStr_M

Function Documentation

§ AVFrameAlloc()

AVFrame* gazebo::common::AVFrameAlloc ( void  )

Helper function to avoid deprecation warnings.

§ AVFrameUnref()

void gazebo::common::AVFrameUnref ( AVFrame *  _frame)

Helper function to avoid deprecation warnings.

§ AVPacketUnref()

void gazebo::common::AVPacketUnref ( AVPacket *  _packet)

Helper function to avoid deprecation warnings.

Parameters
[in]_packetAVPacket structure that stores compressed data

Variable Documentation

§ SpeedOfLight

const double SpeedOfLight = 299792458
static

Speed of light.