- 3.0.2 rigid body dynamics module.
RBDSystem.h
Go to the documentation of this file.
1 /**********************************************************************************************************************
2 This file is part of the Control Toolbox (https://github.com/ethz-adrl/control-toolbox), copyright by ETH Zurich.
3 Licensed under the BSD-2 license (see LICENSE file in main directory)
4 **********************************************************************************************************************/
5 
6 #pragma once
7 
8 namespace ct {
9 namespace rbd {
10 
14 template <class RBDDynamics, bool QUAT_INTEGRATION = false>
15 class RBDSystem
16 {
17 public:
18  RBDSystem() = default;
19  virtual ~RBDSystem() = default;
20  virtual RBDDynamics& dynamics() = 0;
21  virtual const RBDDynamics& dynamics() const = 0;
22 
23 private:
24 };
25 } // namespace rbd
26 } // namespace ct
This is a common interface class for an RBDSystem.
Definition: RBDSystem.h:15
virtual ~RBDSystem()=default
virtual RBDDynamics & dynamics()=0