Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Shuhang Huang
turtlebot3
Commits
5a91bf41
Commit
5a91bf41
authored
4 years ago
by
ashe kim
Browse files
Options
Download
Patches
Plain Diff
modified pep257
parent
c674c086
ros2-devel
dashing-devel
eloquent-devel
feature-burger-camera
feature-camera
feature-humble
feature-nav2-update
feature-raspicam
foxy-devel
galactic-devel
galactic-devel-hotfix
hotfix-humble
hotfix-humble-example
humble-devel
ros2
2.1.5
2.1.3
2.1.2
2.1.1
2.1.0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
turtlebot3_example/turtlebot3_example/turtlebot3_position_control/turtlebot3_position_control.py
+2
-1
...urtlebot3_position_control/turtlebot3_position_control.py
with
2 additions
and
1 deletion
+2
-1
turtlebot3_example/turtlebot3_example/turtlebot3_position_control/turtlebot3_position_control.py
+
2
−
1
View file @
5a91bf41
...
...
@@ -159,7 +159,8 @@ class Turtlebot3PositionControl(Node):
*******************************************************************************"""
def
euler_from_quaternion
(
self
,
quat
):
"""
Converts quaternion (w in last place) to euler roll, pitch, yaw
Convert quaternion (w in last place) to euler roll, pitch, yaw.
quat = [x, y, z, w]
"""
x
=
quat
.
x
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets