@@ -69,31 +69,6 @@ inline double saturateBounds(double &val, const double &lower,
69
69
/* --- CLASS ----------------------------------------------------------- */
70
70
/* --------------------------------------------------------------------- */
71
71
72
- void Device::integrateRollPitchYaw (Vector &state, const Vector &control,
73
- double dt) {
74
- using Eigen::AngleAxisd;
75
- using Eigen::QuaternionMapd;
76
- using Eigen::Vector3d;
77
-
78
- typedef pinocchio::SpecialEuclideanOperationTpl<3 , double > SE3;
79
- Eigen::Matrix<double , 7 , 1 > qin, qout;
80
- qin.head <3 >() = state.head <3 >();
81
-
82
- QuaternionMapd quat (qin.tail <4 >().data ());
83
- quat = AngleAxisd (state (5 ), Vector3d::UnitZ ()) *
84
- AngleAxisd (state (4 ), Vector3d::UnitY ()) *
85
- AngleAxisd (state (3 ), Vector3d::UnitX ());
86
-
87
- SE3 ().integrate (qin, control.head <6 >() * dt, qout);
88
-
89
- // Update freeflyer pose
90
- ffPose_.translation () = qout.head <3 >();
91
- state.head <3 >() = qout.head <3 >();
92
-
93
- ffPose_.linear () = QuaternionMapd (qout.tail <4 >().data ()).toRotationMatrix ();
94
- state.segment <3 >(3 ) = ffPose_.linear ().eulerAngles (2 , 1 , 0 ).reverse ();
95
- }
96
-
97
72
const MatrixHomogeneous &Device::freeFlyerPose () const { return ffPose_; }
98
73
99
74
Device::~Device () {
@@ -382,9 +357,6 @@ void Device::setTorqueBounds(const Vector &lower, const Vector &upper) {
382
357
}
383
358
384
359
385
- void Device::integrate (const double &dt) {
386
- }
387
-
388
360
/* --- DISPLAY ------------------------------------------------------------ */
389
361
390
362
void Device::display (std::ostream &os) const {
0 commit comments