Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
labrobotica
ros
devices
joints
iri_joints_module
Commits
32833c14
Commit
32833c14
authored
Jul 20, 2021
by
Sergi Hernandez
Browse files
Changed the way to compute the orientation. It only works if the desired pointing axis is x.
parent
4d3ecb96
Changes
2
Hide whitespace changes
Inline
Side-by-side
config/joints_module_default.yaml
View file @
32833c14
...
...
@@ -5,7 +5,7 @@ joint_states_watchdog_time_s: 1.0
pointing_frame
:
"
head_camera_link"
pointing_axis
:
0
point_frame
:
"
base
_link"
point_frame
:
"
torso_lift
_link"
pt_enabled
:
True
pt_max_retries
:
1
...
...
src/iri_joints_module.cpp
View file @
32833c14
...
...
@@ -421,6 +421,7 @@ bool CIriJointsModule::point_to(double x, double y, double z, double max_vel)
this
->
unlock
();
return
false
;
}
std
::
cout
<<
"point to: "
<<
x
<<
","
<<
y
<<
","
<<
z
<<
std
::
endl
;
this
->
point_to_goal
.
target
.
point
.
x
=
x
;
this
->
point_to_goal
.
target
.
point
.
y
=
y
;
this
->
point_to_goal
.
target
.
point
.
z
=
z
;
...
...
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!
Cancel
Please
register
or
sign in
to comment