Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
robotpkg-wip
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
Show more breadcrumbs
Gepetto
robotpkg-wip
Commits
c5b67c27
Commit
c5b67c27
authored
6 years ago
by
Guilhem Saurel
Browse files
Options
Downloads
Patches
Plain Diff
[wip/jrl-walkgen-v3] add patch-aa to fix compilation with recent Pinocchio
parent
16dade27
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
jrl-walkgen-v3/distinfo
+1
-0
1 addition, 0 deletions
jrl-walkgen-v3/distinfo
jrl-walkgen-v3/patches/patch-aa
+36
-0
36 additions, 0 deletions
jrl-walkgen-v3/patches/patch-aa
with
37 additions
and
0 deletions
jrl-walkgen-v3/distinfo
+
1
−
0
View file @
c5b67c27
SHA1 (jrl-walkgen-4.0.4.tar.gz) = 1f9bcd5447dfd43b16955a276dd82d70590f934d
RMD160 (jrl-walkgen-4.0.4.tar.gz) = c05a3e06bff1a50fc452400ab9aab67019d878d5
Size (jrl-walkgen-4.0.4.tar.gz) = 16028021 bytes
SHA1 (patch-aa) = b05edcefd62be5dad8592e7b6f40079d50e61783
This diff is collapsed.
Click to expand it.
jrl-walkgen-v3/patches/patch-aa
0 → 100644
+
36
−
0
View file @
c5b67c27
use se3::SINCOS, fix compilation with recent version of pinocchio
--- src/RobotDynamics/pinocchiorobot.cpp
+++ src/RobotDynamics/pinocchiorobot.cpp
@@ -238,7 +238,7 @@
bool PinocchioRobot::testInverseKinematics()
leftLegJointName.push_back("JointModelRY");
leftLegJointName.push_back("JointModelRY");
leftLegJointName.push_back("JointModelRX");
-
+
rightLegJointName.push_back("JointModelFreeFlyer");
rightLegJointName.push_back("JointModelRZ");
rightLegJointName.push_back("JointModelRX");
@@ -246,7 +246,7 @@
bool PinocchioRobot::testInverseKinematics()
rightLegJointName.push_back("JointModelRY");
rightLegJointName.push_back("JointModelRY");
rightLegJointName.push_back("JointModelRX");
-
+
leftArmJointName.push_back("JointModelRY");
leftArmJointName.push_back("JointModelRX");
leftArmJointName.push_back("JointModelRZ");
@@ -342,9 +342,9 @@
void PinocchioRobot::RPYToSpatialFreeFlyer(Eigen::Vector3d & rpy,
Eigen::AngleAxisd(rpy(1), Eigen::Vector3d::UnitY()) *
Eigen::AngleAxisd(rpy(0), Eigen::Vector3d::UnitX()) ) ;
quat.normalize();
- double c0,s0; SINCOS (rpy(2), &s0, &c0);
- double c1,s1; SINCOS (rpy(1), &s1, &c1);
- double c2,s2; SINCOS (rpy(0), &s2, &c2);
+ double c0,s0; se3::SINCOS (rpy(2), &s0, &c0);
+ double c1,s1; se3::SINCOS (rpy(1), &s1, &c1);
+ double c2,s2; se3::SINCOS (rpy(0), &s2, &c2);
m_S << -s1, 0., 1., c1 * s2, c2, 0, c1 * c2, -s2, 0;
omega = m_S * drpy ;
domega = m_S * ddrpy ;
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