robotoc
robotoc - efficient ROBOT Optimal Control solvers
Loading...
Searching...
No Matches
contact_model_info.hpp
Go to the documentation of this file.
1
#ifndef ROBOTOC_CONTACT_MODEL_INFO_HPP_
2
#define ROBOTOC_CONTACT_MODEL_INFO_HPP_
3
4
#include <string>
5
6
namespace
robotoc
{
7
12
struct
ContactModelInfo
{
19
ContactModelInfo
(
const
std::string&
frame
,
const
double
baumgarte_time_step);
20
29
ContactModelInfo
(
const
std::string&
frame
,
30
const
double
baumgarte_position_gain
,
31
const
double
baumgarte_velocity_gain
);
32
36
ContactModelInfo
() =
default
;
37
41
~ContactModelInfo
() =
default
;
42
46
ContactModelInfo
(
const
ContactModelInfo
&) =
default
;
47
51
ContactModelInfo
&
operator=
(
const
ContactModelInfo
&) =
default
;
52
56
ContactModelInfo
(
ContactModelInfo
&&) noexcept = default;
57
61
ContactModelInfo
& operator=(
ContactModelInfo
&&) noexcept = default;
62
66
std::
string
frame
;
67
72
double
baumgarte_position_gain
= 0.0;
73
78
double
baumgarte_velocity_gain
= 0.0;
79
};
80
81
}
// namespace robotoc
82
83
#endif
// ROBOTOC_CONTACT_MODEL_INFO_HPP_
robotoc
Definition:
constraint_component_base.hpp:17
robotoc::ContactModelInfo
Info of a contact model.
Definition:
contact_model_info.hpp:12
robotoc::ContactModelInfo::ContactModelInfo
ContactModelInfo()=default
Default constructor.
robotoc::ContactModelInfo::ContactModelInfo
ContactModelInfo(const std::string &frame, const double baumgarte_position_gain, const double baumgarte_velocity_gain)
Construct a contact model info.
robotoc::ContactModelInfo::ContactModelInfo
ContactModelInfo(const ContactModelInfo &)=default
Default copy constructor.
robotoc::ContactModelInfo::ContactModelInfo
ContactModelInfo(const std::string &frame, const double baumgarte_time_step)
Construct a contact model info.
robotoc::ContactModelInfo::baumgarte_velocity_gain
double baumgarte_velocity_gain
The velocity gain of the Baumgarte's stabilization method. Default is 0.0.
Definition:
contact_model_info.hpp:78
robotoc::ContactModelInfo::baumgarte_position_gain
double baumgarte_position_gain
The position gain of the Baumgarte's stabilization method. Default is 0.0.
Definition:
contact_model_info.hpp:72
robotoc::ContactModelInfo::frame
std::string frame
Name of the contact frame.
Definition:
contact_model_info.hpp:66
robotoc::ContactModelInfo::ContactModelInfo
ContactModelInfo(ContactModelInfo &&) noexcept=default
Default move constructor.
robotoc::ContactModelInfo::operator=
ContactModelInfo & operator=(const ContactModelInfo &)=default
Default copy assign operator.
robotoc::ContactModelInfo::~ContactModelInfo
~ContactModelInfo()=default
Default destructor.
include
robotoc
robot
contact_model_info.hpp
Generated by
1.9.5