Visual Servoing Platform
version 3.6.1 under development (2024-11-15)
|
#include <visp3/sensor/vpMocapQualisys.h>
Public Member Functions | |
vpMocapQualisys () | |
virtual | ~vpMocapQualisys () |
void | close () |
bool | connect () |
bool | getBodiesPose (std::map< std::string, vpHomogeneousMatrix > &bodies_pose, bool all_bodies=false) |
bool | getSpecificBodyPose (const std::string &body_name, vpHomogeneousMatrix &body_pose) |
void | setServerAddress (const std::string &serverAddr) |
void | setVerbose (bool verbose) |
Protected Attributes | |
bool | m_verbose |
std::string | m_serverAddr |
Qualisys motion capture wrapper.
Definition at line 50 of file vpMocapQualisys.h.
BEGIN_VISP_NAMESPACE vpMocapQualisys::vpMocapQualisys | ( | ) |
Default constructor.
Definition at line 260 of file vpMocapQualisys.cpp.
|
virtual |
Destructor.
Definition at line 265 of file vpMocapQualisys.cpp.
|
virtual |
Close connexion with Qualisys by stopping the capture.
Implements vpMocap.
Definition at line 270 of file vpMocapQualisys.cpp.
|
virtual |
Connect to Qualisys mocap server with IP address set using setServerAddress().
Implements vpMocap.
Definition at line 277 of file vpMocapQualisys.cpp.
|
virtual |
Gets the pose of the different bodies.
[out] | bodies_pose | : Map of body names and corresponding poses. |
[in] | all_bodies | : When true, consider all bodies, even those that are not visible and that contain nan in their pose. |
Implements vpMocap.
Definition at line 286 of file vpMocapQualisys.cpp.
|
virtual |
Gets the pose of a specific body.
[out] | body_pose | : The homogeneous transformation matrix for the specific body. |
[in] | body_name | : The name of the body. |
Implements vpMocap.
Definition at line 297 of file vpMocapQualisys.cpp.
|
virtual |
Set mocap server address.
[in] | serverAddr | : Server address. |
Reimplemented from vpMocap.
Definition at line 307 of file vpMocapQualisys.cpp.
|
virtual |
Enable or disable verbose mode.
[in] | verbose | : When true enable verbose mode, otherwise disable verbose mode. |
Reimplemented from vpMocap.
Definition at line 313 of file vpMocapQualisys.cpp.