8#ifndef META_OCEAN_DEVICES_MAPBUILDING_ON_DEVICE_RELOCALIZER_TRACKER_6DOF_H
9#define META_OCEAN_DEVICES_MAPBUILDING_ON_DEVICE_RELOCALIZER_TRACKER_6DOF_H
130 return std::string(
"On-Device Relocalizer 6DOF Tracker");
Definition of a class holding the major and minor device type.
Definition devices/Device.h:62
MapBuildingDevice(const std::string &name, const DeviceType type)
Creates a new device by is name.
OnDeviceRelocalizerTracker6DOF()
Creates a new 6DOF tracker object.
bool isObjectTracked(const ObjectId &objectId) const override
Returns whether a specific object is currently actively tracked by this tracker.
bool isMapTracked_
True, if the map is currently tracked.
Definition OnDeviceRelocalizerTracker6DOF.h:113
static std::string deviceNameOnDeviceRelocalizerTracker6DOF()
Returns the name of this tracker.
Definition OnDeviceRelocalizerTracker6DOF.h:128
Vectors3 objectPoints_
The 3D object points of the relocalizer.
Definition OnDeviceRelocalizerTracker6DOF.h:122
void threadRun() override
Thread function.
~OnDeviceRelocalizerTracker6DOF() override
Destructs a 6DOF tracker object.
Tracking::MapBuilding::RelocalizerMono relocalizer_
The relocalizer to be used to determine the 6-DOF pose.
Definition OnDeviceRelocalizerTracker6DOF.h:119
Indices64 objectPointIds_
The ids of the object points of the relocalizer.
Definition OnDeviceRelocalizerTracker6DOF.h:125
ObjectId mapObjectId_
The map's unique id.
Definition OnDeviceRelocalizerTracker6DOF.h:110
static DeviceType deviceTypeOnDeviceRelocalizerTracker6DOF()
Returns the type of this tracker.
Definition OnDeviceRelocalizerTracker6DOF.h:133
ObjectId registerObject(const std::string &description, const Vector3 &dimension) override
Adds a new tracking object.
bool isStarted() const override
Returns whether this device is active.
bool stop() override
Stops the device.
bool start() override
Starts the device.
friend class MapBuildingFactory
Definition OnDeviceRelocalizerTracker6DOF.h:42
Frame yFrame_
The reusable frame.
Definition OnDeviceRelocalizerTracker6DOF.h:116
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
ObjectTracker(const std::string &name, const DeviceType type)
Creates a new object tracker object.
SceneTracker6DOF(const std::string &name)
Creates a new 6-DOF scene 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
@ TRACKER_OBJECT
Tracker allowing to register tracking objects at runtime.
Definition devices/Tracker.h:66
VisualTracker(const std::string &name, const DeviceType type)
Creates a new visual tracker object.
This class implements Ocean's image class.
Definition Frame.h:1969
Thread(const std::string &name=std::string())
Creates a new thread object.
This class implements a relocalizer for mono cameras.
Definition RelocalizerMono.h:33
std::vector< Index64 > Indices64
Definition of a vector holding 64 bit index values.
Definition Base.h:108
VectorT3< Scalar > Vector3
Definition of a 3D vector.
Definition Vector3.h:29
std::vector< Vector3 > Vectors3
Definition of a vector holding Vector3 objects.
Definition Vector3.h:65
Namespace of the Devices MapBuilding library.
Definition devices/mapbuilding/jni/JNI.h:22
Namespace of the Devices library.
Definition AccelerationSensor3DOF.h:24
The namespace covering the entire Ocean framework.
Definition Accessor.h:15