Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
jrl-walkgen
Commits
fbbf9417
Commit
fbbf9417
authored
Apr 17, 2020
by
Olivier Stasse
Browse files
[clang-format]
parent
199c41d4
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/FootTrajectoryGeneration/FootTrajectoryGenerationMultiple.cpp
View file @
fbbf9417
...
...
@@ -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
());
...
...
src/FootTrajectoryGeneration/LeftAndRightFootTrajectoryGenerationMultiple.cpp
View file @
fbbf9417
...
...
@@ -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
;
...
...
src/PreviewControl/rigid-body.cpp
View file @
fbbf9417
...
...
@@ -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
];
...
...
src/ZMPRefTrajectoryGeneration/DynamicFilter.hh
View file @
fbbf9417
...
...
@@ -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
...
...
tests/TestNaveau2015.cpp
View file @
fbbf9417
...
...
@@ -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
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment