8#ifndef META_OCEAN_DEVICES_SLAM_TRACKER_6DOF_H
9#define META_OCEAN_DEVICES_SLAM_TRACKER_6DOF_H
131 return std::string(
"SLAM Feature Based 6DOF Tracker");
Definition of a class holding the major and minor device type.
Definition devices/Device.h:62
virtual bool parameter(const std::string ¶meter, Value &value)
Returns an abstract parameter of this device.
ObjectId objectId(const std::string &description) const
Returns the object id for an object description.
static constexpr ObjectId invalidObjectId()
Returns an invalid object id.
Definition Measurement.h:631
uint32_t ObjectId
Definition of an object id.
Definition Measurement.h:47
SLAMDevice(const std::string &name, const DeviceType type)
Creates a new device by is name.
unsigned int preferredCameraHeight_
The preferred height of the camera frame.
Definition SLAMTracker6DOF.h:126
bool stop() override
Stops the device.
bool isStarted() const override
Returns whether this device is active.
static std::string deviceNameSLAMTracker6DOF()
Returns the name of this tracker.
Definition SLAMTracker6DOF.h:129
bool setParameter(const std::string ¶meter, const Value &value) override
Sets an abstract parameter of this device.
ObjectId uniqueObjectId_
The unique object id of this tracker.
Definition SLAMTracker6DOF.h:117
~SLAMTracker6DOF() override
Destructs an SLAM feature based 6DOF tracker object.
SLAMTracker6DOF()
Creates a new SLAM feature based 6DOF tracker object.
void threadRun() override
Thread function.
void postPose(const HomogenousMatrix4 &world_T_camera, const Timestamp ×tamp)
Posts a new camera pose.
std::atomic_bool isObjectTracked_
True, if the SLAM tracker is currently actively providing a valid camera pose.
Definition SLAMTracker6DOF.h:120
static DeviceType deviceTypeSLAMTracker6DOF()
Returns the type of this tracker.
Definition SLAMTracker6DOF.h:134
bool start() override
Starts the device.
bool isObjectTracked(const ObjectId &objectId) const override
Returns whether a specific object is currently actively tracked by this tracker.
unsigned int preferredCameraWidth_
The preferred width of the camera frame.
Definition SLAMTracker6DOF.h:123
Tracking::SLAM::TrackerMono trackerMono_
The actual implementation of the tracker.
Definition SLAMTracker6DOF.h:114
friend class SLAMFactory
Definition SLAMTracker6DOF.h:40
Tracker6DOF(const std::string &name)
Creates a new 6DOF tracker object.
static DeviceType deviceTypeTracker6DOF()
Definition of this device type.
Definition Tracker6DOF.h:106
@ TRACKER_VISUAL
Tracker using a visual input for their measurements.
Definition devices/Tracker.h:64
VisualTracker(const std::string &name, const DeviceType type)
Creates a new visual tracker object.
Thread(const std::string &name=std::string())
Creates a new thread object.
This class implements a timestamp.
Definition Timestamp.h:64
This class implements a monocular SLAM tracker.
Definition slam/TrackerMono.h:52
This class implements a type independent value.
Definition Value.h:23
HomogenousMatrixT4< Scalar > HomogenousMatrix4
Definition of the HomogenousMatrix4 object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION flag eit...
Definition HomogenousMatrix4.h:44
Namespace of the Devices SLAM library.
Definition devices/slam/SLAM.h:20
Namespace of the Devices library.
Definition AccelerationSensor3DOF.h:24
The namespace covering the entire Ocean framework.
Definition Accessor.h:15