#include <CameraTango.h>

Public Member Functions | |
| CameraTango (bool colorCamera, int decimation, bool publishRawScan, bool smoothing) | |
| virtual void | close () |
| void | cloudReceived (const cv::Mat &cloud, double timestamp) |
| virtual std::string | getSerial () const |
| virtual bool | init (const std::string &calibrationFolder=".", const std::string &cameraName="") |
| void | rgbReceived (const cv::Mat &tangoImage, int type, double timestamp) |
| void | setColorCamera (bool enabled) |
| void | setDecimation (int value) |
| void | setRawScanPublished (bool enabled) |
| void | tangoEventReceived (int type, const char *key, const char *value) |
| rtabmap::Transform | tangoPoseToTransform (const TangoPoseData *tangoPose) const |
| virtual | ~CameraTango () |
Public Member Functions inherited from rtabmap::CameraMobile | |
| void | addEnvSensor (int type, float value) |
| CameraMobile (bool smoothing=false) | |
| const CameraModel & | getCameraModel () const |
| const Transform & | getDeviceTColorCamera () const |
| const Transform & | getOriginOffset () const |
| virtual bool | isCalibrated () const |
| void | poseReceived (const Transform &pose) |
| void | resetOrigin () |
| void | setData (const SensorData &data, const Transform &pose) |
| void | setGPS (const GPS &gps) |
| virtual void | setScreenRotationAndSize (ScreenRotation colorCameraToDisplayRotation, int width, int height) |
| void | setSmoothing (bool enabled) |
| void | spinOnce () |
| virtual | ~CameraMobile () |
Public Member Functions inherited from rtabmap::Camera | |
| float | getImageRate () const |
| const Transform & | getLocalTransform () const |
| bool | initFromFile (const std::string &calibrationPath) |
| virtual bool | odomProvided () const |
| void | resetTimer () |
| void | setImageRate (float imageRate) |
| void | setLocalTransform (const Transform &localTransform) |
| SensorData | takeImage (CameraInfo *info=0) |
| virtual | ~Camera () |
Public Member Functions inherited from UThread | |
| Handle | getThreadHandle () const |
| unsigned long | getThreadId () const |
| bool | isCreating () const |
| bool | isIdle () const |
| bool | isKilled () const |
| bool | isRunning () const |
| void | join (bool killFirst=false) |
| void | kill () |
| void | setAffinity (int cpu=0) |
| void | setPriority (Priority priority) |
| void | start () |
| UThread (Priority priority=kPNormal) | |
| virtual | ~UThread () |
Public Member Functions inherited from UThreadC< void > | |
| int | Create (Handle *const &H=0, const bool &CreateDetached=false, const unsigned int &StackSize=0, const bool &CancelEnable=false, const bool &CancelAsync=false) const |
| int | Create (Handle *const &H=0, const bool &CreateDetached=false, const unsigned int &StackSize=0, const bool &CancelEnable=false, const bool &CancelAsync=false) const |
| int | Create (unsigned long &ThreadId, Handle *const &H=0, const bool &CreateDetached=false, const unsigned int &StackSize=0, const bool &CancelEnable=false, const bool &CancelAsync=false) const |
| int | Create (unsigned long &ThreadId, Handle *const &H=0, const bool &CreateDetached=false, const unsigned int &StackSize=0, const bool &CancelEnable=false, const bool &CancelAsync=false) const |
| virtual | ~UThreadC () |
| virtual | ~UThreadC () |
Public Member Functions inherited from UEventsSender | |
| UEventsSender () | |
| virtual | ~UEventsSender () |
Protected Member Functions | |
| virtual SensorData | captureImage (CameraInfo *info=0) |
Protected Member Functions inherited from rtabmap::CameraMobile | |
| virtual void | capturePoseOnly () |
| virtual void | mainLoop () |
| virtual void | mainLoopBegin () |
Protected Member Functions inherited from rtabmap::Camera | |
| Camera (float imageRate=0, const Transform &localTransform=CameraModel::opticalRotation()) | |
| int | getNextSeqID () |
Protected Member Functions inherited from UThreadC< void > | |
| UThreadC () | |
| UThreadC () | |
Protected Member Functions inherited from UEventsSender | |
| void | post (UEvent *event, bool async=true) const |
Private Member Functions | |
| rtabmap::Transform | getPoseAtTimestamp (double timestamp) |
Private Attributes | |
| cv::Mat | cloud_ |
| double | cloudStamp_ |
| bool | colorCamera_ |
| boost::mutex | dataMutex_ |
| USemaphore | dataReady_ |
| int | decimation_ |
| cv::Mat | fisheyeRectifyMapX_ |
| cv::Mat | fisheyeRectifyMapY_ |
| bool | rawScanPublished_ |
| void * | tango_config_ |
| cv::Mat | tangoColor_ |
| double | tangoColorStamp_ |
| int | tangoColorType_ |
Additional Inherited Members | |
Public Types inherited from UThread | |
| enum | Priority { kPLow, kPBelowNormal, kPNormal, kPAboveNormal, kPRealTime } |
Public Types inherited from UThreadC< void > | |
| typedef THREAD_HANDLE | Handle |
| typedef THREAD_HANDLE | Handle |
| typedef void(* | Handler) () |
| typedef void(* | Handler) () |
Static Public Member Functions inherited from UThread | |
| static unsigned long | currentThreadId () |
Static Public Member Functions inherited from UThreadC< void > | |
| static int | Create (const Handler &Function, Handle *const &H=0, const bool &CreateDetached=false, const unsigned int &StackSize=0, const bool &CancelEnable=false, const bool &CancelAsync=false) |
| static int | Create (const Handler &Function, Handle *const &H=0, const bool &CreateDetached=false, const unsigned int &StackSize=0, const bool &CancelEnable=false, const bool &CancelAsync=false) |
| static int | Detach (Handle H) |
| static int | Detach (const Handle &H) |
| static int | Join (const Handle &H) |
| static int | Join (Handle H) |
| static int | Kill (Handle H) |
| static int | Kill (const Handle &H) |
Static Public Attributes inherited from rtabmap::CameraMobile | |
| static const float | bilateralFilteringSigmaR = 0.075f |
| static const float | bilateralFilteringSigmaS = 2.0f |
| static const rtabmap::Transform | opticalRotation |
| static const rtabmap::Transform | opticalRotationInv |
Static Protected Member Functions inherited from UThreadC< void > | |
| static void | Exit () |
| static void | Exit () |
| static Handle | Self () |
| static int | Self () |
| static void | TestCancel () |
| static void | TestCancel () |
Protected Attributes inherited from rtabmap::CameraMobile | |
| Transform | deviceTColorCamera_ |
| CameraModel | model_ |
| UTimer | spinOnceFrameRateTimer_ |
| double | spinOncePreviousStamp_ |
Definition at line 46 of file CameraTango.h.
| rtabmap::CameraTango::CameraTango | ( | bool | colorCamera, |
| int | decimation, | ||
| bool | publishRawScan, | ||
| bool | smoothing | ||
| ) |
Definition at line 107 of file CameraTango.cpp.
|
virtual |
Definition at line 120 of file CameraTango.cpp.
|
protectedvirtual |
returned rgb and depth images should be already rectified if calibration was loaded
Reimplemented from rtabmap::CameraMobile.
Definition at line 542 of file CameraTango.cpp.
|
virtual |
Reimplemented from rtabmap::CameraMobile.
Definition at line 415 of file CameraTango.cpp.
| void rtabmap::CameraTango::cloudReceived | ( | const cv::Mat & | cloud, |
| double | timestamp | ||
| ) |
Definition at line 431 of file CameraTango.cpp.
|
private |
Definition at line 510 of file CameraTango.cpp.
|
virtual |
Reimplemented from rtabmap::CameraMobile.
Definition at line 488 of file CameraTango.cpp.
|
virtual |
Reimplemented from rtabmap::CameraMobile.
Definition at line 184 of file CameraTango.cpp.
| void rtabmap::CameraTango::rgbReceived | ( | const cv::Mat & | tangoImage, |
| int | type, | ||
| double | timestamp | ||
| ) |
Definition at line 469 of file CameraTango.cpp.
|
inline |
Definition at line 55 of file CameraTango.h.
|
inline |
Definition at line 56 of file CameraTango.h.
|
inline |
Definition at line 57 of file CameraTango.h.
| void rtabmap::CameraTango::tangoEventReceived | ( | int | type, |
| const char * | key, | ||
| const char * | value | ||
| ) |
Definition at line 483 of file CameraTango.cpp.
| rtabmap::Transform rtabmap::CameraTango::tangoPoseToTransform | ( | const TangoPoseData * | tangoPose | ) | const |
Definition at line 493 of file CameraTango.cpp.
|
private |
Definition at line 74 of file CameraTango.h.
|
private |
Definition at line 75 of file CameraTango.h.
|
private |
Definition at line 71 of file CameraTango.h.
|
private |
Definition at line 79 of file CameraTango.h.
|
private |
Definition at line 80 of file CameraTango.h.
|
private |
Definition at line 72 of file CameraTango.h.
|
private |
Definition at line 81 of file CameraTango.h.
|
private |
Definition at line 82 of file CameraTango.h.
|
private |
Definition at line 73 of file CameraTango.h.
|
private |
Definition at line 70 of file CameraTango.h.
|
private |
Definition at line 76 of file CameraTango.h.
|
private |
Definition at line 78 of file CameraTango.h.
|
private |
Definition at line 77 of file CameraTango.h.