Fawkes API  Fawkes Development Version
fawkes Namespace Reference

Fawkes library namespace. More...

Classes

class  AccessViolationException
 Access violates policy. More...
 
class  AllemaniACsAtHomeCairoRobotDrawer
 Draw AllemaniACs AtHome robot. More...
 
struct  arc_struct
 Defines an arc (or circle) More...
 
class  ArgumentParser
 Parse command line arguments. More...
 
class  Aspect
 Fawkes aspect base class. More...
 
class  AspectIniFin
 Aspect initializer/finalizer base class. More...
 
class  AspectManager
 Aspect and aspect initializer/finalizer manager. More...
 
class  AspectProviderAspect
 Thread aspect provide a new aspect. More...
 
class  AspectProviderAspectIniFin
 Initializer/finalizer for the AspectProviderAspect. More...
 
class  AStar
 This is an implementation of the A* search algorithm. More...
 
class  AStarState
 This is the abstract(!) class for an A* State. More...
 
class  AvahiDispatcher
 Avahi dispatcher. More...
 
class  AvahiResolverHandler
 Avahi resolver handler interface. More...
 
class  AvahiThread
 Avahi main thread. More...
 
class  Barrier
 A barrier is a synchronization tool which blocks until a given number of threads have reached the barrier. More...
 
class  BatteryInterface
 BatteryInterface Fawkes BlackBoard Interface. More...
 
struct  bb_idata_msg_t
 Interface data message. More...
 
struct  bb_ievent_msg_t
 Message for interface events. More...
 
struct  bb_ieventserial_msg_t
 Message to identify an two interface instances. More...
 
struct  bb_iinfo_msg_t
 Message for interface info. More...
 
struct  bb_ilist_msg_t
 Message to transport a list of interfaces. More...
 
struct  bb_ilistreq_msg_t
 Message to request constrained interface list. More...
 
struct  bb_imessage_msg_t
 Interface message. More...
 
struct  bb_iopen_msg_t
 Message to identify an interface on open. More...
 
struct  bb_iopenfail_msg_t
 Message to send update data. More...
 
struct  bb_iopensucc_msg_t
 Interface open success The serial denotes a unique instance of an interface within the (remote) BlackBoard. More...
 
struct  bb_iserial_msg_t
 Message to identify an interface instance. More...
 
class  BBInconsistentMemoryException
 Thrown when BlackBoard memory has been corupted This exception is thrown by the memory manager if the memory has been corrupted, for example if there are bytes that belong to neither a free chunk nor a allocated chunk. More...
 
class  BBMemMgrCannotOpenException
 Thrown if shared memory could not be opened. More...
 
class  BBNotMasterException
 Thrown if BlackBoard is not master and master operation has been requested. More...
 
class  Bezier
 A Bezier curve class. More...
 
class  BezierDrawer
 Drawer for Bezier objects. More...
 
class  BinomialCoefficient
 Contains method to compute the binomial coefficient. More...
 
class  BlackBoard
 The BlackBoard abstract class. More...
 
class  BlackBoardAspect
 Thread aspect to access to BlackBoard. More...
 
class  BlackBoardAspectIniFin
 Initializer/finalizer for the BlackBoardAspect. More...
 
class  BlackBoardInstanceFactory
 BlackBoard instance factory. More...
 
class  BlackBoardInterfaceListContent
 BlackBoard interface list content. More...
 
class  BlackBoardInterfaceListener
 BlackBoard interface listener. More...
 
class  BlackBoardInterfaceManager
 BlackBoard interface manager. More...
 
class  BlackBoardInterfaceNotFoundException
 Thrown if no definition of interface or interface generator found. More...
 
class  BlackBoardInterfaceObserver
 BlackBoard interface observer. More...
 
class  BlackBoardInterfaceProxy
 Interface proxy for remote BlackBoard. More...
 
class  BlackBoardInterfaceVersionMismatchException
 Thrown if versions do not match. More...
 
class  BlackBoardMemMgrInvalidPointerException
 A NULL pointer was supplied where not allowed. More...
 
class  BlackBoardMemoryManager
 BlackBoard memory manager. More...
 
class  BlackBoardMessageManager
 BlackBoard message manager. More...
 
class  BlackBoardNetHandlerInterfaceListener
 Interface listener for network handler. More...
 
class  BlackBoardNetHandlerInterfaceObserver
 Interface observer for blackboard network handler. More...
 
class  BlackBoardNetworkHandler
 BlackBoard Network Handler. More...
 
class  BlackBoardNoMasterAliveException
 Thrown if BlackBoard is opened as non-master with no master alive. More...
 
class  BlackBoardNotifier
 BlackBoard notifier. More...
 
class  BlackBoardNoWritingInstanceException
 Thrown if no writer interface is alive. More...
 
class  BlackBoardSharedMemoryHeader
 BlackBoard Shared Memory Header. More...
 
class  BlackBoardSharedMemoryLister
 BlackBoard shared memory lister. More...
 
class  BlackBoardWriterActiveException
 Thrown if a writer is already active on an interface that writing has been requested for. More...
 
class  BlockedTimingAspect
 Thread aspect to use blocked timing. More...
 
class  BlockedTimingAspectIniFin
 Initializer/finalizer for the BlockedTimingAspect. More...
 
class  BlockedTimingExecutor
 Blocked timing executor. More...
 
class  BroadcastDatagramSocket
 Broadcast datagram socket. More...
 
class  CacheLogger
 Logging Cache. More...
 
class  CairoRobotDrawer
 Robot drawing interface. More...
 
class  CannotEnableMirroringException
 Thrown if enabling mirror mode failed. More...
 
class  CannotFinalizeThreadException
 Thread cannot be finalized. More...
 
class  CannotInitializeThreadException
 Thread cannot be initialized. More...
 
struct  cart_coord_2d_t
 Cartesian coordinates (2D). More...
 
struct  cart_coord_3d_t
 Cartesian coordinates (3D). More...
 
struct  chunk_list_t
 Chunk lists as stored in BlackBoard shared memory segment. More...
 
class  CLIPSAspect
 Thread aspect to get access to a CLIPS environment. More...
 
class  CLIPSAspectIniFin
 CLIPSAspect initializer/finalizer. More...
 
class  Clock
 This is supposed to be the central clock in Fawkes. More...
 
class  ClockAspect
 Thread aspect that allows to obtain the current time from the clock. More...
 
class  ClockAspectIniFin
 Initializer/finalizer for the ClockAspect. More...
 
class  ComponentLogger
 Component logger. More...
 
struct  config_bool_value_msg_t
 Boolean value message. More...
 
struct  config_comment_msg_t
 Comment message. More...
 
struct  config_descriptor_t
 Basic config descriptor. More...
 
struct  config_erase_value_msg_t
 Erase value request. More...
 
struct  config_float_value_msg_t
 Float value message. More...
 
struct  config_getval_msg_t
 Get value message. More...
 
struct  config_int_value_msg_t
 Integer value message. More...
 
struct  config_invval_msg_t
 Invalid value request message. More...
 
struct  config_list_bool_entity_t
 Config list bool entity. More...
 
struct  config_list_comment_entity_t
 Config list comment entity. More...
 
struct  config_list_entity_header_t
 Config list entity header. More...
 
struct  config_list_float_entity_t
 Config list float entity. More...
 
struct  config_list_int_entity_t
 Config list int entity. More...
 
struct  config_list_msg_t
 Config list message. More...
 
struct  config_list_string_entity_t
 Config list string entity. More...
 
struct  config_list_uint_entity_t
 Config list unsigned int entity. More...
 
struct  config_string_value_msg_t
 String value message. More...
 
struct  config_tag_msg_t
 Tag message. More...
 
struct  config_uint_value_msg_t
 Unsigned int value message. More...
 
struct  config_value_erased_msg_t
 Value erased message. More...
 
class  ConfigEntryNotFoundException
 Thrown if a config entry could not be found. More...
 
class  ConfigListContent
 Config list content. More...
 
class  ConfigNetworkHandler
 Fawkes Configuration Network Handler. More...
 
class  ConfigTypeMismatchException
 Thrown if there a type problem was detected for example if you tried to query a float with get_int(). More...
 
class  ConfigurableAspect
 Thread aspect to access configuration data. More...
 
class  ConfigurableAspectIniFin
 Initializer/finalizer for the ConfigurableAspect. More...
 
class  Configuration
 Interface for configuration handling. More...
 
class  ConfigurationChangeHandler
 Interface for configuration change handling. More...
 
class  ConfigurationException
 Generic configuration exception. More...
 
class  ConnectionDiedException
 Thrown if the connection died during an operation. More...
 
class  ConnectionDispatcher
 Watches network client events and dispatches them as signals. More...
 
class  ConsoleLogger
 Interface for logging to stderr. More...
 
class  CouldNotOpenConfigException
 Thrown if config could not be opened. More...
 
class  CouldNotOpenFileException
 File could not be opened. More...
 
class  DatagramSocket
 Datagram socket. More...
 
class  DependencyViolationException
 Dependency violation exception. More...
 
class  DestructionInProgressException
 Delete in progress. More...
 
class  DivisionByZeroException
 Division by zero. More...
 
class  DrawingManipulator
 Allows to control some aspects of the rendering of objects. More...
 
class  DummyServiceBrowser
 Dummy Service browser. More...
 
class  DummyServicePublisher
 Dummy service publisher interface. More...
 
struct  dynamic_list_t
 Dynamic list type. More...
 
class  DynamicBuffer
 Dynamically growing buffer. More...
 
class  DynamicFileWebReply
 Dynamic raw file transfer reply. More...
 
class  DynamicWebReply
 Dynamic web reply. More...
 
class  EclExternalBlackBoard
 Wrapper class for using the blackboard in the implementation of the external predicates. More...
 
class  EclExternalRCSoftMapGraph
 Wrapper class for using the RCSoftMapGraph in the implementation of the external predicates. More...
 
class  Exception
 Base class for exceptions in Fawkes. More...
 
struct  extent_2d_t
 Rectangular extent with unsigne integers. More...
 
class  FacerInterface
 FacerInterface Fawkes BlackBoard Interface. More...
 
class  FacialExpressionInterface
 FacialExpressionInterface Fawkes BlackBoard Interface. More...
 
class  FamListener
 File Alteration Monitor Listener. More...
 
class  FamThread
 FileAlterationMonitor thread wrapper. More...
 
struct  fawkes_message_header_t
 Fawkes network message header. More...
 
struct  fawkes_message_t
 Message as stored in local queues. More...
 
struct  fawkes_transfer_header_t
 Fawkes transfer header. More...
 
class  FawkesMainThread
 Fawkes default main thread. More...
 
class  FawkesNetworkAspect
 Thread aspect to participate in the Fawkes Network protocol. More...
 
class  FawkesNetworkAspectIniFin
 Initializer/finalizer for the FawkesNetworkAspect. More...
 
class  FawkesNetworkClient
 Simple Fawkes network client. More...
 
class  FawkesNetworkClientHandler
 Message handler for FawkesNetworkClient. More...
 
class  FawkesNetworkClientRecvThread
 Fawkes network client receive thread. More...
 
class  FawkesNetworkClientSendThread
 Fawkes network client send thread. More...
 
class  FawkesNetworkHandler
 Network handler abstract base class. More...
 
class  FawkesNetworkHub
 Fawkes Network Hub. More...
 
class  FawkesNetworkManager
 Fawkes Network Manager. More...
 
class  FawkesNetworkMessage
 Representation of a message that is sent over the network. More...
 
class  FawkesNetworkMessageContent
 Fawkes network message content. More...
 
class  FawkesNetworkMessageQueue
 A LockQueue of FawkesNetworkMessage to hold messages in inbound and outbound queues. More...
 
class  FawkesNetworkMessageTooBigException
 The given message size exceeds the limit. More...
 
class  FawkesNetworkServerClientSendThread
 Sending thread for a Fawkes client connected to the server. More...
 
class  FawkesNetworkServerClientThread
 Fawkes Network Client Thread for server. More...
 
class  FawkesNetworkServerThread
 Fawkes Network Thread. More...
 
class  FawkesNetworkTransceiver
 Fawkes Network Transceiver. More...
 
struct  field_line_struct
 Describes a field line. More...
 
struct  field_pos_t
 Position on the field. More...
 
class  File
 File utility methods. More...
 
class  FileAlterationMonitor
 Monitors files for changes. More...
 
class  FileLogger
 Interface for logging to a specified file. More...
 
class  FileReadException
 File could not be read. More...
 
class  FileWriteException
 Could not write to file. More...
 
class  GameStateInterface
 GameStateInterface Fawkes BlackBoard Interface. More...
 
class  GeomDrawer
 Abstract base class for all drawer classes. More...
 
class  GeomDrawingArea
 A Gtk::DrawingArea that allows to easily display drawable objects of the geometry library. More...
 
class  HandlerAlreadyRegisteredException
 Client handler has already been registered. More...
 
class  HomCoord
 Base class for homogeneous primitives (vector and point). More...
 
class  HomPoint
 A homogeneous point. More...
 
class  HomPointDrawer
 Drawer for HomPoint objects. More...
 
class  HomPolar
 A homogeneous representation of a polar coordinate. More...
 
class  HomPose
 A homogeneous pose combines a position with an orienation in space. More...
 
class  HomPose2d
 A 2-dimensional pose, i.e. More...
 
class  HomTransform
 This class describes a homogeneous transformation. More...
 
class  HomVector
 A homogeneous vector. More...
 
class  HomVectorDrawer
 Drawer for HomVector objects. More...
 
class  HostInfo
 Host information. More...
 
class  HumanoidMotionInterface
 HumanoidMotionInterface Fawkes BlackBoard Interface. More...
 
class  HumanSkeletonInterface
 HumanSkeletonInterface Fawkes BlackBoard Interface. More...
 
class  HumanSkeletonProjectionInterface
 HumanSkeletonProjectionInterface Fawkes BlackBoard Interface. More...
 
class  IllegalArgumentException
 Expected parameter is missing. More...
 
class  Interface
 Base class for all Fawkes BlackBoard interfaces. More...
 
struct  interface_fieldinfo_t
 Interface field info list. More...
 
struct  interface_header_t
 This struct is used as header for interfaces in memory chunks. More...
 
class  InterfaceChooserDialog
 Blackboard interface chooser dialog. More...
 
class  InterfaceDispatcher
 Interface listener with dispatcher. More...
 
class  InterfaceFieldIterator
 Interface field iterator. More...
 
class  InterfaceFieldPointer
 Direct pointer to an interface field. More...
 
class  InterfaceInfo
 Interface info. More...
 
class  InterfaceInfoList
 Interface information list. More...
 
class  InterfaceInvalidException
 This exception is thrown if an interface is invalid and it is attempted to call read()/write(). More...
 
class  InterfaceInvalidMessageException
 This exception is thrown if a message has been queued in the interface which is not recognized by the interface. More...
 
class  InterfaceMediator
 Interface mediator interface. More...
 
class  InterfaceMessageEnqueueException
 This exception is thrown if a write has been attempted on a read-only interface. More...
 
class  InterfaceWriteDeniedException
 This exception is thrown if a write has been attempted on a read-only interface. More...
 
class  Interpolator
 Value interpolator. More...
 
class  InterruptedException
 The current system call has been interrupted (for instance by a signal). More...
 
class  InterruptibleBarrier
 A barrier is a synchronization tool which blocks until a given number of threads have reached the barrier. More...
 
class  IPCMessageQueue
 IPC message queue. More...
 
class  JoystickInterface
 JoystickInterface Fawkes BlackBoard Interface. More...
 
class  KalmanFilter1D
 One-dimensional Kalman filter implementation for single-precision floats. More...
 
class  KatanaController
 Abstract class for a Neuronics Katana controller. More...
 
class  KatanaControllerKni
 Controller class for a Neuronics Katana, using libkni to interact with the real Katana arm. More...
 
class  KatanaControllerOpenrave
 Controller class for a Neuronics Katana, using libkni to interact with the real Katana arm. More...
 
class  KatanaInterface
 KatanaInterface Fawkes BlackBoard Interface. More...
 
class  KatanaMotorCrashedException
 At least one motor crashed. More...
 
class  KatanaNoSolutionException
 No joint configuration for desired target found. More...
 
class  KatanaOutOfRangeException
 At least one motor is out of range. More...
 
class  KatanaUnsupportedException
 Unsupported command. More...
 
class  KickerInterface
 KickerInterface Fawkes BlackBoard Interface. More...
 
class  Laser360Interface
 Laser360Interface Fawkes BlackBoard Interface. More...
 
class  Laser720Interface
 Laser720Interface Fawkes BlackBoard Interface. More...
 
class  LedInterface
 LedInterface Fawkes BlackBoard Interface. More...
 
class  LibLogger
 Library logger. More...
 
class  Line
 Well, what can one say about a straight line? More...
 
class  LinearInterpolator
 Linear value interpolator. More...
 
class  LineSegment
 A line segment. More...
 
class  LineSegmentDrawer
 Drawer for LineSegment objects. More...
 
class  LocalBlackBoard
 Local BlackBoard. More...
 
class  LocalizerControlInterface
 LocalizerControlInterface Fawkes BlackBoard Interface. More...
 
class  LockHashMap
 Hash map with a lock. More...
 
class  LockHashSet
 Hash set with a lock. More...
 
class  LockList
 List with a lock. More...
 
class  LockMap
 Map with a lock. More...
 
class  LockMultiMap
 Multi-Map with a lock. More...
 
class  LockPtr
 LockPtr<> is a reference-counting shared lockable smartpointer. More...
 
class  LockQueue
 Queue with a lock. More...
 
class  LockSet
 Set with a lock. More...
 
class  LockVector
 Vector with a lock. More...
 
class  Logger
 Interface for logging. More...
 
class  LoggerAspect
 Thread aspect that allows to provide a logger to Fawkes. More...
 
class  LoggerAspectIniFin
 Initializer/finalizer for the LoggerAspect. More...
 
class  LoggerEmployer
 Logger employer The LoggerEmployer shall pipe all log messages of the system to added loggers. More...
 
class  LoggerFactory
 Logger factory. More...
 
class  LoggingAspect
 Thread aspect to log output. More...
 
class  LoggingAspectIniFin
 Initializer/finalizer for the LoggingAspect. More...
 
class  LogView
 Log View widget. More...
 
class  LuaContext
 Lua C++ wrapper. More...
 
class  LuaContextWatcher
 Lua context watcher. More...
 
class  LuaErrorException
 Lua error exception. More...
 
class  LuaInterfaceImporter
 Lua interface importer. More...
 
class  LuaRuntimeException
 Lua runtime exception. More...
 
class  LuaTriggerManager
 Lua Trigger Manager. More...
 
class  MainLoopAspect
 Thread aspect that allows to replace the main loop of the main application of Fawkes. More...
 
class  MainLoopAspectIniFin
 Initializer/finalizer for the MainLoopAspect. More...
 
class  MainLoopEmployer
 Main loop employer The MainLoopEmployer calls the main loop for execution. More...
 
class  Matrix
 A general matrix class. More...
 
class  MemAutoFree
 Automatically free memory on destruction. More...
 
class  Message
 Base class for all messages passed through interfaces in Fawkes BlackBoard. More...
 
class  MessageAlreadyQueuedException
 Message already enqueued exception. More...
 
class  MessageDecryptionException
 Message decryption failed. More...
 
class  MessageEncryptionException
 Message encryption failed. More...
 
class  MessageMediator
 Message mediator interface. More...
 
class  MessageQueue
 Message queue used in interfaces. More...
 
class  MessageTooBigException
 Message did not fit into buffer. More...
 
class  MissingArgumentException
 Thrown if required argument was missing. More...
 
class  MissingParameterException
 Expected parameter is missing. More...
 
class  Module
 Dynamic module loader for Linux, FreeBSD, and MacOS X. More...
 
class  ModuleManager
 Dynamic module manager. More...
 
class  ModuleOpenException
 Opening a module failed. More...
 
struct  motor_t
 Struct containing angle of current motor, its number in OpenRAVE and corresponding motor number of real devices. More...
 
class  MotorInterface
 MotorInterface Fawkes BlackBoard Interface. More...
 
class  MulticastDatagramSocket
 Multicast datagram socket. More...
 
class  MultiInterfaceChooserDialog
 Blackboard interface chooser dialog that supports multiple choices. More...
 
class  MultiLogger
 Log through multiple loggers. More...
 
class  Mutex
 Mutex mutual exclusion lock. More...
 
class  MutexLocker
 Mutex locking helper. More...
 
class  NaoJointPositionInterface
 NaoJointPositionInterface Fawkes BlackBoard Interface. More...
 
class  NaoJointStiffnessInterface
 NaoJointStiffnessInterface Fawkes BlackBoard Interface. More...
 
class  NaoQiAspect
 Thread aspect to get access to NaoQi broker. More...
 
class  NaoQiAspectIniFin
 NaoQiAspect initializer/finalizer. More...
 
class  NaoSensorInterface
 NaoSensorInterface Fawkes BlackBoard Interface. More...
 
class  NavigatorInterface
 NavigatorInterface Fawkes BlackBoard Interface. More...
 
class  NetworkAcceptorThread
 Network Acceptor Thread. More...
 
class  NetworkAspect
 Thread aspect for network communication. More...
 
class  NetworkAspectIniFin
 Initializer/finalizer for the NetworkAspect. More...
 
class  NetworkConfiguration
 Remote configuration via Fawkes net. More...
 
class  NetworkIncomingConnectionHandler
 Interface for handling incoming connections. More...
 
class  NetworkLogger
 Interface for logging to network clients. More...
 
class  NetworkLoggerMessageContent
 Message sent over the network with a log message. More...
 
class  NetworkNameResolver
 Network name and address resolver. More...
 
class  NetworkNameResolverThread
 Worker thread for NetworkNameResolver. More...
 
class  NetworkService
 Representation of a service announced or found via service discovery (i.e. More...
 
class  NonPointerTypeExpectedException
 Non-pointer type expected. More...
 
class  NotImplementedException
 Called method has not been implemented. More...
 
class  NotLockedException
 Operation on unlocked object. More...
 
class  NullPointerException
 A NULL pointer was supplied where not allowed. More...
 
class  ObjectPositionInterface
 ObjectPositionInterface Fawkes BlackBoard Interface. More...
 
class  OneToManyDependency
 One-to-Many dependency constraint. More...
 
class  OpenNiAspect
 Thread aspect to get access to the OpenNI context. More...
 
class  OpenNiAspectIniFin
 OpenNiAspect initializer/finalizer. More...
 
class  OpenRaveAspect
 Thread aspect create, update, and graph round-robin databases (RRD). More...
 
class  OpenRaveAspectIniFin
 OpenRaveAspect initializer/finalizer. More...
 
class  OpenRaveConnector
 Interface for a OpenRave connection creator. More...
 
class  OpenRaveEnvironment
 OpenRaveEnvironment class. More...
 
class  OpenRaveInterface
 OpenRaveInterface Fawkes BlackBoard Interface. More...
 
class  OpenRaveManipulator
 Class containing information about all manipulator motors. More...
 
class  OpenRaveManipulatorKatana6M180
 Class containing information about all katana6M180 motors. More...
 
class  OpenRaveManipulatorNeuronicsKatana
 Class containing information about all neuronics-katana motors. More...
 
class  OpenRaveRobot
 OpenRAVE Robot class. More...
 
class  OutOfBoundsException
 Index out of bounds. More...
 
class  OutOfMemoryException
 System ran out of memory and desired operation could not be fulfilled. More...
 
class  PanTiltInterface
 PanTiltInterface Fawkes BlackBoard Interface. More...
 
class  PathParser
 Path parser. More...
 
class  Plugin
 Plugin interface class. More...
 
struct  plugin_list_msg_t
 Plugin list message. More...
 
struct  plugin_load_failed_msg_t
 Plugin load failed. More...
 
struct  plugin_load_msg_t
 Load plugin message. More...
 
struct  plugin_loaded_msg_t
 Plugin loaded message. More...
 
struct  plugin_unload_failed_msg_t
 Plugin unload failed. More...
 
struct  plugin_unload_msg_t
 Unload plugin message. More...
 
struct  plugin_unloaded_msg_t
 Plugin unloaded message. More...
 
class  PluginDirectorAspect
 Thread aspect to access the PluginManager. More...
 
class  PluginDirectorAspectIniFin
 Initializer/finalizer for the PluginDirectorAspect. More...
 
class  PluginListMessage
 Plugin list message. More...
 
class  PluginLoader
 This class manages plugins. More...
 
class  PluginLoadException
 This exception is thrown if the requested plugin could not be loaded. More...
 
class  PluginManager
 Fawkes Plugin Manager. More...
 
class  PluginManagerListener
 PluginManager listener. More...
 
class  PluginNetworkHandler
 Fawkes Plugin Network Handler. More...
 
class  PluginTreeView
 A TreeView class to list available plugins und trigger their loading/unloading. More...
 
class  PluginUnloadException
 This exception is thrown if the requested plugin could not be unloaded. More...
 
struct  point_6D_struct
 Defines a point with 6-degrees of freedom. More...
 
struct  point_t
 Point with cartesian coordinates as unsigned integers. More...
 
class  PointCloudAspect
 Thread aspect to provide and access point clouds. More...
 
class  PointCloudAspectIniFin
 Initializer/finalizer for the PointCloudAspect. More...
 
class  PointCloudManager
 Point Cloud manager. More...
 
union  PointCloudTimestamp
 Union to pack fawkes::Time into the pcl::PointCloud timestamp. More...
 
struct  polar_coord_2d_t
 Polar coordinates. More...
 
class  Position2DTrackInterface
 Position2DTrackInterface Fawkes BlackBoard Interface. More...
 
class  Position3DInterface
 Position3DInterface Fawkes BlackBoard Interface. More...
 
class  Printable
 Interface class for printable objects. More...
 
class  RCSoftMapGraph
 Read RCSoft map graphs. More...
 
class  RCSoftMapNode
 RCSoft map node representation. More...
 
class  ReadWriteLock
 Read/write lock to allow multiple readers but only a single writer on the resource at a time. More...
 
struct  rectangle_t
 Rectangle (unsigned integers) More...
 
class  RecursiveMutex
 Recursive mutex. More...
 
class  RefCount
 Reference counting base class. More...
 
class  RefCountRWLock
 Read/write lock with reference counting. More...
 
class  RefPtr
 RefPtr<> is a reference-counting shared smartpointer. More...
 
class  RemoteBlackBoard
 Remote BlackBoard. More...
 
class  RobotinoSensorInterface
 RobotinoSensorInterface Fawkes BlackBoard Interface. More...
 
class  Roomba500Interface
 Roomba500Interface Fawkes BlackBoard Interface. More...
 
class  ROSAspect
 Thread aspect to get access to a ROS node handle. More...
 
class  ROSAspectIniFin
 ROSAspect initializer/finalizer. More...
 
class  RRDArchive
 RRD Archive description. More...
 
class  RRDAspect
 Thread aspect create, update, and graph round-robin databases (RRD). More...
 
class  RRDAspectIniFin
 RRDAspect initializer/finalizer. More...
 
class  RRDDataSource
 Class to represent a RRD data source. More...
 
class  RRDDefinition
 RRD Definition. More...
 
class  RRDGraphArea
 Print graph area. More...
 
class  RRDGraphDataDefinition
 Represent data definition in graph arguments. More...
 
class  RRDGraphDefinition
 Class representing a graph definition. More...
 
class  RRDGraphElement
 Interface for graph elements. More...
 
class  RRDGraphGPrint
 Print string inside graph. More...
 
class  RRDGraphLine
 Print graph line. More...
 
class  RRDManager
 Interface for a RRD connection creator. More...
 
class  RWLockList
 List with a read/write lock. More...
 
class  RWLockMap
 Hash map with a lock. More...
 
class  RWLockQueue
 Queue with a read/write lock. More...
 
class  RWLockVector
 Vector with a lock. More...
 
class  ScopedRWLock
 Scoped read/write lock. More...
 
class  SemaphoreSet
 IPC semaphore set. More...
 
class  SemCannotLockException
 Cannot lock semaphore. More...
 
class  SemCannotSetValException
 Cannot set value on semaphore. More...
 
class  SemCannotUnlockException
 Cannot unlock semaphore. More...
 
class  SemInvalidException
 Semaphore or semaphore set invalid. More...
 
class  ServiceBrowseHandler
 Interface for class that process browse results. More...
 
class  ServiceBrowser
 Service browser. More...
 
class  ServiceChooserDialog
 Service chooser dialog. More...
 
class  ServiceModel
 Abstract base class for widgets that allow to view the detected services of a certain type. More...
 
class  ServicePublisher
 Service publisher interface. More...
 
class  ServiceSelectorCBE
 This widget consists of a Gtk::ComboBox and a Gtk::Button. More...
 
class  SharedMemory
 Shared memory segment. More...
 
class  SharedMemoryHeader
 Interface for shared memory header. More...
 
class  SharedMemoryLister
 Format list output for shared memory segments. More...
 
class  SharedMemoryRegistry
 Shared memory registry. More...
 
class  ShmAddrOutOfBoundsException
 The address points out of the shared memory. More...
 
class  ShmCouldNotAttachAddrDepException
 The shared memory is set adress-dependend but could not be opened at the appropriate address. More...
 
class  ShmCouldNotAttachException
 Could not attach to shared memory segment. More...
 
class  ShmDoesNotExistException
 Shared memory segment does not exist. More...
 
class  ShmInconsistentSegmentSizeException
 Memory size does not match. More...
 
class  ShmNoHeaderException
 No shared memory header set before attach() More...
 
class  ShmPtrOutOfBoundsException
 The pointer does not point inside the shared memory. More...
 
class  SignalHandler
 Interface for signal handling. More...
 
class  SignalManager
 System signal manager. More...
 
class  SimulatorTimeSource
 Simulation time source. More...
 
class  SinusoidalInterpolator
 Sinusoidal value interpolator. More...
 
class  SkillerDebugInterface
 SkillerDebugInterface Fawkes BlackBoard Interface. More...
 
class  SkillerInterface
 SkillerInterface Fawkes BlackBoard Interface. More...
 
class  SoccerPenaltyInterface
 SoccerPenaltyInterface Fawkes BlackBoard Interface. More...
 
class  Socket
 Socket base class. More...
 
class  SocketException
 Socket exception. More...
 
class  SpeechRecognitionInterface
 SpeechRecognitionInterface Fawkes BlackBoard Interface. More...
 
class  SpeechSynthInterface
 SpeechSynthInterface Fawkes BlackBoard Interface. More...
 
class  Spinlock
 Spin lock. More...
 
class  Spline
 A spline made up of cubic Bezier curves. More...
 
class  SplineDrawer
 Drawer for Spline objects. More...
 
class  SQLiteConfiguration
 Configuration storage using SQLite. More...
 
class  StaticWebReply
 Static web reply. More...
 
class  StreamSocket
 TCP stream socket over IP. More...
 
class  StringContent
 Content for a variable length string. More...
 
class  StringConversions
 Utility class that holds string methods. More...
 
class  StringEquality
 String equality checker. More...
 
class  StringLess
 String less than test. More...
 
class  SwitchInterface
 SwitchInterface Fawkes BlackBoard Interface. More...
 
class  SyntaxErrorException
 Syntax error. More...
 
class  SyslogLogger
 Interface for logging to syslog. More...
 
struct  target_t
 Struct containing information about the current target. More...
 
class  TestInterface
 TestInterface Fawkes BlackBoard Interface. More...
 
class  Thread
 Thread class encapsulation of pthreads. More...
 
class  ThreadCollector
 Thread collector. More...
 
class  ThreadFinalizer
 Thread finalizer interface. More...
 
class  ThreadInitializer
 Thread initializer interface. More...
 
class  ThreadList
 List of threads. More...
 
class  ThreadListNotSealedException
 Thread list not sealed exception. More...
 
class  ThreadListSealedException
 Thread list sealed exception. More...
 
class  ThreadManager
 Base application thread manager. More...
 
class  ThreadNotificationListener
 Thread notification listener interface. More...
 
class  ThreadProducerAspect
 Aspect for thread producing threads. More...
 
class  ThreadProducerAspectIniFin
 Initializer/finalizer for the ThreadProducerAspect. More...
 
class  Throbber
 Simple Gtk Throbber/Spinner. More...
 
class  Time
 A class for handling time. More...
 
class  TimeoutException
 The current system call has timed out before completion. More...
 
class  TimeSource
 TimeSource interface. More...
 
class  TimeSourceAspect
 Thread aspect that allows to provide a time source to the Fawkes clock. More...
 
class  TimeSourceAspectIniFin
 Initializer/finalizer for the TimeSourceAspect. More...
 
class  TimeTracker
 Time tracking utility. More...
 
class  TimeWait
 Time wait utility. More...
 
class  TracWikiHeadingFormatter
 Translate Trac wiki heading syntax to HTML. More...
 
class  Transformable
 Interface class for all transformable objects. More...
 
class  TransformAspect
 Thread aspect to access the transform system. More...
 
class  TransformAspectIniFin
 Initializer/finalizer for the TransformAspect. More...
 
class  TransformInterface
 TransformInterface Fawkes BlackBoard Interface. More...
 
class  TwoLinesCellRenderer
 Gtk cell renderer for two lines of text in a cell. More...
 
class  TypeMismatchException
 Type mismatch. More...
 
class  UnableToOpenFileException
 Opening a file failed for some reason. More...
 
class  UniquenessConstraint
 Uniqueness constraint. More...
 
class  UniquenessViolationException
 Uniqueness violation exception. More...
 
class  UnknownArgumentException
 Thrown if unknown argument was supplied. More...
 
class  UnknownLoggerTypeException
 Unknown logger type exception. More...
 
class  UnknownTypeException
 Unknown type. More...
 
class  Vector
 A simple column vector. More...
 
class  VisionAspect
 Thread aspect to use in FireVision apps. More...
 
class  VisionAspectIniFin
 Initializer/finalizer for the VisionAspect. More...
 
class  VisionMasterAspect
 Vision Master Aspect. More...
 
class  VisionMasterAspectIniFin
 Initializer/finalizer for the VisionMasterAspect. More...
 
class  VisualDisplay2DInterface
 VisualDisplay2DInterface Fawkes BlackBoard Interface. More...
 
class  WaitCondition
 Wait until a given condition holds. More...
 
class  Watch
 This is a stop-watch. More...
 
class  WebErrorPageReply
 Static error page reply. More...
 
class  WebNavManager
 Manage visible navigation entries. More...
 
class  WebPageFooterGenerator
 Interface for HTML footer generator. More...
 
class  WebPageHeaderGenerator
 Interface for HTML header generator. More...
 
class  WebPageReply
 Basic page reply. More...
 
class  WebRedirectReply
 Redirect reply for webview. More...
 
class  WebReply
 Basic web reply. More...
 
class  WebRequestDispatcher
 Web request dispatcher. More...
 
class  WebRequestProcessor
 Abstract web request processor. More...
 
class  WebServer
 Encapsulation of the libmicrohttpd webserver. More...
 
class  WebUrlManager
 Manage URL mappings. More...
 
class  WebUserVerifier
 Interface for user verification. More...
 
class  WebviewAspect
 Thread aspect to provide web pages via Webview. More...
 
class  WebviewAspectIniFin
 Initializer/finalizer for the WebviewAspect. More...
 
struct  worldinfo_fat_message_t
 Fat worldinfo message. More...
 
struct  worldinfo_gamestate_message_t
 Game state message. More...
 
struct  worldinfo_globballpos_message_t
 Global ball position message. More...
 
struct  worldinfo_globballvelo_message_t
 Global ball velocity message. More...
 
struct  worldinfo_header_t
 World info header. More...
 
struct  worldinfo_message_header_t
 Per-message header. More...
 
struct  worldinfo_oppdisappeared_message_t
 Opponent disappeared. More...
 
struct  worldinfo_opppose_message_t
 Opponent message. More...
 
struct  worldinfo_penalty_message_t
 Penalty message. More...
 
struct  worldinfo_pose_message_t
 Robot pose message. More...
 
struct  worldinfo_relballpos_message_t
 Relative ball position message. More...
 
struct  worldinfo_relballvelo_message_t
 Relative ball velocity message. More...
 
struct  worldinfo_velocity_message_t
 Robot velocity message. More...
 
class  WorldInfoDataContainer
 Data container to store and exchange worldinfo data. More...
 
class  WorldInfoException
 Thrown on critical errors in world info handling. More...
 
class  WorldInfoHandler
 World info handler. More...
 
class  WorldInfoMessageDecryptor
 WorldInfo message decryptor. More...
 
class  WorldInfoMessageEncryptor
 WorldInfo message encryptor. More...
 
class  WorldInfoTransceiver
 Class to send and receive world information. More...
 

Typedefs

typedef const char *(* PluginDescriptionFunc) ()
 Plugin description function for the shared library. More...
 
typedef const char *(* PluginDependenciesFunc) ()
 Plugin depdendency function for the shared library. More...
 
typedef void(* InterfaceDestroyFunc) (Interface *interface)
 Interface destructor function for the shared library. More...
 
typedef Interface *(* InterfaceFactoryFunc) (void)
 Interface generator function for the shared library Do not use directly. More...
 
typedef struct fawkes::field_line_struct field_line_t
 Describes a field line. More...
 
typedef struct fawkes::arc_struct arc_t
 Defines an arc (or circle) More...
 
typedef struct fawkes::point_6D_struct point_6D_t
 Defines a point with 6-degrees of freedom. More...
 

Enumerations

enum  blackboard_msgid_t {
  MSG_BB_LIST_ALL = 0, MSG_BB_INTERFACE_LIST = 1, MSG_BB_OPEN_FOR_READING = 2, MSG_BB_OPEN_FOR_WRITING = 3,
  MSG_BB_OPEN_SUCCESS = 4, MSG_BB_OPEN_FAILURE = 5, MSG_BB_CLOSE = 6, MSG_BB_WRITE = 7,
  MSG_BB_INTERFACE_MESSAGE = 8, MSG_BB_DATA_CHANGED = 9, MSG_BB_READER_ADDED = 10, MSG_BB_READER_REMOVED = 11,
  MSG_BB_WRITER_ADDED = 12, MSG_BB_WRITER_REMOVED = 13, MSG_BB_INTERFACE_CREATED = 14, MSG_BB_INTERFACE_DESTROYED = 15,
  MSG_BB_LIST = 16
}
 BlackBoard network message types. More...
 
enum  blackboard_neterror_t { BB_ERR_UNKNOWN_ERR, BB_ERR_UNKNOWN_TYPE, BB_ERR_HASH_MISMATCH, BB_ERR_WRITER_EXISTS }
 Error codes. More...
 
enum  interface_fieldtype_t {
  IFT_BOOL, IFT_INT8, IFT_UINT8, IFT_INT16,
  IFT_UINT16, IFT_INT32, IFT_UINT32, IFT_INT64,
  IFT_UINT64, IFT_FLOAT, IFT_DOUBLE, IFT_STRING,
  IFT_BYTE, IFT_ENUM
}
 Interface field type. More...
 
enum  worldinfo_msl_gamestate_t {
  GS_FROZEN = 0, GS_PLAY = 1, GS_KICK_OFF = 2, GS_DROP_BALL = 3,
  GS_PENALTY = 4, GS_CORNER_KICK = 5, GS_THROW_IN = 6, GS_FREE_KICK = 7,
  GS_GOAL_KICK = 8, GS_HALF_TIME = 9
}
 Game states for RoboCup MSL. More...
 
enum  worldinfo_spl_gamestate_t {
  GS_SPL_INITIAL = 0, GS_SPL_READY = 1, GS_SPL_SET = 2, GS_SPL_PLAY = 3,
  GS_SPL_FINISHED = 4
}
 Game states for RoboCup SPL. More...
 
enum  worldinfo_gamestate_team_t { TEAM_NONE = 0, TEAM_CYAN = 1, TEAM_MAGENTA = 2, TEAM_BOTH = 3 }
 Team. More...
 
enum  worldinfo_gamestate_goalcolor_t { GOAL_BLUE = 0, GOAL_YELLOW = 1 }
 Goal color. More...
 
enum  worldinfo_gamestate_half_t { HALF_FIRST = 0, HALF_SECOND = 1 }
 Game time half. More...
 
enum  worldinfo_penalty_t {
  PENALTY_NONE = 0, PENALTY_BALL_HOLDING = 1, PENALTY_GOALIE_PUSHING = 2, PENALTY_PLAYER_PUSHING = 3,
  PENALTY_ILLEGAL_DEFENDER = 4, PENALTY_ILLEGAL_DEFENSE = 5, PENALTY_OBSTRUCTION = 6, PENALTY_REQ_FOR_PICKUP = 7,
  PENALTY_LEAVING = 8, PENALTY_DAMAGE = 9, PENALTY_MANUAL = 10
}
 Robot penalty code. More...
 
enum  worldinfo_msgid_t {
  WORLDINFO_MSGTYPE_POSE = 1, WORLDINFO_MSGTYPE_VELO = 2, WORLDINFO_MSGTYPE_RELBALL = 3, WORLDINFO_MSGTYPE_RELBALLVELO = 4,
  WORLDINFO_MSGTYPE_OPP_POSE = 5, WORLDINFO_MSGTYPE_OPP_DISAPP = 6, WORLDINFO_MSGTYPE_FAT_WORLDINFO = 7, WORLDINFO_MSGTYPE_GAMESTATE = 8,
  WORLDINFO_MSGTYPE_PENALTY = 9, WORLDINFO_MSGTYPE_GLOBBALL = 10, WORLDINFO_MSGTYPE_GLOBBALLVELO = 11
}
 WorldInfo message IDs. More...
 
enum  plugin_message_type_t {
  MSG_PLUGIN_LOAD = 1, MSG_PLUGIN_LOADED = 2, MSG_PLUGIN_LOAD_FAILED = 3, MSG_PLUGIN_UNLOAD = 4,
  MSG_PLUGIN_UNLOADED = 5, MSG_PLUGIN_UNLOAD_FAILED = 6, MSG_PLUGIN_LIST_AVAIL = 7, MSG_PLUGIN_AVAIL_LIST = 8,
  MSG_PLUGIN_AVAIL_LIST_FAILED = 9, MSG_PLUGIN_LIST_LOADED = 10, MSG_PLUGIN_LOADED_LIST = 11, MSG_PLUGIN_LOADED_LIST_FAILED = 12,
  MSG_PLUGIN_SUBSCRIBE_WATCH = 13, MSG_PLUGIN_UNSUBSCRIBE_WATCH = 14
}
 Plugin message type. More...
 
enum  euler_rotation_t { EULER_ZXZ, EULER_ZYZ, EULER_ZYX }
 Euler rotations. More...
 
enum  target_type_t {
  TARGET_NONE, TARGET_JOINTS, TARGET_TRANSFORM, TARGET_RELATIVE,
  TARGET_RELATIVE_EXT, TARGET_IKPARAM
}
 Target types. More...
 

Functions

BlackBoard::ListenerRegisterFlag operator| (const BlackBoard::ListenerRegisterFlag &a, const BlackBoard::ListenerRegisterFlag &b)
 Concatenation of register flags. More...
 
BlackBoard::ListenerRegisterFlag operator& (const BlackBoard::ListenerRegisterFlag &a, const BlackBoard::ListenerRegisterFlag &b)
 Testing of register flags. More...
 
static void dump_table (FILE *f,::sqlite3 *tdb, const char *table_name)
 Dump table. More...
 
DrawingManipulatorset_line_width (float w)
 Creates a drawing manipulator which sets the given line width. More...
 
DrawingManipulatorset_color (float r, float g, float b)
 Creates a drawing manipulator which sets the given color. More...
 
DrawingManipulatorset_color (DrawingManipulator::Color c)
 Creates a drawing manipulator which sets the given color. More...
 
DrawingManipulatorset_point_size (float s)
 Creates a drawing manipulator which sets the given point size. More...
 
std::ostream & operator<< (std::ostream &stream, const Vector &v)
 Appends the components of the Vector to the ostream. More...
 
const char * worldinfo_msl_gamestate_tostring (worldinfo_msl_gamestate_t gamestate)
 Convert MSL gamestate to a string. More...
 
const char * worldinfo_spl_gamestate_tostring (worldinfo_spl_gamestate_t gamestate)
 Convert MSL gamestate to a string. More...
 
const char * worldinfo_gamestate_team_tostring (worldinfo_gamestate_team_t team)
 Convert gamestate team to a string. More...
 
const char * worldinfo_gamestate_goalcolor_tostring (worldinfo_gamestate_goalcolor_t goal_color)
 Convert goal color to a string. More...
 
const char * worldinfo_gamestate_half_tostring (worldinfo_gamestate_half_t half)
 Convert half time to a string. More...
 
const char * worldinfo_penalty_tostring (worldinfo_penalty_t penalty)
 Convert penalty to a string. More...
 
float deg2rad (float deg)
 Convert an angle given in degrees to radians. More...
 
float rad2deg (float rad)
 Convert an angle given in radians to degrees. More...
 
float distance (float x1, float y1, float x2, float y2)
 Get distance between two 2D cartesian coordinates. More...
 
float normalize_mirror_rad (float angle_rad)
 Normalize angle in radian between -PI (inclusive) and PI (exclusive). More...
 
float normalize_rad (float angle_rad)
 Normalize angle in radian between 0 (inclusive) and 2*PI (exclusive). More...
 
float normalize_bigmirror_rad (float angle_rad)
 Normalizes angle in radian between -3*PI and 3*PI. More...
 
float angle_distance (float angle_rad1, float angle_rad2)
 Determines the distance between two angle provided as radians. More...
 
void cart2polar2d (float cart_x, float cart_y, float *polar_phi, float *polar_dist)
 Convert a 2D polar coordinate to a 2D cartesian coordinate. More...
 
void polar2cart2d (float polar_phi, float polar_dist, float *cart_x, float *cart_y)
 Convert a 2D polar coordinate to a 2D cartesian coordinate. More...
 
float gauss (const float diff, const float sigma=1.0)
 The normal distribution. More...
 
float intersection_integral_oftwo_gaussians (float mu1, float sigma1, float mu2, float sigma2, float step)
 Computes the intersection integral of two gaussians given. More...
 
int unhex (char c)
 Transform hex to value. More...
 
void hex_unescape (char *s)
 Remove URL hex escapes from s in place. More...
 
Module::ModuleFlags operator| (const Module::ModuleFlags &flags_a, const Module::ModuleFlags &flags_b)
 Concatenation of flags. More...
 
std::string filetype_file (const char *filename)
 Get filetype of file. More...
 
std::string mimetype_file (const char *filename)
 Get mime-type of file. More...
 
static void set_nonblock_flag ()
 Set non-blocking flag on STDIN. More...
 
static void clear_nonblock_flag ()
 Clear non-blocking flag on STDIN. More...
 
char getkey (int timeout_decisecs)
 Get value of a single key-press non-blocking. More...
 
double time_diff_sec (const timeval &a, const timeval &b)
 Calculate time difference of two time structs. More...
 
double time_diff_sec (const long int a_sec, const long int a_usec, const long int b_sec, const long int b_usec)
 Calculate time difference of two time structs. More...
 
long int time_sec_to_usec (double sec)
 Convert seconds to micro seconds. More...
 
long int time_diff_usec (const timeval &a, const timeval &b)
 Get difference between two time structs in microseconds. More...
 
static int dynamic_reply_data_cb (void *reply, size_t pos, char *buf, int max)
 Callback based chunk-wise data. More...
 
static void dynamic_reply_free_cb (void *reply)
 Callback to free dynamic web reply. More...
 
void radToEnc (std::vector< float > &rad, std::vector< int > &enc)
 Convert radian vaulues of katana arm to encoder values. More...
 
void encToRad (std::vector< int > &enc, std::vector< float > &rad)
 Convert encoder vaulues of katana arm to radian angles. More...
 
void SetViewer (OpenRAVE::EnvironmentBasePtr env, const std::string &viewername)
 Sets and loads a viewer for OpenRAVE. More...
 

Variables

static const char * c_black = "\033[0;30m"
 Print black on console. More...
 
static std::string cblack = c_black
 Print black on console. More...
 
static const char * c_darkgray = "\033[1;30m"
 Print dark gray on console. More...
 
static std::string cdarkgray = c_darkgray
 Print dark gray on console. More...
 
static const char * c_red = "\033[0;31m"
 Print red on console. More...
 
static std::string cred = c_red
 Print red on console. More...
 
static const char * c_lightred = "\033[1;31m"
 Print light red on console. More...
 
static std::string clightred = c_lightred
 Print light red on console. More...
 
static const char * c_green = "\033[0;32m"
 Print green on console. More...
 
static std::string cgreen = c_green
 Print green on console. More...
 
static const char * c_lightgreen = "\033[1;32m"
 Print light green on console. More...
 
static std::string clightgreen = c_lightgreen
 Print light green on console. More...
 
static const char * c_brown = "\033[0;33m"
 Print brown on console. More...
 
static std::string cbrown = c_brown
 Print brown on console. More...
 
static const char * c_yellow = "\033[1;33m"
 Print yellow on console. More...
 
static std::string cyellow = c_yellow
 Print yellow on console. More...
 
static const char * c_blue = "\033[0;34m"
 Print blue on console. More...
 
static std::string cblue = c_blue
 Print blue on console. More...
 
static const char * c_lightblue = "\033[1;34m"
 Print light blue on console. More...
 
static std::string clightblue = c_lightblue
 Print light blue on console. More...
 
static const char * c_purple = "\033[0;35m"
 Print purple on console. More...
 
static std::string cpurple = c_purple
 Print purple on console. More...
 
static const char * c_lightpurple = "\033[1;35m"
 Print light purple on console. More...
 
static std::string clightpurple = c_lightpurple
 Print light purple on console. More...
 
static const char * c_cyan = "\033[0;36m"
 Print cyan on console. More...
 
static std::string ccyan = c_cyan
 Print cyan on console. More...
 
static const char * c_lightcyan = "\033[1;36m"
 Print light cyan on console. More...
 
static std::string clightcyan = c_lightcyan
 Print light cyan on console. More...
 
static const char * c_lightgray = "\033[2;37m"
 Print light gray on console. More...
 
static std::string clightgray = c_lightgray
 Print light gray on console. More...
 
static const char * c_white = "\033[1;37m"
 Print white on console. More...
 
static std::string cwhite = c_white
 Print white on console. More...
 
static const char * c_normal = "\033[0;39m"
 Print normal on console, without colors, depends on console settings. More...
 
static std::string cnormal = c_normal
 Print normal on console, without colors, depends on console settings. More...
 
const Time TIME_MAX = Time(std::numeric_limits<time_t>::max(), 999999)
 Instance of Time denoting the maximum value possible. More...
 
const Time TIME_MIN = Time(0, 1)
 Instance of Time denoting the minimum value possible. More...
 

Detailed Description

Fawkes library namespace.

This namespace is used for the Fawkes base libraries. As a rule of thumb everything that is in src/libs belongs to this namespace.

Typedef Documentation

Defines an arc (or circle)

Describes a field line.

typedef void(* fawkes::InterfaceDestroyFunc) (Interface *interface)

Interface destructor function for the shared library.

Do not use directly. Use EXPORT_INTERFACE macro.

Parameters
interfaceInterface to destroy

Definition at line 315 of file interface.h.

typedef Interface*(* fawkes::InterfaceFactoryFunc) (void)

Interface generator function for the shared library Do not use directly.

Use EXPORT_INTERFACE macro.

Definition at line 320 of file interface.h.

typedef const char*(* fawkes::PluginDependenciesFunc) ()

Plugin depdendency function for the shared library.

Returns
short string with a comma separated list of plugins that this plugin depends on.

Definition at line 88 of file plugin.h.

typedef const char*(* fawkes::PluginDescriptionFunc) ()

Plugin description function for the shared library.

Returns
short string describing the plugin.

Definition at line 82 of file plugin.h.

Defines a point with 6-degrees of freedom.

Enumeration Type Documentation

BlackBoard network message types.

Definition at line 36 of file messages.h.

Error codes.

Enumerator
BB_ERR_UNKNOWN_ERR 

Unknown error occured.

Check log.

BB_ERR_UNKNOWN_TYPE 

Requested interface type is unknown.

BB_ERR_HASH_MISMATCH 

The hashes of the interfaces do not match.

Make sure that both sides are using the exact same version of the interface.

BB_ERR_WRITER_EXISTS 

You tried to open an interface for writing but there is already a writing instance for this interface.

Definition at line 57 of file messages.h.

Euler rotations.

Enumerator
EULER_ZXZ 

ZXZ rotation.

EULER_ZYZ 

ZYZ rotation.

EULER_ZYX 

ZYX rotation.

Definition at line 40 of file types.h.

Interface field type.

Enumerator
IFT_BOOL 

boolean field

IFT_INT8 

8 bit integer field

IFT_UINT8 

8 bit unsigned integer field

IFT_INT16 

16 bit integer field

IFT_UINT16 

16 bit unsigned integer field

IFT_INT32 

32 bit integer field

IFT_UINT32 

32 bit unsigned integer field

IFT_INT64 

64 bit integer field

IFT_UINT64 

64 bit unsigned integer field

IFT_FLOAT 

float field

IFT_DOUBLE 

double field

IFT_STRING 

string field

IFT_BYTE 

byte field, alias for uint8

IFT_ENUM 

field with interface specific enum type

Definition at line 33 of file types.h.

Plugin message type.

Enumerator
MSG_PLUGIN_LOAD 

request plugin load (plugin_load_msg_t)

MSG_PLUGIN_LOADED 

plugin loaded (plugin_loaded_msg_t)

MSG_PLUGIN_LOAD_FAILED 

plugin load failed (plugin_load_failed_msg_t)

MSG_PLUGIN_UNLOAD 

request plugin unload (plugin_unload_msg_t)

MSG_PLUGIN_UNLOADED 

plugin unloaded (plugin_unloaded_msg_t)

MSG_PLUGIN_UNLOAD_FAILED 

plugin unload failed (plugin_unload_failed_msg_t)

MSG_PLUGIN_LIST_AVAIL 

request list of available plugins

MSG_PLUGIN_AVAIL_LIST 

list of available plugins (plugin_list_msg_t)

MSG_PLUGIN_AVAIL_LIST_FAILED 

listing available plugins failed

MSG_PLUGIN_LIST_LOADED 

request lif of loaded plugins

MSG_PLUGIN_LOADED_LIST 

list of loaded plugins (plugin_list_msg_t)

MSG_PLUGIN_LOADED_LIST_FAILED 

listing loaded plugins failed

MSG_PLUGIN_SUBSCRIBE_WATCH 

Subscribe for watching load/unload events.

MSG_PLUGIN_UNSUBSCRIBE_WATCH 

Unsubscribe from watching load/unload events.

Definition at line 32 of file messages.h.

Target types.

Enumerator
TARGET_NONE 

No valid target.

TARGET_JOINTS 

Target: motor joint values.

TARGET_TRANSFORM 

Target: absolute endeffector translation and rotation.

TARGET_RELATIVE 

Target: relative endeffector translation, based on robot's coordinate system.

TARGET_RELATIVE_EXT 

Target: relative endeffector translation, based on arm extension.

TARGET_IKPARAM 

Target: OpenRAVE::IkParameterization string.

Definition at line 47 of file types.h.

Goal color.

Enumerator
GOAL_BLUE 

Blue goal.

GOAL_YELLOW 

Yellow goal.

Definition at line 63 of file enums.h.

Game time half.

Enumerator
HALF_FIRST 

First half.

HALF_SECOND 

Second half.

Definition at line 70 of file enums.h.

Team.

Enumerator
TEAM_NONE 

No team, not team-specific.

TEAM_CYAN 

Cyan team.

TEAM_MAGENTA 

Magenta team.

TEAM_BOTH 

Both teams.

Definition at line 54 of file enums.h.

WorldInfo message IDs.

Enumerator
WORLDINFO_MSGTYPE_POSE 

Sending robot's pose.

WORLDINFO_MSGTYPE_VELO 

Sending robot's velocity.

WORLDINFO_MSGTYPE_RELBALL 

Observed relative ball position.

WORLDINFO_MSGTYPE_RELBALLVELO 

Observed relative ball velocity.

WORLDINFO_MSGTYPE_OPP_POSE 

Observed opponent pose.

WORLDINFO_MSGTYPE_OPP_DISAPP 

Observed opponent disappered.

WORLDINFO_MSGTYPE_FAT_WORLDINFO 

Fat message containing all the information,.

Deprecated:
WORLDINFO_MSGTYPE_GAMESTATE 

Gamestate info.

WORLDINFO_MSGTYPE_PENALTY 

Penalty info.

WORLDINFO_MSGTYPE_GLOBBALL 

Global ball position.

WORLDINFO_MSGTYPE_GLOBBALLVELO 

Global ball velocity.

Definition at line 35 of file messages.h.

Game states for RoboCup MSL.

Enumerator
GS_FROZEN 

Frozen, nothing moves.

GS_PLAY 

Play, normal play.

GS_KICK_OFF 

Kick off.

GS_DROP_BALL 

Referee drops ball, both teams can wrestle for the ball.

GS_PENALTY 

Penalty kick.

GS_CORNER_KICK 

Corner kick.

GS_THROW_IN 

Throw in.

GS_FREE_KICK 

Free kick.

GS_GOAL_KICK 

Goal kick.

GS_HALF_TIME 

Half time.

Definition at line 30 of file enums.h.

Robot penalty code.

Enumerator
PENALTY_NONE 

No penalty.

PENALTY_BALL_HOLDING 

Robot hold the ball.

PENALTY_GOALIE_PUSHING 

Robot pushed the goalie.

PENALTY_PLAYER_PUSHING 

Robot pushed a player.

PENALTY_ILLEGAL_DEFENDER 

Robot is an illegal defender.

PENALTY_ILLEGAL_DEFENSE 

Illegal defense.

PENALTY_OBSTRUCTION 

Robot obstructs path way.

PENALTY_REQ_FOR_PICKUP 

Robot was requested for pick up.

PENALTY_LEAVING 

Robot has to leave.

PENALTY_DAMAGE 

Robot is damaged.

PENALTY_MANUAL 

Manually penalized.

Definition at line 76 of file enums.h.

Game states for RoboCup SPL.

Enumerator
GS_SPL_INITIAL 

Initial setup phase.

GS_SPL_READY 

Move to kick-off positions.

GS_SPL_SET 

Wait for kick-off.

GS_SPL_PLAY 

Play!

GS_SPL_FINISHED 

Corner kick.

Definition at line 44 of file enums.h.

Function Documentation

float fawkes::angle_distance ( float  angle_rad1,
float  angle_rad2 
)
inline

Determines the distance between two angle provided as radians.

Quadrants of the angles are considered to determine really the minimal angle difference.

Parameters
angle_rad1first angle in radian
angle_rad2first angle in radian
Returns
distance between the two angles

Definition at line 130 of file angle.h.

void fawkes::cart2polar2d ( float  cart_x,
float  cart_y,
float *  polar_phi,
float *  polar_dist 
)
inline

Convert a 2D polar coordinate to a 2D cartesian coordinate.

Parameters
polar_phiPhi of the polar coordinate
polar_distdistnace of the polar coordinate
cart_xupon return contains X of the cartesian coordinate
cart_yupon return contains Y of the cartesian coordinate

Definition at line 39 of file coord.h.

static void fawkes::clear_nonblock_flag ( )
static

Clear non-blocking flag on STDIN.

Definition at line 51 of file getkey.cpp.

Referenced by getkey().

float fawkes::deg2rad ( float  deg)
inline

Convert an angle given in degrees to radians.

Parameters
degoriginal value in degrees
Returns
converted value in radians

Definition at line 37 of file angle.h.

Referenced by firevision::BallTrigoRelativePos::BallTrigoRelativePos(), RosLaserScanThread::bb_interface_created(), RosLaserScanThread::bb_interface_data_changed(), firevision::BoxRelative::BoxRelative(), firevision::LineShape::calcPoints(), firevision::CameraTracker::CameraTracker(), firevision::CornerHorizon::CornerHorizon(), LaserDrawingArea::draw_beams(), firevision::MirrorCalibTool::draw_crosshair(), firevision::MirrorCalibTool::draw_line(), LaserDrawingArea::draw_segments(), encToRad(), LaserProjectionDataFilter::filter(), firevision::FrontBallRelativePos::FrontBallRelativePos(), RobotisRX28::get_max_supported_speed(), firevision::TriclopsStereoProcessor::get_world_xyz(), firevision::TriclopsStereoProcessor::getall_world_xyz(), firevision::MirrorCalibTool::CartesianImage::highlight_line(), TabletopVisualizationThread::init(), LaserPointCloudThread::init(), RosLaserScanThread::init(), PanTiltRX28Thread::init(), TabletopObjectsThread::init(), AmclThread::init(), firevision::MirrorCalibTool::CartesianImage::is_line(), LaserProjectionDataFilter::LaserProjectionDataFilter(), MapLaserGenThread::loop(), LaserHtSensorProcThread::loop(), RosLaserScanThread::loop(), RobotinoActThread::loop(), radToEnc(), NaoQiMotionKickTask::run(), firevision::ScanlineStar::ScanlineStar(), firevision::BoxRelative::set_horizontal_angle(), firevision::FrontBallRelativePos::set_horizontal_angle(), firevision::BoxRelative::set_vertical_angle(), and firevision::FrontBallRelativePos::set_vertical_angle().

float fawkes::distance ( float  x1,
float  y1,
float  x2,
float  y2 
)
inline

Get distance between two 2D cartesian coordinates.

Parameters
x1X coordinate of first point
y1Y coordinate of first point
x2X coordinate of second point
y2Y coordinate of second point
Returns
distance between points

Definition at line 62 of file angle.h.

Referenced by fawkes::WorldInfoTransceiver::add_opponent(), and WorldModelObjPosAverageFuser::fuse().

static void fawkes::dump_table ( FILE *  f,
::sqlite3 *  tdb,
const char *  table_name 
)
static

Dump table.

Dumps a table to the given file.

Parameters
ffile to write to
tdbSQLite3 database to read from
table_nameName of the table to dump

Definition at line 356 of file sqlite.cpp.

static int fawkes::dynamic_reply_data_cb ( void *  reply,
size_t  pos,
char *  buf,
int  max 
)
static

Callback based chunk-wise data.

Supplies data chunk based.

Parameters
replyinstance of DynamicWebReply
posposition in stream
bufbuffer to put data in
maxmaximum number of bytes that can be put in buf
Returns
suitable libmicrohttpd return code

Definition at line 151 of file request_dispatcher.cpp.

References dynamic_reply_data_cb(), and fawkes::DynamicWebReply::next_chunk().

Referenced by dynamic_reply_data_cb().

static void fawkes::dynamic_reply_free_cb ( void *  reply)
static

Callback to free dynamic web reply.

Parameters
replyInstance of DynamicWebReply to free.

Definition at line 166 of file request_dispatcher.cpp.

References dynamic_reply_free_cb().

Referenced by dynamic_reply_free_cb().

void fawkes::encToRad ( std::vector< int > &  enc,
std::vector< float > &  rad 
)
inline

Convert encoder vaulues of katana arm to radian angles.

Parameters
encvector with encoder values, received from CKatana::getRobotEncoders
radvector to be filled with angle values

Definition at line 56 of file conversion.h.

References deg2rad(), and encToRad().

Referenced by encToRad().

std::string fawkes::filetype_file ( const char *  filename)

Get filetype of file.

Returns a long decriptive string of the filetype, similar to the file console utility.

Parameters
filenamepath to the file whose type should be determined
Returns
descriptive string

Definition at line 40 of file filetype.cpp.

float fawkes::gauss ( const float  diff,
const float  sigma = 1.0 
)
inline

The normal distribution.

Parameters
diffthe differance: (x - mu) for the mean mu and the randomvariable x
sigmathe variance
Returns
probability in normal distribution

Definition at line 40 of file probdist.h.

References gauss().

Referenced by gauss(), and intersection_integral_oftwo_gaussians().

char fawkes::getkey ( int  timeout_decisecs)

Get value of a single key-press non-blocking.

This method checks if a new keypress has happened and returns the value in this case. Otherwise it returns 0. The method does not block.

Parameters
timeout_decisecsIf less than 0 wait forever, if 0 non-blocking (returns 0 if no key pressed immediately, if greater than 0 it is the timeout in deciseconds.
Returns
key pressed or 0 (no key read)

Definition at line 70 of file getkey.cpp.

References clear_nonblock_flag(), and set_nonblock_flag().

void fawkes::hex_unescape ( char *  s)

Remove URL hex escapes from s in place.

Parameters
sstring to manipulate

Definition at line 45 of file string_urlescape.h.

References unhex().

float fawkes::intersection_integral_oftwo_gaussians ( float  mu1,
float  sigma1,
float  mu2,
float  sigma2,
float  step 
)
inline

Computes the intersection integral of two gaussians given.

Parameters
mu1mean of first gaussian
sigma1variance of first gaussian
mu2mean of second gaussian
sigma2variance of second gaussian
stepdiscretization steps for the integral computation
Returns
computed integral

Definition at line 56 of file probdist.h.

References gauss(), and intersection_integral_oftwo_gaussians().

Referenced by intersection_integral_oftwo_gaussians().

std::string fawkes::mimetype_file ( const char *  filename)

Get mime-type of file.

This function gives a brief mime-type for the given file.

Parameters
filenamepath to the file whose type should be determined
Returns
descriptive string
Parameters
filename

Definition at line 74 of file filetype.cpp.

Referenced by fawkes::DynamicFileWebReply::DynamicFileWebReply().

float fawkes::normalize_bigmirror_rad ( float  angle_rad)
inline

Normalizes angle in radian between -3*PI and 3*PI.

If the angle is above 2*PI or below 2*PI the angle will be clipped. The largest full amount of (-)2*PI is subtracted, such that only the amount within the range [-2*PI, 2*PI] remains. Then (-)2*PI is added again.

Parameters
angle_radoriginal value
Returns
normalized angle

Definition at line 112 of file angle.h.

References normalize_mirror_rad().

float fawkes::normalize_mirror_rad ( float  angle_rad)
inline

Normalize angle in radian between -PI (inclusive) and PI (exclusive).

The given angle in radians is taken as an angle on the unit circle. It is then normalized into the range -PI and PI, such that it is the exact same angle on the unit circle but in the usual angle range.

Parameters
angle_radoriginal value
Returns
normalized angle

Definition at line 75 of file angle.h.

Referenced by firevision::CameraTracker::calc(), firevision::CornerHorizon::calculate(), firevision::SEGenerator::linear(), and normalize_bigmirror_rad().

float fawkes::normalize_rad ( float  angle_rad)
inline

Normalize angle in radian between 0 (inclusive) and 2*PI (exclusive).

The given angle in radians is taken as an angle on the unit circle. It is then normalized into the range 0 and 2*PI, such that it is the exact same angle on the unit circle but in the usual angle range.

Parameters
angle_radoriginal value
Returns
normalized angle

Definition at line 93 of file angle.h.

Referenced by firevision::MirrorCalibTool::Point::atan(), LaserDrawingArea::draw_beams(), firevision::MirrorCalibTool::draw_crosshair(), firevision::MirrorCalibTool::draw_line(), and MapLaserGenThread::loop().

Testing of register flags.

Parameters
aflags to test
bflags to test for
Returns
resulting flags

Definition at line 201 of file blackboard.h.

References operator&().

Referenced by operator&().

std::ostream& fawkes::operator<< ( std::ostream &  stream,
const Vector v 
)

Appends the components of the Vector to the ostream.

Parameters
streamthe input stream
vthe vector to be appended
Returns
the resulting stream

Definition at line 513 of file vector.cpp.

References fawkes::Vector::get().

Module::ModuleFlags fawkes::operator| ( const Module::ModuleFlags flags_a,
const Module::ModuleFlags flags_b 
)
inline

Concatenation of flags.

Parameters
flags_aflags to concatenate
flags_bother flags to concatenate
Returns
concatenated flags

Definition at line 130 of file module.h.

Concatenation of register flags.

Parameters
aflags to concatenate
bother flags to concatenate
Returns
concatenated flags

Definition at line 188 of file blackboard.h.

References operator|().

Referenced by operator|().

void fawkes::polar2cart2d ( float  polar_phi,
float  polar_dist,
float *  cart_x,
float *  cart_y 
)
inline

Convert a 2D polar coordinate to a 2D cartesian coordinate.

Parameters
polar_phiPhi of the polar coordinate
polar_distdistnace of the polar coordinate
cart_xupon return contains X of the cartesian coordinate
cart_yupon return contains Y of the cartesian coordinate

Definition at line 54 of file coord.h.

Referenced by LaserHtSensorProcThread::loop().

float fawkes::rad2deg ( float  rad)
inline

Convert an angle given in radians to degrees.

Parameters
radoriginal value in radians
Returns
converted value in degrees

Definition at line 48 of file angle.h.

Referenced by LaserHtSensorProcThread::loop(), RobotinoActThread::loop(), firevision::MirrorCalibTool::next_step(), firevision::HtLinesModel::parseImage(), firevision::RhtLinesModel::parseImage(), and PlayerLaserMapper::sync_player_to_fawkes().

void fawkes::radToEnc ( std::vector< float > &  rad,
std::vector< int > &  enc 
)
inline

Convert radian vaulues of katana arm to encoder values.

Parameters
radvector with radian angle values
encvector to be filled with encoder values

Definition at line 40 of file conversion.h.

References deg2rad(), and radToEnc().

Referenced by radToEnc().

DrawingManipulator * fawkes::set_color ( float  r,
float  g,
float  b 
)

Creates a drawing manipulator which sets the given color.

Parameters
rthe R value of the color
gthe G value of the color
bthe B value of the color
Returns
pointer to the newly created drawing manipulator

Definition at line 228 of file drawing_manipulator.cpp.

References fawkes::DrawingManipulator::set_color().

Referenced by firevision::MirrorCalibTool::CartesianImage::draw_line(), firevision::MirrorCalibTool::CartesianImage::highlight_pixel(), firevision::MirrorCalibTool::CartesianImage::highlight_point(), and firevision::MirrorCalibTool::CartesianImage::set_color().

DrawingManipulator * fawkes::set_color ( DrawingManipulator::Color  c)

Creates a drawing manipulator which sets the given color.

Parameters
cone of the colors defined in the DrawingManipulator class
Returns
pointer to the newly created drawing manipulator

Definition at line 239 of file drawing_manipulator.cpp.

References fawkes::DrawingManipulator::set_color().

DrawingManipulator * fawkes::set_line_width ( float  w)

Creates a drawing manipulator which sets the given line width.

Parameters
wthe line width
Returns
pointer to the newly created drawing manipulator

Definition at line 215 of file drawing_manipulator.cpp.

References fawkes::DrawingManipulator::set_line_width().

static void fawkes::set_nonblock_flag ( )
static

Set non-blocking flag on STDIN.

Sets the 0_NONBLOCK Flag to 1, so that the read command in the getkey()-method wont block the programm till a input is made (see also libc manual, pages 105 and 117).

Definition at line 39 of file getkey.cpp.

Referenced by getkey().

DrawingManipulator * fawkes::set_point_size ( float  s)

Creates a drawing manipulator which sets the given point size.

Parameters
sthe point size
Returns
pointer to the newly created drawing manipulator

Definition at line 250 of file drawing_manipulator.cpp.

References fawkes::DrawingManipulator::set_point_size().

void fawkes::SetViewer ( OpenRAVE::EnvironmentBasePtr  env,
const std::string &  viewername 
)

Sets and loads a viewer for OpenRAVE.

Parameters
envOpenRAVE environment to be attached
viewernamename of the viewr, usually "qtcoin"

Definition at line 53 of file environment.cpp.

References SetViewer().

Referenced by SetViewer(), and fawkes::OpenRaveEnvironment::start_viewer().

double fawkes::time_diff_sec ( const timeval &  a,
const timeval &  b 
)
inline

Calculate time difference of two time structs.

The calculated time is t = a - b, where t is a represented as the number of seconds in a single precision float.

Parameters
atime to subtract from
btime to subtract
Returns
a - b

Definition at line 40 of file time.h.

Referenced by firevision::VelocityFromRelative::calc(), fawkes::Socket::connect(), NaoQiButtonThread::loop(), fawkes::Time::operator-(), fawkes::Socket::read(), fawkes::Socket::send(), firevision::VelocityGlobalFromRelative::setRobotPosition(), firevision::VelocityFromGlobal::setRobotPosition(), fawkes::Clock::sys_elapsed(), and fawkes::Socket::write().

double fawkes::time_diff_sec ( const long int  a_sec,
const long int  a_usec,
const long int  b_sec,
const long int  b_usec 
)
inline

Calculate time difference of two time structs.

The calculated time is t = a - b, where t is a represented as the number of seconds in a single precision float.

Parameters
a_secseconds of time to subtract from
a_usecmicroseconds of time to subtract from
b_secseconds of time to subtract
b_usecmicroseconds of time to subtract
Returns
a_sec - b_sec + (a_usec - b_usec) / 1000000.f

Definition at line 58 of file time.h.

long int fawkes::time_diff_usec ( const timeval &  a,
const timeval &  b 
)
inline

Get difference between two time structs in microseconds.

The calculated time is t = a - b

Parameters
atime to subtract from
btime to subtract
Returns
difference between a and b in microseconds

Definition at line 84 of file time.h.

Referenced by fawkes::TimeWait::wait(), and fawkes::TimeWait::wait_systime().

long int fawkes::time_sec_to_usec ( double  sec)
inline

Convert seconds to micro seconds.

Parameters
secseconds to convert
Returns
time in microseconds

Definition at line 72 of file time.h.

Referenced by RRDThread::init().

int fawkes::unhex ( char  c)

Transform hex to value.

Parameters
ccharacter
Returns
value of hex code as number

Definition at line 34 of file string_urlescape.h.

Referenced by hex_unescape().

const char * fawkes::worldinfo_gamestate_goalcolor_tostring ( worldinfo_gamestate_goalcolor_t  goal_color)

Convert goal color to a string.

Parameters
goal_colorgoal color
Returns
string representation of the given goal color.

Definition at line 92 of file enums.cpp.

References GOAL_BLUE, and GOAL_YELLOW.

Referenced by fawkes::WorldInfoDataContainer::get_own_goal_color_string(), RefBoxStateSender::set_team_goal(), RefBoxStateBBWriter::set_team_goal(), and RefBoxCommThread::set_team_goal().

const char * fawkes::worldinfo_gamestate_half_tostring ( worldinfo_gamestate_half_t  half)

Convert half time to a string.

Parameters
halfhalf time
Returns
string representation of the given half time.

Definition at line 108 of file enums.cpp.

References HALF_FIRST, and HALF_SECOND.

Referenced by fawkes::WorldInfoDataContainer::get_half_string(), RefBoxStateSender::set_half(), RefBoxStateBBWriter::set_half(), and RefBoxCommThread::set_half().

const char * fawkes::worldinfo_gamestate_team_tostring ( worldinfo_gamestate_team_t  team)
const char * fawkes::worldinfo_msl_gamestate_tostring ( worldinfo_msl_gamestate_t  gamestate)

Convert MSL gamestate to a string.

Parameters
gamestategame state to translate into a string
Returns
string representation of the given state.

Definition at line 35 of file enums.cpp.

References GS_CORNER_KICK, GS_DROP_BALL, GS_FREE_KICK, GS_FROZEN, GS_GOAL_KICK, GS_HALF_TIME, GS_KICK_OFF, GS_PENALTY, GS_PLAY, and GS_THROW_IN.

Referenced by fawkes::WorldInfoDataContainer::get_game_state_string().

const char * fawkes::worldinfo_penalty_tostring ( worldinfo_penalty_t  penalty)

Convert penalty to a string.

Parameters
penaltypenalty to translate into a string
Returns
string representation of the penalty

Definition at line 123 of file enums.cpp.

References PENALTY_BALL_HOLDING, PENALTY_DAMAGE, PENALTY_GOALIE_PUSHING, PENALTY_ILLEGAL_DEFENDER, PENALTY_ILLEGAL_DEFENSE, PENALTY_LEAVING, PENALTY_MANUAL, PENALTY_NONE, PENALTY_OBSTRUCTION, PENALTY_PLAYER_PUSHING, and PENALTY_REQ_FOR_PICKUP.

const char * fawkes::worldinfo_spl_gamestate_tostring ( worldinfo_spl_gamestate_t  gamestate)

Convert MSL gamestate to a string.

Parameters
gamestategame state to translate into a string
Returns
string representation of the given state.

Definition at line 57 of file enums.cpp.

References GS_SPL_FINISHED, GS_SPL_INITIAL, GS_SPL_PLAY, GS_SPL_READY, and GS_SPL_SET.

Variable Documentation

const char* fawkes::c_black = "\033[0;30m"
static

Print black on console.

Definition at line 33 of file console_colors.h.

const char* fawkes::c_blue = "\033[0;34m"
static

Print blue on console.

Definition at line 73 of file console_colors.h.

Referenced by FireVisionNetworkTool::service_added().

const char* fawkes::c_brown = "\033[0;33m"
static
const char* fawkes::c_cyan = "\033[0;36m"
static

Print cyan on console.

Definition at line 93 of file console_colors.h.

const char* fawkes::c_darkgray = "\033[1;30m"
static

Print dark gray on console.

Definition at line 38 of file console_colors.h.

const char* fawkes::c_green = "\033[0;32m"
static

Print green on console.

Definition at line 53 of file console_colors.h.

const char* fawkes::c_lightblue = "\033[1;34m"
static

Print light blue on console.

Definition at line 78 of file console_colors.h.

const char* fawkes::c_lightcyan = "\033[1;36m"
static

Print light cyan on console.

Definition at line 98 of file console_colors.h.

const char* fawkes::c_lightgray = "\033[2;37m"
static
const char* fawkes::c_lightgreen = "\033[1;32m"
static

Print light green on console.

Definition at line 58 of file console_colors.h.

const char* fawkes::c_lightpurple = "\033[1;35m"
static

Print light purple on console.

Definition at line 88 of file console_colors.h.

const char* fawkes::c_lightred = "\033[1;31m"
static

Print light red on console.

Definition at line 48 of file console_colors.h.

const char* fawkes::c_purple = "\033[0;35m"
static

Print purple on console.

Definition at line 83 of file console_colors.h.

const char* fawkes::c_red = "\033[0;31m"
static
const char* fawkes::c_white = "\033[1;37m"
static

Print white on console.

Definition at line 108 of file console_colors.h.

const char* fawkes::c_yellow = "\033[1;33m"
static

Print yellow on console.

Definition at line 68 of file console_colors.h.

std::string fawkes::cblack = c_black
static

Print black on console.

Definition at line 35 of file console_colors.h.

std::string fawkes::cblue = c_blue
static

Print blue on console.

Definition at line 75 of file console_colors.h.

Referenced by firevision::SurfClassifier::classify().

std::string fawkes::cbrown = c_brown
static

Print brown on console.

Definition at line 65 of file console_colors.h.

std::string fawkes::ccyan = c_cyan
static

Print cyan on console.

Definition at line 95 of file console_colors.h.

std::string fawkes::cdarkgray = c_darkgray
static

Print dark gray on console.

Definition at line 40 of file console_colors.h.

std::string fawkes::cgreen = c_green
static

Print green on console.

Definition at line 55 of file console_colors.h.

Referenced by firevision::SurfClassifier::classify().

std::string fawkes::clightblue = c_lightblue
static

Print light blue on console.

Definition at line 80 of file console_colors.h.

std::string fawkes::clightcyan = c_lightcyan
static

Print light cyan on console.

Definition at line 100 of file console_colors.h.

std::string fawkes::clightgray = c_lightgray
static

Print light gray on console.

Definition at line 105 of file console_colors.h.

std::string fawkes::clightgreen = c_lightgreen
static

Print light green on console.

Definition at line 60 of file console_colors.h.

std::string fawkes::clightpurple = c_lightpurple
static

Print light purple on console.

Definition at line 90 of file console_colors.h.

std::string fawkes::clightred = c_lightred
static

Print light red on console.

Definition at line 50 of file console_colors.h.

std::string fawkes::cnormal = c_normal
static

Print normal on console, without colors, depends on console settings.

Definition at line 115 of file console_colors.h.

Referenced by firevision::SurfClassifier::classify().

std::string fawkes::cpurple = c_purple
static

Print purple on console.

Definition at line 85 of file console_colors.h.

std::string fawkes::cred = c_red
static

Print red on console.

Definition at line 45 of file console_colors.h.

std::string fawkes::cwhite = c_white
static

Print white on console.

Definition at line 110 of file console_colors.h.

std::string fawkes::cyellow = c_yellow
static

Print yellow on console.

Definition at line 70 of file console_colors.h.

const Time fawkes::TIME_MAX = Time(std::numeric_limits<time_t>::max(), 999999)

Instance of Time denoting the maximum value possible.

This is particularly useful when initializing a minimization in time.

Definition at line 47 of file time.cpp.

const Time fawkes::TIME_MIN = Time(0, 1)

Instance of Time denoting the minimum value possible.

This is particularly useful when initializing a maximization in time.

Definition at line 52 of file time.cpp.