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
25
struct
MC_CONTROL_FSM_STATE_DLLAPI
HalfSittingState
:
State
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
mc_control::fsm::HalfSittingState
Definition:
HalfSitting.h:25
mc_control::fsm::State
Definition:
State.h:58
mc_control::fsm::HalfSittingState::teardown
void teardown(Controller &) override
Definition:
HalfSitting.h:31
mc_control
Definition:
CompletionCriteria.h:10
State.h
MC_CONTROL_FSM_STATE_DLLAPI
#define MC_CONTROL_FSM_STATE_DLLAPI
Definition:
api.h:50
mc_control::fsm::Controller
Definition:
Controller.h:49
include
mc_control
fsm
states
HalfSitting.h
Generated by
1.8.17