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
Stack Of Tasks
sot-dynamic-pinocchio
Commits
82a37d2d
Commit
82a37d2d
authored
Apr 17, 2013
by
olivier stasse
Browse files
Remove warnings
parent
feaae1a6
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/integrator-force-exact.cpp
View file @
82a37d2d
...
...
@@ -133,7 +133,7 @@ static void eigenDecomp( const ml::Matrix& M,
{
for
(
unsigned
int
j
=
0
;
j
<
SIZE
;
++
j
){
P
(
i
,
j
)
=
vr
(
i
,
j
);
}
eig
(
i
)
=
evals
(
i
).
real
();
if
(
fabsf
(
evals
(
i
).
imag
())
>
1e-5
)
if
(
fabsf
(
static_cast
<
float
>
(
evals
(
i
).
imag
())
)
>
1e-5
)
{
SOT_THROW
ExceptionDynamic
(
ExceptionDynamic
::
INTEGRATION
,
"Error imaginary part not null. "
,
...
...
unitTesting/dummy.cpp
View file @
82a37d2d
...
...
@@ -18,7 +18,7 @@
* with sot-dynamic. If not, see <http://www.gnu.org/licenses/>.
*/
int
main
(
int
argc
,
char
**
argv
)
int
main
(
int
,
char
**
)
{
}
unitTesting/test_djj.cpp
View file @
82a37d2d
...
...
@@ -50,7 +50,7 @@ void DisplayDynamicRobotInformation(CjrlDynamicRobot *aDynamicRobot)
}
void
DisplayMatrix
(
MAL_MATRIX
(,
double
)
&
aJ
)
void
DisplayMatrix
(
MAL_MATRIX
(
&
aJ
,
double
))
{
for
(
unsigned
int
i
=
0
;
i
<
6
;
i
++
)
{
...
...
@@ -175,7 +175,8 @@ int main(int argc, char *argv[])
vector
<
CjrlJoint
*>
aVec
=
aHDR
->
jointVector
();
CjrlJoint
*
aJoint
=
aVec
[
22
];
aJoint
->
computeJacobianJointWrtConfig
();
MAL_MATRIX
(,
double
)
aJ
=
aJoint
->
jacobianJointWrtConfig
();
MAL_MATRIX
(
aJ
,
double
);
aJ
=
aJoint
->
jacobianJointWrtConfig
();
DisplayMatrix
(
aJ
);
/* Get Waist joint. */
...
...
unitTesting/test_results.cpp
View file @
82a37d2d
...
...
@@ -126,8 +126,6 @@ int main(int argc, char * argv[])
string
aValue
(
"true"
);
aHDR
->
setProperty
(
aProperty
,
aValue
);
aHDR2
->
setProperty
(
aProperty
,
aValue
);
int
NbOfDofs
=
aHDR
->
numberDof
();
// cout << "NbOfDofs: " << NbOfDofs << endl;
while
(
!
ActualStateFile
.
eof
())
{
for
(
unsigned
int
i
=
0
;
i
<
100
;
i
++
)
...
...
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