趣味で作ってるロボット用ソフトウェア
 All Classes Files Functions Enumerations Enumerator Friends Pages
Constant_acceleration.h
Go to the documentation of this file.
1 #ifndef HRK_CONSTANT_ACCELERATION_H
2 #define HRK_CONSTANT_ACCELERATION_H
3 
9 #include <memory>
10 
11 
12 namespace hrk
13 {
16  {
17  public:
20 
21  void set_acceleration(double acceleration);
22  double acceleration() const;
23  void set_current_velocity(double velocity, double timestamp);
24  double velocity() const;
25  double calculate_velocity(double target_velocity, double timestamp);
26  void set_tiny_acceleration(double acceleration);
27  double tiny_acceleration() const;
28 
29  private:
31  Constant_acceleration& operator = (const Constant_acceleration& rhs);
32 
33  struct pImpl;
34  std::auto_ptr<pImpl> pimpl;
35  };
36 }
37 
38 #endif
等加速度の速度計算
Definition: Constant_acceleration.h:15