Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
U
ur_simple_control
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Marko Guberina
ur_simple_control
Commits
e9b2f1e7
Commit
e9b2f1e7
authored
6 months ago
by
m-guberina
Browse files
Options
Downloads
Patches
Plain Diff
cm
parent
7a8dba38
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
python/ur_simple_control/util/.get_model.py.swp
+0
-0
0 additions, 0 deletions
python/ur_simple_control/util/.get_model.py.swp
python/ur_simple_control/util/get_model.py
+3
-1
3 additions, 1 deletion
python/ur_simple_control/util/get_model.py
with
3 additions
and
1 deletion
python/ur_simple_control/util/.get_model.py.swp
+
0
−
0
View file @
e9b2f1e7
No preview for this file type
This diff is collapsed.
Click to expand it.
python/ur_simple_control/util/get_model.py
+
3
−
1
View file @
e9b2f1e7
...
...
@@ -185,7 +185,7 @@ def get_yumi_model():
visual_model_arms
=
pin
.
buildGeomFromUrdf
(
model_arms
,
urdf_path_absolute
,
pin
.
GeometryType
.
VISUAL
,
None
,
mesh_dir_absolute
)
collision_model_arms
=
pin
.
buildGeomFromUrdf
(
model_arms
,
urdf_path_absolute
,
pin
.
GeometryType
.
COLLISION
,
None
,
mesh_dir_absolute
)
data_arms
=
pin
.
Data
(
model
)
data_arms
=
pin
.
Data
(
model
_arms
)
# mobile base as planar joint (there's probably a better
# option but whatever right now)
...
...
@@ -226,6 +226,8 @@ def get_yumi_model():
# frame-index should be 1
model
,
visual_model
=
pin
.
appendModel
(
model_mobile_base
,
model_arms
,
geom_model_mobile_base
,
visual_model_arms
,
1
,
pin
.
SE3
.
Identity
())
data
=
model
.
createData
()
return
model
,
visual_model
.
copy
(),
visual_model
,
data
...
...
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