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
9776309a
Commit
9776309a
authored
14 years ago
by
Olivier Stasse
Browse files
Options
Downloads
Patches
Plain Diff
Revert "New type and type methods"
This reverts commit
91f60c13
.
parent
5888b2a4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/privatepgtypes.cpp
+0
-32
0 additions, 32 deletions
src/privatepgtypes.cpp
src/privatepgtypes.h
+0
-26
0 additions, 26 deletions
src/privatepgtypes.h
with
0 additions
and
58 deletions
src/privatepgtypes.cpp
+
0
−
32
View file @
9776309a
...
@@ -27,38 +27,6 @@
...
@@ -27,38 +27,6 @@
namespace
PatternGeneratorJRL
namespace
PatternGeneratorJRL
{
{
struct
support_state_s
&
support_state_t
::
operator
=
(
const
support_state_s
&
aSS
)
{
for
(
unsigned
int
i
=
0
;
i
<
3
;
i
++
)
{
Phase
=
aSS
.
Phase
;
Foot
=
aSS
.
Foot
;
StepsLeft
=
aSS
.
StepsLeft
;
TimeLimit
=
aSS
.
TimeLimit
;
StepNumber
=
aSS
.
StepNumber
;
};
return
*
this
;
}
void
support_state_t
::
reset
()
{
for
(
int
i
=
0
;
i
<
3
;
i
++
)
{
Phase
=
0
;
Foot
=
0
;
StepsLeft
=
0
;
TimeLimit
=
0.0
;
StepNumber
=
0
;
SSSS
=
StateChanged
=
false
;
}
}
support_state_s
::
support_state_s
()
{
reset
();
}
struct
com_s
&
com_t
::
operator
=
(
const
com_s
&
aCS
)
struct
com_s
&
com_t
::
operator
=
(
const
com_s
&
aCS
)
{
{
for
(
unsigned
int
i
=
0
;
i
<
3
;
i
++
)
for
(
unsigned
int
i
=
0
;
i
<
3
;
i
++
)
...
...
This diff is collapsed.
Click to expand it.
src/privatepgtypes.h
+
0
−
26
View file @
9776309a
...
@@ -40,12 +40,6 @@ namespace PatternGeneratorJRL
...
@@ -40,12 +40,6 @@ namespace PatternGeneratorJRL
int
Phase
,
Foot
,
StepsLeft
,
StepNumber
;
int
Phase
,
Foot
,
StepsLeft
,
StepNumber
;
bool
SSSS
,
StateChanged
;
bool
SSSS
,
StateChanged
;
double
TimeLimit
;
double
TimeLimit
;
struct
support_state_s
&
operator
=
(
const
support_state_s
&
aSS
);
void
reset
();
support_state_s
();
};
};
typedef
struct
support_state_s
support_state_t
;
typedef
struct
support_state_s
support_state_t
;
...
@@ -112,26 +106,6 @@ namespace PatternGeneratorJRL
...
@@ -112,26 +106,6 @@ namespace PatternGeneratorJRL
};
};
typedef
struct
reference_s
reference_t
;
typedef
struct
reference_s
reference_t
;
struct
solution_s
{
/// \brief whole solution array
double
*
array
;
struct
vector_s
{
MAL_VECTOR
(
X
,
double
);
MAL_VECTOR
(
Y
,
double
);
/// \brief First and last elements of vector in array
int
first
,
last
;
};
typedef
struct
vector_s
vector_t
;
vector_t
jerk
,
footpos
;
};
typedef
struct
solution_s
solution_t
;
}
}
#endif
/* _PATTERN_GENERATOR_INTERNAL_PRIVATE_H_ */
#endif
/* _PATTERN_GENERATOR_INTERNAL_PRIVATE_H_ */
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