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
Humanoid Path Planner
talos-rbprm
Commits
a83dcf7c
Unverified
Commit
a83dcf7c
authored
May 07, 2020
by
Fernbach Pierre
Committed by
GitHub
May 07, 2020
Browse files
Merge pull request #12 from pFernbach/devel
Add bounds on leg_5_joints that match the security of the controller
parents
ee12d104
99ec288d
Changes
1
Hide whitespace changes
Inline
Side-by-side
talos_rbprm/talos.py
View file @
a83dcf7c
...
...
@@ -404,6 +404,11 @@ class Robot(Parent):
self
.
urdfSuffix
,
self
.
srdfSuffix
,
client
)
if
name
is
not
None
:
self
.
name
=
name
# Even though the bound in the urdf is greater than this values,
# the controller do not tolerate values outside of this bounds
self
.
setJointBounds
(
'leg_left_5_joint'
,
[
-
1.26
,
0.768
])
self
.
setJointBounds
(
'leg_right_5_joint'
,
[
-
1.26
,
0.768
])
# Save urdf values for the bounds that may be modified
self
.
joint1L_bounds_prev
=
self
.
getJointBounds
(
'leg_left_1_joint'
)
self
.
joint6L_bounds_prev
=
self
.
getJointBounds
(
'leg_left_6_joint'
)
self
.
joint2L_bounds_prev
=
self
.
getJointBounds
(
'leg_left_2_joint'
)
...
...
Write
Preview
Markdown
is supported
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