contact_transform.h
Go to the documentation of this file.
1 /*
2  * Copyright 2015-2019 CNRS-UM LIRMM, CNRS-AIST JRL
3  */
4 
5 #ifndef _H_CONTACTTRANSFORM_H_
6 #define _H_CONTACTTRANSFORM_H_
7 
8 #include <mc_rbdyn/api.h>
9 
10 #include <SpaceVecAlg/SpaceVecAlg>
11 
12 #include <vector>
13 
14 namespace mc_rbdyn
15 {
16 
17 struct Surface;
18 
19 MC_RBDYN_DLLAPI sva::PTransformd planar(const double & T, const double & B, const double & N_rot);
20 
21 MC_RBDYN_DLLAPI sva::PTransformd cylindrical(const double & T, const double & T_rot);
22 
23 MC_RBDYN_DLLAPI void planarParam(const sva::PTransformd & X_es_rs, double & T, double & B, double & N_rot);
24 
25 MC_RBDYN_DLLAPI void cylindricalParam(const sva::PTransformd & X_es_rs, double & T, double & T_rot);
26 
27 MC_RBDYN_DLLAPI std::vector<double> jointParam(const Surface & r1Surface,
28  const Surface & r2Surface,
29  const sva::PTransformd & X_es_rs);
30 
31 } // namespace mc_rbdyn
32 
33 #endif
mc_rbdyn::planarParam
MC_RBDYN_DLLAPI void planarParam(const sva::PTransformd &X_es_rs, double &T, double &B, double &N_rot)
mc_rbdyn::planar
MC_RBDYN_DLLAPI sva::PTransformd planar(const double &T, const double &B, const double &N_rot)
mc_rbdyn::cylindricalParam
MC_RBDYN_DLLAPI void cylindricalParam(const sva::PTransformd &X_es_rs, double &T, double &T_rot)
api.h
mc_rbdyn::cylindrical
MC_RBDYN_DLLAPI sva::PTransformd cylindrical(const double &T, const double &T_rot)
MC_RBDYN_DLLAPI
#define MC_RBDYN_DLLAPI
Definition: api.h:50
mc_rbdyn::jointParam
MC_RBDYN_DLLAPI std::vector< double > jointParam(const Surface &r1Surface, const Surface &r2Surface, const sva::PTransformd &X_es_rs)
mc_rbdyn
Definition: generic_gripper.h:14