Namespaces | |
karto::gps | |
karto::math | |
Macros | |
#define | const_forEach(listtype, list) for ( listtype::const_iterator iter = (list)->begin(); iter != (list)->end(); ++iter ) |
#define | const_forEachAs(listtype, list, iter) for ( listtype::const_iterator iter = (list)->begin(); iter != (list)->end(); ++iter ) |
#define | const_forEachR(listtype, list) for ( listtype::const_reverse_iterator iter = (list)->rbegin(); iter != (list)->rend(); ++iter ) |
#define | forEach(listtype, list) for ( listtype::iterator iter = (list)->begin(); iter != (list)->end(); ++iter ) |
#define | forEachAs(listtype, list, iter) for ( listtype::iterator iter = (list)->begin(); iter != (list)->end(); ++iter ) |
#define | forEachR(listtype, list) for ( listtype::reverse_iterator iter = (list)->rbegin(); iter != (list)->rend(); ++iter ) |
#define | KARTO_AUTO_TYPE(type, registerFunc) |
#define | karto_const_forEach(listtype, list) for ( listtype::ConstIterator iter = (list)->GetConstIterator(); iter.HasNext(); iter.Next()) |
#define | karto_const_forEachAs(listtype, list, iter) for ( listtype::ConstIterator iter = (list)->GetConstIterator(); iter.HasNext(); iter.Next()) |
#define | KARTO_DEPRECATED |
#define | KARTO_EXPORT |
#define | KARTO_FORCEINLINE |
#define | karto_forEach(listtype, list) for ( listtype::Iterator iter = (list)->GetIterator(); iter.HasNext(); iter.Next()) |
#define | karto_forEachAs(listtype, list, iter) for ( listtype::Iterator iter = (list)->GetIterator(); iter.HasNext(); iter.Next()) |
#define | KARTO_RTTI() |
#define | KARTO_TYPE(type) |
#define | KARTO_TYPECHECKCAST(__Name__) |
Enumerations | |
enum | karto::GridStates { karto::GridStates_Unknown = 0, karto::GridStates_Occupied = 100, karto::GridStates_Free = 255 } |
enum | karto::LaserRangeFinderType { karto::LaserRangeFinder_Custom = 0, karto::LaserRangeFinder_Sick_LMS100 = 1, karto::LaserRangeFinder_Sick_LMS200 = 2, karto::LaserRangeFinder_Sick_LMS291 = 3, karto::LaserRangeFinder_Hokuyo_UTM_30LX = 4, karto::LaserRangeFinder_Hokuyo_URG_04LX = 5 } |
enum | karto::LogLevel { karto::LOG_NONE = 0, karto::LOG_FATAL = 1, karto::LOG_ERROR = 3, karto::LOG_WARNING = 4, karto::LOG_INFORMATION = 6, karto::LOG_DEBUG = 7 } |
enum | karto::ParameterFlags { karto::ParameterFlag_Read = 0x01, karto::ParameterFlag_Write = 0x02, karto::ParameterFlag_Hidden = 0x08, karto::ParameterFlag_System = 0x10 } |
Friends | |
template<class Other > | |
class | karto::SmartPointer< T >::SmartPointer |
#define const_forEach | ( | listtype, | |
list | |||
) | for ( listtype::const_iterator iter = (list)->begin(); iter != (list)->end(); ++iter ) |
#define const_forEachAs | ( | listtype, | |
list, | |||
iter | |||
) | for ( listtype::const_iterator iter = (list)->begin(); iter != (list)->end(); ++iter ) |
#define const_forEachR | ( | listtype, | |
list | |||
) | for ( listtype::const_reverse_iterator iter = (list)->rbegin(); iter != (list)->rend(); ++iter ) |
#define forEach | ( | listtype, | |
list | |||
) | for ( listtype::iterator iter = (list)->begin(); iter != (list)->end(); ++iter ) |
#define forEachAs | ( | listtype, | |
list, | |||
iter | |||
) | for ( listtype::iterator iter = (list)->begin(); iter != (list)->end(); ++iter ) |
#define forEachR | ( | listtype, | |
list | |||
) | for ( listtype::reverse_iterator iter = (list)->rbegin(); iter != (list)->rend(); ++iter ) |
#define KARTO_AUTO_TYPE | ( | type, | |
registerFunc | |||
) |
Macro for adding a C++ class to the Meta system with a registration function as a callback. The registration function will be call the first time the provided class is accessed.
#define karto_const_forEach | ( | listtype, | |
list | |||
) | for ( listtype::ConstIterator iter = (list)->GetConstIterator(); iter.HasNext(); iter.Next()) |
Iterate through items in const karto::List with iterator iter
#define karto_const_forEachAs | ( | listtype, | |
list, | |||
iter | |||
) | for ( listtype::ConstIterator iter = (list)->GetConstIterator(); iter.HasNext(); iter.Next()) |
Iterate through items in const karto::List with provided iterator iter
#define KARTO_DEPRECATED |
#define KARTO_EXPORT |
#define KARTO_FORCEINLINE |
#define karto_forEach | ( | listtype, | |
list | |||
) | for ( listtype::Iterator iter = (list)->GetIterator(); iter.HasNext(); iter.Next()) |
Iterate through items in karto::List with iterator iter
#define karto_forEachAs | ( | listtype, | |
list, | |||
iter | |||
) | for ( listtype::Iterator iter = (list)->GetIterator(); iter.HasNext(); iter.Next()) |
Iterate through items in karto::List with provided iterator iter
#define KARTO_RTTI | ( | ) |
#define KARTO_TYPE | ( | type | ) |
////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////
/** Macro for adding a C++ class to the Meta system.
#define KARTO_TYPECHECKCAST | ( | __Name__ | ) |
Karto object type check
typedef SmartPointer<Dataset> karto::DatasetPtr |
Type declaration of Dataset managed by SmartPointer
typedef List<kt_double> karto::DoubleList |
Type declaration of kt_double List
Definition at line 53 of file SensorData.h.
typedef List< EnumPair > karto::EnumPairList |
Type declaration of EnumPair List
Definition at line 70 of file MetaEnum.h.
typedef int16_t kt_int16s |
typedef uint16_t kt_int16u |
typedef int32_t kt_int32s |
typedef uint32_t kt_int32u |
typedef signed long long kt_int64s |
typedef unsigned long long kt_int64u |
typedef int8_t kt_int8s |
typedef uint8_t kt_int8u |
typedef kt_int32u kt_objecttype |
typedef std::size_t kt_size_t |
Type declaration of LaserRangeFinder managed by SmartPointer
Type declaration of LocalizedLaserScan List
Definition at line 790 of file SensorData.h.
Type declaration of LocalizedLaserScan managed by SmartPointer
Definition at line 785 of file SensorData.h.
Type declaration of LocalizedObject List
Definition at line 556 of file SensorData.h.
Type declaration of LocalizedObject managed by SmartPointer
Definition at line 551 of file SensorData.h.
typedef List<ObjectPtr> karto::ObjectList |
typedef SmartPointer<Object> karto::ObjectPtr |
Type declaration of Object managed by SmartPointer
Type declaration of OccupancyGrid managed by SmartPointer
Definition at line 253 of file OccupancyGrid.h.
typedef List<SmartPointer<AbstractParameter> > karto::ParameterList |
Type declaration of AbstractParameter List
Definition at line 342 of file Parameter.h.
Type declaration of ParameterSet managed by SmartPointer
Definition at line 426 of file Parameter.h.
typedef List<Pose2> karto::Pose2List |
Type declaration of Pose2 List
Definition at line 2396 of file Geometry.h.
typedef List<kt_double> karto::RangeReadingsList |
Type declaration of range readings List
Definition at line 48 of file SensorData.h.
typedef List<SensorPtr> karto::SensorList |
typedef SmartPointer<Sensor> karto::SensorPtr |
Type declaration of Sensor managed by SmartPointer
typedef Vector2<kt_double> karto::Vector2d |
Type declaration of kt_double Vector2 as Vector2d
Definition at line 610 of file Geometry.h.
typedef List<Vector2d> karto::Vector2dList |
typedef Vector2<kt_int32s> karto::Vector2i |
Type declaration of kt_int32s Vector2 as Vector2i
Definition at line 600 of file Geometry.h.
typedef Vector2<kt_int32u> karto::Vector2iu |
Type declaration of kt_int32u Vector2 as Vector2iu
Definition at line 605 of file Geometry.h.
typedef Vector3<kt_double> karto::Vector3d |
Type declaration of kt_double Vector3 as Vector3d
Definition at line 1046 of file Geometry.h.
typedef Vector3<kt_int32s> karto::Vector3i |
Type declaration of kt_int32s Vector3 as Vector3i
Definition at line 1036 of file Geometry.h.
typedef Vector3<kt_int32u> karto::Vector3iu |
Type declaration of kt_int32u Vector3 as Vector3iu
Definition at line 1041 of file Geometry.h.
typedef Vector4<kt_double> karto::Vector4d |
Type declaration of double Vector4 as Vector4d
Definition at line 1280 of file Geometry.h.
typedef Vector4<kt_int32s> karto::Vector4i |
Type declaration of kt_int32s Vector4 as Vector4i
Definition at line 1270 of file Geometry.h.
typedef Vector4<kt_int32u> karto::Vector4iu |
Type declaration of kt_int32u Vector4 as Vector4iu
Definition at line 1275 of file Geometry.h.
enum karto::GridStates |
Valid grid cell states
Enumerator | |
---|---|
GridStates_Unknown | |
GridStates_Occupied | |
GridStates_Free |
Definition at line 39 of file OccupancyGrid.h.
Enumerated type for valid LaserRangeFinder types
Enumerator | |
---|---|
LaserRangeFinder_Custom | |
LaserRangeFinder_Sick_LMS100 | |
LaserRangeFinder_Sick_LMS200 | |
LaserRangeFinder_Sick_LMS291 | |
LaserRangeFinder_Hokuyo_UTM_30LX | |
LaserRangeFinder_Hokuyo_URG_04LX |
enum karto::LogLevel |
Parameter flags used by the KartoViewer application to control the visibility and read/write access
Enumerator | |
---|---|
ParameterFlag_Read | Parameter readable |
ParameterFlag_Write | Parameter writeable |
ParameterFlag_Hidden | Parameter hidden |
ParameterFlag_System | System parameter |
Definition at line 43 of file Parameter.h.
|
inline |
T* karto::any_cast | ( | Any * | pAny | ) |
|
inline |
|
inline |
|
inline |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inlinestatic |
Definition at line 3252 of file Geometry.h.
|
inline |
KARTO_EXPORT LogLevel karto::GetLogLevel | ( | ) |
|
inline |
const MetaClass& karto::GetMetaClassByObject | ( | const T & | rObject | ) |
const MetaClass& karto::GetMetaClassByType | ( | ) |
|
inline |
const MetaEnum& karto::GetMetaEnumByObject | ( | const T & | rObject | ) |
const MetaEnum& karto::GetMetaEnumByType | ( | ) |
|
inline |
|
inline |
|
inline |
Determines whether a given object is a laser scan object
pObject | object in question |
Definition at line 53 of file TypeCasts.h.
|
inline |
|
inline |
Whether the contained pointer is valid
Definition at line 121 of file SmartPointer.h.
karto::KARTO_AUTO_TYPE | ( | LaserRangeFinderType | , |
& | RegisterLaserRangeFinderType | ||
) |
Auto register LaserRangeFinderType with MetaEnumManager
karto::KARTO_TYPE | ( | SensorData | ) |
Register SensorData with MetaClassManager
karto::KARTO_TYPE | ( | OccupancyGrid | ) |
Register OccupancyGrid with MetaClassManager
karto::KARTO_TYPE | ( | LaserRangeScan | ) |
Register LaserRangeScan with MetaClassManager
karto::KARTO_TYPE | ( | AbstractParameter | ) |
Register AbstractParameter with MetaClassManager
karto::KARTO_TYPE | ( | LaserRangeFinder | ) |
Register LaserRangeFinder with MetaClassManager
Register Grid<kt_int8u> with MetaClassManager
Register Grid<kt_int32u> with MetaClassManager
Register Grid<kt_double> with MetaClassManager
karto::KARTO_TYPE | ( | LocalizedObject | ) |
Register LocalizedObject with MetaClassManager
Register Parameter<kt_bool> with MetaClassManager
Register Parameter<kt_int32u> with MetaClassManager
Register Parameter<kt_int64s> with MetaClassManager
Register Parameter<kt_double> with MetaClassManager
karto::KARTO_TYPE | ( | Parameter< karto::String > | ) |
Register Parameter<karto::String> with MetaClassManager
karto::KARTO_TYPE | ( | Parameter< karto::Size2< kt_int32s > > | ) |
Register Parameter<karto::Size2<kt_int32s> > with MetaClassManager
karto::KARTO_TYPE | ( | Parameter< karto::Size2< kt_int32u > > | ) |
Register Parameter<karto::Size2<kt_int32u> > with MetaClassManager
karto::KARTO_TYPE | ( | Parameter< karto::Size2< kt_double > > | ) |
Register Parameter<karto::Size2<kt_double> > with MetaClassManager
karto::KARTO_TYPE | ( | Parameter< karto::Vector2i > | ) |
Register Parameter<karto::Vector2i> with MetaClassManager
karto::KARTO_TYPE | ( | Parameter< karto::Vector3i > | ) |
Register Parameter<karto::Vector3i> with MetaClassManager
karto::KARTO_TYPE | ( | Parameter< karto::Vector4i > | ) |
Register Parameter<karto::Vector4i> with MetaClassManager
karto::KARTO_TYPE | ( | Parameter< karto::Vector2< kt_int32u > > | ) |
Register Parameter<karto::Vector2iu> with MetaClassManager
karto::KARTO_TYPE | ( | Parameter< karto::Vector3iu > | ) |
Register Parameter<karto::Vector3iu> with MetaClassManager
karto::KARTO_TYPE | ( | Parameter< karto::Vector4iu > | ) |
Register Parameter<karto::Vector4iu> with MetaClassManager
karto::KARTO_TYPE | ( | Parameter< karto::Vector2< kt_double > > | ) |
Register Parameter<karto::Vector2d> with MetaClassManager
karto::KARTO_TYPE | ( | Parameter< karto::Vector3d > | ) |
Register Parameter<karto::Vector3d> with MetaClassManager
karto::KARTO_TYPE | ( | Parameter< karto::Vector4d > | ) |
Register Parameter<karto::Vector4d> with MetaClassManager
karto::KARTO_TYPE | ( | Parameter< karto::Quaternion > | ) |
Register Parameter<karto::Quaternion> with MetaClassManager
karto::KARTO_TYPE | ( | Parameter< karto::Color > | ) |
Register Parameter<karto::Color> with MetaClassManager
karto::KARTO_TYPE | ( | Parameter< karto::Pose2 > | ) |
Register Parameter<karto::Pose2> with MetaClassManager
karto::KARTO_TYPE | ( | Parameter< karto::Pose3 > | ) |
Register Parameter<karto::Pose3> with MetaClassManager
karto::KARTO_TYPE | ( | Parameter< karto::gps::PointGps > | ) |
Register Parameter<karto::gps::PointGps> with MetaClassManager
karto::KARTO_TYPE | ( | LocalizedLaserScan | ) |
Register LocalizedLaserScan with MetaClassManager
karto::KARTO_TYPE | ( | ParameterEnum | ) |
Register ParameterEnum with MetaClassManager
karto::KARTO_TYPE | ( | LocalizedPointScan | ) |
Register LocalizedPointScan with MetaClassManager
karto::KARTO_TYPE | ( | LocalizedRangeScan | ) |
Register LocalizedRangeScan with MetaClassManager
KARTO_EXPORT void karto::Log | ( | LogLevel | level, |
const karto::String & | rMessage | ||
) |
Logs a message with the specified log level. Wrapper for Poco logging. Check if OpenKarto is compiled with POCO with USE_POCO=1.
level | log level |
rMessage | message |
Definition at line 183 of file Logger.cpp.
|
inline |
|
inline |
Returns an equivalent angle to the first parameter such that the difference when the second parameter is subtracted from this new value is an angle in the normalized range of [-pi, pi], i.e. abs(minuend - subtrahend) <= pi.
minuend | minuend |
subtrahend | subtrahend |
|
inline |
|
inline |
Gets a reference to the contained pointer
Definition at line 140 of file SmartPointer.h.
|
inline |
|
inline |
Assignment operator
Definition at line 157 of file SmartPointer.h.
|
inline |
Assignment operator
Definition at line 183 of file SmartPointer.h.
|
inline |
Assignment operator
Definition at line 209 of file SmartPointer.h.
void karto::RegisterLaserRangeFinderType | ( | ) |
LaserRangeFinderType auto register callback function
Definition at line 34 of file Sensor.cpp.
|
inline |
Sets pointer to NULL
Definition at line 98 of file SmartPointer.h.
KARTO_EXPORT void karto::SetLogLevel | ( | LogLevel | level | ) |
|
inline |
Default constructor
Definition at line 45 of file SmartPointer.h.
|
inline |
Copy constructor
Definition at line 53 of file SmartPointer.h.
|
inline |
Copy constructor
Definition at line 65 of file SmartPointer.h.
|
inline |
Assignment operator
Definition at line 77 of file SmartPointer.h.
|
inline |
|
inline |
|
inlinestatic |
Converts the given size to a string
rValue | value to be converted |
Definition at line 3228 of file Geometry.h.
|
inlinestatic |
Converts the given vector to a string
rValue | value to be converted |
Definition at line 3234 of file Geometry.h.
|
inlinestatic |
Converts the given vector to a string
rValue | value to be converted |
Definition at line 3240 of file Geometry.h.
|
inlinestatic |
Converts the given vector to a string
rValue | value to be converted |
Definition at line 3246 of file Geometry.h.
|
inlinevirtual |
Destructor
Definition at line 89 of file SmartPointer.h.
const kt_double karto::KT_180_PI = 57.29577951308232087685 |
const kt_double karto::KT_PI = 3.14159265358979323846 |
const kt_double karto::KT_PI_180 = 0.01745329251994329577 |
const kt_double karto::KT_PI_2 = 1.57079632679489661923 |
const kt_double karto::KT_TOLERANCE = 1e-06 |
KARTO_EXPORT BasicEvent< LogMessageArguments > karto::LogMessage |
Log message event
Definition at line 44 of file Logger.cpp.
|
private |
Definition at line 233 of file SmartPointer.h.
const kt_objecttype karto::ObjectType_Camera = ObjectType_Sensor | 0x04 |
const kt_objecttype karto::ObjectType_CameraImage = ObjectType_SensorData | 0x40 |
const kt_objecttype karto::ObjectType_CustomItem = 0x00004000 |
const kt_objecttype karto::ObjectType_DatasetInfo = ObjectType_Object | 0x02 |
const kt_objecttype karto::ObjectType_DatasetObjectMessage = ObjectType_Message | 0x10 |
const kt_objecttype karto::ObjectType_DefaultCustomItem = ObjectType_CustomItem | 0x01 |
const kt_objecttype karto::ObjectType_DoubleMessage = ObjectType_Message | 0x04 |
const kt_objecttype karto::ObjectType_Drive = ObjectType_Sensor | 0x01 |
const kt_objecttype karto::ObjectType_DrivePose = ObjectType_SensorData | 0x01 |
const kt_objecttype karto::ObjectType_Grid = 0x00008000 |
const kt_objecttype karto::ObjectType_Header = ObjectType_Misc | 0x01 |
const kt_objecttype karto::ObjectType_Image = ObjectType_Misc | 0x02 |
const kt_objecttype karto::ObjectType_Int32sMessage = ObjectType_Message | 0x01 |
const kt_objecttype karto::ObjectType_Int64sMessage = ObjectType_Message | 0x02 |
const kt_objecttype karto::ObjectType_LaserRangeFinder = ObjectType_Sensor | 0x02 |
const kt_objecttype karto::ObjectType_LaserRangeScan = ObjectType_SensorData | 0x02 |
const kt_objecttype karto::ObjectType_LocalizedLaserScan = ObjectType_SensorData | 0x20 |
const kt_objecttype karto::ObjectType_LocalizedObject = ObjectType_SensorData | 0x04 |
const kt_objecttype karto::ObjectType_LocalizedPointScan = ObjectType_SensorData | 0x10 |
const kt_objecttype karto::ObjectType_LocalizedRangeScan = ObjectType_SensorData | 0x08 |
const kt_objecttype karto::ObjectType_Message = 0x00010000 |
const kt_objecttype karto::ObjectType_Misc = 0x10000000 |
const kt_objecttype karto::ObjectType_Module = ObjectType_Object | 0x04 |
const kt_objecttype karto::ObjectType_ModuleParameters = ObjectType_Object | 0x01 |
const kt_objecttype karto::ObjectType_None = 0x00000000 |
const kt_objecttype karto::ObjectType_Object = 0x00020000 |
const kt_objecttype karto::ObjectType_OccupancyGrid = ObjectType_Grid | 0x01 |
const kt_objecttype karto::ObjectType_OccupancyGridTile = ObjectType_Grid | 0x02 |
const kt_objecttype karto::ObjectType_Rfid = ObjectType_CustomItem | 0x02 |
const kt_objecttype karto::ObjectType_ScansPoseUpdateMessage = ObjectType_Message | 0x20 |
const kt_objecttype karto::ObjectType_Sensor = 0x00001000 |
const kt_objecttype karto::ObjectType_SensorData = 0x00002000 |
const kt_objecttype karto::ObjectType_StringMessage = ObjectType_Message | 0x08 |
const kt_objecttype karto::ObjectType_TiledOccupancyGrid = ObjectType_Object | 0x08 |
Definition at line 235 of file SmartPointer.h.