Visual Servoing Platform
version 3.6.1 under development (2024-12-17)
|
#include <visp3/sensor/vpMocap.h>
Public Member Functions | |
vpMocap () | |
virtual | ~vpMocap () |
virtual void | close ()=0 |
virtual bool | connect ()=0 |
virtual bool | getBodiesPose (std::map< std::string, vpHomogeneousMatrix > &bodies_pose, bool all_bodies=false)=0 |
virtual bool | getSpecificBodyPose (const std::string &body_name, vpHomogeneousMatrix &body_pose)=0 |
virtual void | setServerAddress (const std::string &serverAddr) |
virtual void | setVerbose (bool verbose) |
Protected Attributes | |
bool | m_verbose |
std::string | m_serverAddr |
|
inline |
|
pure virtual |
Close connexion with the motion capture device.
Implemented in vpMocapVicon, and vpMocapQualisys.
|
pure virtual |
Connect to the motion capture device which address is specified using setServerAddress().
Implemented in vpMocapVicon, and vpMocapQualisys.
|
pure virtual |
Get the bodies pose.
[out] | bodies_pose | : Map of bodies pose. |
[in] | all_bodies | : When true consider all the bodies, even those that are not visible and that may contain nan in their pose. |
Implemented in vpMocapVicon, and vpMocapQualisys.
|
pure virtual |
Get the pose of a specific body.
[in] | body_name | : Name of the body to consider. |
[out] | body_pose | : Body pose. |
Implemented in vpMocapVicon, and vpMocapQualisys.
|
inlinevirtual |
Set mocap server address.
[in] | serverAddr | : Server address. |
Reimplemented in vpMocapVicon, and vpMocapQualisys.
|
inlinevirtual |
Enable or disable verbose mode.
[in] | verbose | : When true enable verbose mode, otherwise disable verbose mode. |
Reimplemented in vpMocapVicon, and vpMocapQualisys.