Visual Servoing Platform version 3.7.0
Loading...
Searching...
No Matches
vpPtu46.h
1/*
2 * ViSP, open source Visual Servoing Platform software.
3 * Copyright (C) 2005 - 2025 by Inria. All rights reserved.
4 *
5 * This software is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 * See the file LICENSE.txt at the root directory of this source
10 * distribution for additional information about the GNU GPL.
11 *
12 * For using ViSP with software that can not be combined with the GNU
13 * GPL, please contact Inria about acquiring a ViSP Professional
14 * Edition License.
15 *
16 * See https://visp.inria.fr for more information.
17 *
18 * This software was developed at:
19 * Inria Rennes - Bretagne Atlantique
20 * Campus Universitaire de Beaulieu
21 * 35042 Rennes Cedex
22 * France
23 *
24 * If you have questions regarding the use of this file, please contact
25 * Inria at visp@inria.fr
26 *
27 * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
28 * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
29 *
30 * Description:
31 * Interface for the ptu-46 robot.
32 */
33
34#ifndef _vpPtu46_h_
35#define _vpPtu46_h_
36
37/* ----------------------------------------------------------------------- */
38/* --- INCLUDES -------------------------------------------------------- */
39/* --------------------------------------------------------------------- */
40
41/* --- GENERAL --- */
42#include <iostream>
43
44/* --- ViSP --- */
45#include <visp3/core/vpConfig.h>
46#include <visp3/core/vpHomogeneousMatrix.h>
47#include <visp3/core/vpMatrix.h>
48#include <visp3/core/vpPoseVector.h>
49
50#include <visp3/core/vpMath.h>
51#include <visp3/core/vpRxyzVector.h>
52#include <visp3/core/vpTranslationVector.h>
53#include <visp3/core/vpVelocityTwistMatrix.h>
54
68
69class VISP_EXPORT vpPtu46
70{
71
72public: /* Constants */
74 static const unsigned int ndof;
75
77 static const float L;
78 static const float h;
79
80public: /* Methodes publiques */
81 vpPtu46(void);
83 virtual ~vpPtu46() { }
84
87 void init(void);
88
89 void computeMGD(const vpColVector &q, vpHomogeneousMatrix &fMc) const;
90 vpHomogeneousMatrix computeMGD(const vpColVector &q) const;
91 void computeMGD(const vpColVector &q, vpPoseVector &r) const;
92
93 void get_cMe(vpHomogeneousMatrix &_cMe) const;
94 void get_cVe(vpVelocityTwistMatrix &_cVe) const;
95 void get_eJe(const vpColVector &q, vpMatrix &eJe) const;
96 void get_fJe(const vpColVector &q, vpMatrix &fJe) const;
97
99 friend VISP_EXPORT std::ostream &operator<<(std::ostream &os, const vpPtu46 &constant);
100};
101END_VISP_NAMESPACE
102#endif
Implementation of column vector and the associated operations.
Implementation of an homogeneous matrix and operations on such kind of matrices.
Implementation of a matrix and operations on matrices.
Definition vpMatrix.h:175
Implementation of a pose vector and operations on poses.
Jacobian, geometric model functionalities... for ptu46, pan, tilt head from Directed Perception.
Definition vpPtu46.h:70
vpPtu46(void)
Definition vpPtu46.cpp:153
static const unsigned int ndof
Definition vpPtu46.h:74
static const float L
Definition vpPtu46.h:77
virtual ~vpPtu46()
Definition vpPtu46.h:83
static const float h
Definition vpPtu46.h:78