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
6namespace robotoc {
7
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
47
52
56 ContactModelInfo(ContactModelInfo&&) noexcept = default;
57
61 ContactModelInfo& operator=(ContactModelInfo&&) noexcept = default;
62
66 std::string frame;
67
73
79};
80
81} // namespace robotoc
82
83#endif // ROBOTOC_CONTACT_MODEL_INFO_HPP_
Definition: constraint_component_base.hpp:17
Info of a contact model.
Definition: contact_model_info.hpp:12
ContactModelInfo()=default
Default constructor.
ContactModelInfo(const std::string &frame, const double baumgarte_position_gain, const double baumgarte_velocity_gain)
Construct a contact model info.
ContactModelInfo(const ContactModelInfo &)=default
Default copy constructor.
ContactModelInfo(const std::string &frame, const double baumgarte_time_step)
Construct a contact model info.
double baumgarte_velocity_gain
The velocity gain of the Baumgarte's stabilization method. Default is 0.0.
Definition: contact_model_info.hpp:78
double baumgarte_position_gain
The position gain of the Baumgarte's stabilization method. Default is 0.0.
Definition: contact_model_info.hpp:72
std::string frame
Name of the contact frame.
Definition: contact_model_info.hpp:66
ContactModelInfo(ContactModelInfo &&) noexcept=default
Default move constructor.
ContactModelInfo & operator=(const ContactModelInfo &)=default
Default copy assign operator.
~ContactModelInfo()=default
Default destructor.