Commit fbbf9417 authored by Olivier Stasse's avatar Olivier Stasse
Browse files

[clang-format]

parent 199c41d4
Pipeline #9048 failed with stage
in 41 seconds
......@@ -338,8 +338,8 @@ int FootTrajectoryGenerationMultiple::DisplayIntervals() const {
return 0;
}
FootTrajectoryGenerationMultiple &FootTrajectoryGenerationMultiple::operator=(
const FootTrajectoryGenerationMultiple &aFTGM) {
FootTrajectoryGenerationMultiple &FootTrajectoryGenerationMultiple::
operator=(const FootTrajectoryGenerationMultiple &aFTGM) {
/* Specify the number of intervals. */
SetNumberOfIntervals(aFTGM.GetNumberOfIntervals());
......
......@@ -1012,8 +1012,8 @@ void LeftAndRightFootTrajectoryGenerationMultiple::SetAbsoluteTimeReference(
}
LeftAndRightFootTrajectoryGenerationMultiple &
LeftAndRightFootTrajectoryGenerationMultiple::operator=(
const LeftAndRightFootTrajectoryGenerationMultiple &aLRFTGM) {
LeftAndRightFootTrajectoryGenerationMultiple::
operator=(const LeftAndRightFootTrajectoryGenerationMultiple &aLRFTGM) {
ODEBUG("Went through this.");
if (this == &aLRFTGM)
return *this;
......
......@@ -121,8 +121,8 @@ linear_dynamics_t &RigidBody::Dynamics(dynamics_e type) {
//
rigid_body_state_s::rigid_body_state_s() { reset(); }
struct rigid_body_state_s &
rigid_body_state_t::operator=(const rigid_body_state_s &RB) {
struct rigid_body_state_s &rigid_body_state_t::
operator=(const rigid_body_state_s &RB) {
for (unsigned int i = 0; i < 3; i++) {
X[i] = RB.X[i];
......
......@@ -88,8 +88,7 @@ public: // Public methods
void CallMethod(std::string &Method, std::istringstream &strm);
private: // Private methods
// void computeWaist(const FootAbsolutePosition & inputLeftFoot) ;
// void computeWaist(const FootAbsolutePosition & inputLeftFoot) ;
// -------------------------------------------------------------------
public: // The accessors
......
......@@ -642,29 +642,29 @@ protected:
void chooseTestProfile() {
ODEBUG("ROBOT:" << m_PR->getName() << " Profile: " << m_TestProfile);
switch (m_TestProfile) {
case PROFIL_NAVEAU:
createFullEventsForHRP2();
if (m_PR->getName() == "hrp2_14_reduced")
startHRP2OnLineWalking(*m_PGI);
else if (m_PR->getName() == "talos")
startTalosOnLineWalking(*m_PGI);
else
throw("No valid robot "+m_PR->getName());
break;
case PROFIL_SIMPLE_NAVEAU:
createSimpleEventsForHRP2();
if (m_PR->getName() == "hrp2_14_reduced")
startHRP2OnLineWalking(*m_PGI);
else if (m_PR->getName() == "talos")
startTalosOnLineWalking(*m_PGI);
else
throw("No valid robot "+m_PR->getName());
break;
default:
throw("No correct test profile");
break;
case PROFIL_NAVEAU:
createFullEventsForHRP2();
if (m_PR->getName() == "hrp2_14_reduced")
startHRP2OnLineWalking(*m_PGI);
else if (m_PR->getName() == "talos")
startTalosOnLineWalking(*m_PGI);
else
throw("No valid robot " + m_PR->getName());
break;
case PROFIL_SIMPLE_NAVEAU:
createSimpleEventsForHRP2();
if (m_PR->getName() == "hrp2_14_reduced")
startHRP2OnLineWalking(*m_PGI);
else if (m_PR->getName() == "talos")
startTalosOnLineWalking(*m_PGI);
else
throw("No valid robot " + m_PR->getName());
break;
default:
throw("No correct test profile");
break;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment