Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
crosbot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Crosbot
crosbot
Commits
e3f2f478
Commit
e3f2f478
authored
8 years ago
by
Timothy Wiley
Browse files
Options
Downloads
Patches
Plain Diff
cleanup geometry/quaternion header
parent
58df50c3
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
crosbot/include/crosbot/geometry/quaternion.hpp
+0
-21
0 additions, 21 deletions
crosbot/include/crosbot/geometry/quaternion.hpp
with
0 additions
and
21 deletions
crosbot/include/crosbot/geometry/quaternion.hpp
+
0
−
21
View file @
e3f2f478
...
@@ -125,27 +125,6 @@ inline std::ostream& operator<<(std::ostream& os, const Quaternion& q) {
...
@@ -125,27 +125,6 @@ inline std::ostream& operator<<(std::ostream& os, const Quaternion& q) {
return
os
<<
"Quaternion("
<<
q
.
x
<<
", "
<<
q
.
y
<<
", "
<<
q
.
z
<<
", "
<<
q
.
w
<<
")"
;
return
os
<<
"Quaternion("
<<
q
.
x
<<
", "
<<
q
.
y
<<
", "
<<
q
.
z
<<
", "
<<
q
.
w
<<
")"
;
}
}
/**
* Getter and setter methods for roll, pitch and yaw in a quaternion.
*/
//inline void getRPY(const geometry_msgs::Quaternion& q, double& roll, double& pitch, double& yaw) {
// btQuaternion btq(q.x, q.y, q.z, q.w);
//// btMatrix3x3(btq).getRPY(roll, pitch, yaw);
// btMatrix3x3(btq).getEulerYPR(yaw, pitch, roll);
//}
//
//inline void setRPY(geometry_msgs::Quaternion& q, const double& roll, const double& pitch, const double& yaw) {
// btQuaternion btq;
// btMatrix3x3 mat;
// mat.setEulerYPR(yaw, pitch, roll);
// mat.getRotation(btq);
//
// q.x = btq.x();
// q.y = btq.y();
// q.z = btq.z();
// q.w = btq.w();
//}
}
// namespace crosbot
}
// namespace crosbot
...
...
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