|
static void | PollThread () |
|
static void | LightCallback (tracker_t const *tracker, uint8_t lh, uint8_t axis, uint32_t synctime, uint16_t num_sensors, light_t const *measurement) |
|
static void | ImuCallback (tracker_t const *t, imu_t const *measurement) |
|
static void | ButtonCallback (tracker_t const *t, button_t const *event) |
|
static void | TrackerCallback (tracker_t const *t) |
|
static void | LighthouseCallback (lighthouse_t const *l) |
|
template<typename T > |
static void | Convert (geometry_msgs::Quaternion const &from, T to[4]) |
|
template<typename T > |
static void | Convert (const T from[4], geometry_msgs::Quaternion &to) |
|
template<typename T > |
static void | Convert (geometry_msgs::Vector3 const &from, T to[3]) |
|
template<typename T > |
static void | Convert (const T from[3], geometry_msgs::Vector3 &to) |
|
template<typename T > |
static void | Convert (geometry_msgs::Point const &from, T to[3]) |
|
template<typename T > |
static void | Convert (const T from[3], geometry_msgs::Point &to) |
|
◆ ViveNodelet()
vive::ViveNodelet::ViveNodelet |
( |
| ) |
|
|
inline |
◆ ~ViveNodelet()
vive::ViveNodelet::~ViveNodelet |
( |
| ) |
|
|
inline |
◆ ButtonCallback()
static void vive::ViveNodelet::ButtonCallback |
( |
tracker_t const * |
t, |
|
|
button_t const * |
event |
|
) |
| |
|
inlinestaticprotected |
◆ Convert() [1/6]
template<typename T >
static void vive::ViveNodelet::Convert |
( |
const T |
from[3], |
|
|
geometry_msgs::Point & |
to |
|
) |
| |
|
inlinestaticprotected |
◆ Convert() [2/6]
template<typename T >
static void vive::ViveNodelet::Convert |
( |
const T |
from[3], |
|
|
geometry_msgs::Vector3 & |
to |
|
) |
| |
|
inlinestaticprotected |
◆ Convert() [3/6]
template<typename T >
static void vive::ViveNodelet::Convert |
( |
const T |
from[4], |
|
|
geometry_msgs::Quaternion & |
to |
|
) |
| |
|
inlinestaticprotected |
◆ Convert() [4/6]
template<typename T >
static void vive::ViveNodelet::Convert |
( |
geometry_msgs::Point const & |
from, |
|
|
T |
to[3] |
|
) |
| |
|
inlinestaticprotected |
◆ Convert() [5/6]
template<typename T >
static void vive::ViveNodelet::Convert |
( |
geometry_msgs::Quaternion const & |
from, |
|
|
T |
to[4] |
|
) |
| |
|
inlinestaticprotected |
◆ Convert() [6/6]
template<typename T >
static void vive::ViveNodelet::Convert |
( |
geometry_msgs::Vector3 const & |
from, |
|
|
T |
to[3] |
|
) |
| |
|
inlinestaticprotected |
◆ ImuCallback()
static void vive::ViveNodelet::ImuCallback |
( |
tracker_t const * |
t, |
|
|
imu_t const * |
measurement |
|
) |
| |
|
inlinestaticprotected |
◆ Initialize()
void vive::ViveNodelet::Initialize |
( |
ros::NodeHandle * |
nh | ) |
|
|
inlineprotectedvirtual |
◆ LightCallback()
static void vive::ViveNodelet::LightCallback |
( |
tracker_t const * |
tracker, |
|
|
uint8_t |
lh, |
|
|
uint8_t |
axis, |
|
|
uint32_t |
synctime, |
|
|
uint16_t |
num_sensors, |
|
|
light_t const * |
measurement |
|
) |
| |
|
inlinestaticprotected |
◆ LighthouseCallback()
static void vive::ViveNodelet::LighthouseCallback |
( |
lighthouse_t const * |
l | ) |
|
|
inlinestaticprotected |
◆ PollThread()
static void vive::ViveNodelet::PollThread |
( |
| ) |
|
|
inlinestaticprotected |
◆ TrackerCallback()
static void vive::ViveNodelet::TrackerCallback |
( |
tracker_t const * |
t | ) |
|
|
inlinestaticprotected |
◆ ACC_SCALE
constexpr double vive::ViveNodelet::ACC_SCALE = 4096.0 |
|
staticconstexpr |
◆ GRAVITY
constexpr double vive::ViveNodelet::GRAVITY = 9.80665 |
|
staticconstexpr |
◆ GYRO_SCALE
constexpr double vive::ViveNodelet::GYRO_SCALE = 32.768 |
|
staticconstexpr |
◆ SWEEP_CENTER
constexpr double vive::ViveNodelet::SWEEP_CENTER = 200000.0 |
|
staticconstexpr |
◆ SWEEP_DURATION
constexpr double vive::ViveNodelet::SWEEP_DURATION = 400000.0 |
|
staticconstexpr |
◆ TICKS_PER_SEC
constexpr double vive::ViveNodelet::TICKS_PER_SEC = 48e6 |
|
staticconstexpr |
The documentation for this class was generated from the following file: