Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
pinocchio
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
Stack Of Tasks
pinocchio
Commits
e98ba1ca
Commit
e98ba1ca
authored
8 years ago
by
Valenza Florian
Browse files
Options
Downloads
Patches
Plain Diff
[Python] Binded neutralConfigurations in Model
parent
bf374631
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/python/model.hpp
+2
-0
2 additions, 0 deletions
src/python/model.hpp
with
2 additions
and
0 deletions
src/python/model.hpp
+
2
−
0
View file @
e98ba1ca
...
...
@@ -125,6 +125,7 @@ namespace se3
.
add_property
(
"effortLimit"
,
bp
::
make_function
(
&
ModelPythonVisitor
::
effortLimit
),
"Joint max effort"
)
.
add_property
(
"neutralConfigurations"
,
bp
::
make_function
(
&
ModelPythonVisitor
::
neutralConfigurations
),
"Joint's neutral configurations"
)
.
add_property
(
"velocityLimit"
,
bp
::
make_function
(
&
ModelPythonVisitor
::
velocityLimit
),
"Joint max velocity"
)
.
add_property
(
"lowerPositionLimit"
,
bp
::
make_function
(
&
ModelPythonVisitor
::
lowerPositionLimit
),
"Limit for joint lower position"
)
.
add_property
(
"upperPositionLimit"
,
bp
::
make_function
(
&
ModelPythonVisitor
::
upperPositionLimit
),
"Limit for joint upper position"
)
...
...
@@ -171,6 +172,7 @@ namespace se3
}
static
Eigen
::
VectorXd
neutralConfigurations
(
ModelHandler
&
m
)
{
return
m
->
neutralConfigurations
;}
static
Eigen
::
VectorXd
effortLimit
(
ModelHandler
&
m
)
{
return
m
->
effortLimit
;}
static
Eigen
::
VectorXd
velocityLimit
(
ModelHandler
&
m
)
{
return
m
->
velocityLimit
;}
static
Eigen
::
VectorXd
lowerPositionLimit
(
ModelHandler
&
m
)
{
return
m
->
lowerPositionLimit
;}
...
...
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