HalfSitting.h
Go to the documentation of this file.
1 /*
2  * Copyright 2015-2019 CNRS-UM LIRMM, CNRS-AIST JRL
3  */
4 
5 #pragma once
6 
7 #include <mc_control/fsm/State.h>
8 
9 namespace mc_control
10 {
11 
12 namespace fsm
13 {
14 
26 {
27  void start(Controller &) override;
28 
29  bool run(Controller &) override;
30 
31  void teardown(Controller &) override {}
32 
33 protected:
34  std::string robot_ = "";
35  double eval_threshold_ = 0.01;
36  double default_stiffness_ = 1;
37 };
38 
39 } // namespace fsm
40 
41 } // namespace mc_control
#define MC_CONTROL_FSM_STATE_DLLAPI
Definition: api.h:50
Definition: CompletionCriteria.h:11
Definition: Controller.h:50
Definition: HalfSitting.h:26
void teardown(Controller &) override
Definition: HalfSitting.h:31
bool run(Controller &) override
void start(Controller &) override
Definition: State.h:59