Bundles the contact state of all endeffectors. More...
#include <endeffectors.h>
Public Member Functions | |
EndeffectorsContact (int n_ee=0, bool in_contact=false) | |
Constructs a state, the default being 0 feet, none in contact. | |
int | GetContactCount () const |
The number of endeffectors in contact with the environment. |
Bundles the contact state of all endeffectors.
Says if an endeffector is currently touching the environment or not. This is often an important criteria for motion planning, as only in the contact state can forces be exerted that move the body.
Definition at line 149 of file endeffectors.h.
xpp::EndeffectorsContact::EndeffectorsContact | ( | int | n_ee = 0 , |
bool | in_contact = false |
||
) | [inline] |
Constructs a state, the default being 0 feet, none in contact.
n_ee | Number of endeffectors. |
in_contact | True if all legs should be in contact, false otherwise. |
Definition at line 156 of file endeffectors.h.
int xpp::EndeffectorsContact::GetContactCount | ( | ) | const [inline] |
The number of endeffectors in contact with the environment.
Definition at line 162 of file endeffectors.h.