![]() |
Visual Servoing Platform version 3.7.0
|
#include <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 |
Default constructor that turns off the verbose mode.
Definition at line 54 of file vpMocap.h.
References m_serverAddr, and m_verbose.
|
pure virtual |
Close connexion with the motion capture device.
Implemented in vpMocapQualisys, and vpMocapVicon.
|
pure virtual |
Connect to the motion capture device which address is specified using setServerAddress().
Implemented in vpMocapQualisys, and vpMocapVicon.
|
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 vpMocapQualisys, and vpMocapVicon.
|
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 vpMocapQualisys, and vpMocapVicon.
|
inlinevirtual |
Set mocap server address.
| [in] | serverAddr | : Server address. |
Reimplemented in vpMocapQualisys, and vpMocapVicon.
Definition at line 94 of file vpMocap.h.
References m_serverAddr.
|
inlinevirtual |
Enable or disable verbose mode.
| [in] | verbose | : When true enable verbose mode, otherwise disable verbose mode. |
Reimplemented in vpMocapQualisys, and vpMocapVicon.
Definition at line 100 of file vpMocap.h.
References m_verbose.
|
protected |
Definition at line 104 of file vpMocap.h.
Referenced by setServerAddress(), and vpMocap().
|
protected |
Definition at line 103 of file vpMocap.h.
Referenced by setVerbose(), and vpMocap().