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
Stack Of Tasks
tsid
Commits
59993dcb
Commit
59993dcb
authored
Jul 11, 2020
by
Andrea Del Prete
Browse files
[c++] Use model.gravity in task-capture-point-inequality instead of hard-coded value 9.81
parent
0edf7abf
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/tasks/task-capture-point-inequality.cpp
View file @
59993dcb
...
...
@@ -54,7 +54,7 @@ namespace tsid
b_lower
.
setZero
(
m_dim
);
b_upper
.
setZero
(
m_dim
);
m_g
=
9.81
;
m_g
=
robot
.
model
().
gravity
.
linear
().
norm
()
;
m_w
=
0
;
m_ka
=
0
;
...
...
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