Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
J
jrl-walkgen
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Guilhem Saurel
jrl-walkgen
Commits
abe5356c
Commit
abe5356c
authored
13 years ago
by
Olivier Stasse
Browse files
Options
Downloads
Patches
Plain Diff
Add new test for Kajita algorithm
parent
41d63dee
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tests/CMakeLists.txt
+4
-1
4 additions, 1 deletion
tests/CMakeLists.txt
tests/TestKajita2003.cpp
+4
-7
4 additions, 7 deletions
tests/TestKajita2003.cpp
tests/TestObject.cpp
+0
-3
0 additions, 3 deletions
tests/TestObject.cpp
with
8 additions
and
11 deletions
tests/CMakeLists.txt
+
4
−
1
View file @
abe5356c
...
...
@@ -113,7 +113,10 @@ ADD_TEST(TestHerdt2010 TestHerdt2010
####################
IF
(
HRP2_DYNAMICS_FOUND
)
MESSAGE
(
STATUS
"hrp2-dynamics taken into account"
)
CONFIG_FILES_CMAKE
(
TestKajita2003FGPI.datref
)
CONFIG_FILES_CMAKE
(
TestKajita2003StraightWalkingTestFGPI.datref
)
CONFIG_FILES_CMAKE
(
TestKajita2003CircleTestFGPI.datref
)
CONFIG_FILES_CMAKE
(
TestKajita2003PbFlorentSeq1TestFGPI.datref
)
CONFIG_FILES_CMAKE
(
TestKajita2003PbFlorentSeq2TestFGPI.datref
)
ADD_EXECUTABLE
(
TestKajita2003
../src/portability/gettimeofday.cc
...
...
This diff is collapsed.
Click to expand it.
tests/TestKajita2003.cpp
+
4
−
7
View file @
abe5356c
...
...
@@ -58,13 +58,10 @@ protected:
virtual
void
SpecializedRobotConstructor
(
CjrlHumanoidDynamicRobot
*&
aHDR
,
CjrlHumanoidDynamicRobot
*&
aDebugHDR
)
{
ODEBUG3
(
"Going through TestKajita2003::SpecializedRobotConstructor."
);
dynamicsJRLJapan
::
ObjectFactory
aRobotDynamicsObjectConstructor
;
Chrp2OptHumanoidDynamicRobot
*
aHRP2HDR
=
new
Chrp2OptHumanoidDynamicRobot
(
&
aRobotDynamicsObjectConstructor
);
aHDR
=
aHRP2HDR
;
aDebugHDR
=
new
Chrp2OptHumanoidDynamicRobot
(
&
aRobotDynamicsObjectConstructor
);
ODEBUG3
(
"End of TestKajita2003::SpecializedRobotConstructor."
);
}
...
...
@@ -258,12 +255,12 @@ protected:
int
PerformTests
(
int
argc
,
char
*
argv
[])
{
std
::
string
TestNames
[
4
]
=
{
"TestKajita2003
Circle
"
,
"TestKajita2003
StraightWalking
"
,
std
::
string
TestNames
[
4
]
=
{
"TestKajita2003
StraightWalking
"
,
"TestKajita2003
Circle
"
,
"TestKajita2003PbFlorentSeq1"
,
"TestKajita2003PbFlorentSeq2"
};
int
TestProfiles
[
4
]
=
{
PROFIL_
CIRCLE
,
PROFIL_STRAIGHT_WALKING
,
int
TestProfiles
[
4
]
=
{
PROFIL_
STRAIGHT_WALKING
,
PROFIL_CIRCLE
,
PROFIL_PB_FLORENT_SEQ1
,
PROFIL_PB_FLORENT_SEQ2
};
...
...
This diff is collapsed.
Click to expand it.
tests/TestObject.cpp
+
0
−
3
View file @
abe5356c
...
...
@@ -142,10 +142,7 @@ namespace PatternGeneratorJRL
PatternGeneratorInterface
*
&
aPGI
)
{
// Creating the humanoid robot.
ODEBUG3
(
"Before calling the robot constructor."
);
SpecializedRobotConstructor
(
aHDR
,
aDebugHDR
);
ODEBUG3
(
"After calling the robot constructor."
);
if
((
aHDR
==
0
)
||
(
aDebugHDR
==
0
))
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment