Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iri_htc_vive_tracker
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
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
labrobotica
ros
sensors
iri_htc_vive_tracker
Commits
724c31f7
Commit
724c31f7
authored
6 years ago
by
Laia Freixas Mateu
Browse files
Options
Downloads
Patches
Plain Diff
changed launches so that parameters are correctly read
parent
6695ac26
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
launch/publish_wam_chaperone_link.launch
+4
-2
4 additions, 2 deletions
launch/publish_wam_chaperone_link.launch
launch/wam_follow_device.launch
+2
-3
2 additions, 3 deletions
launch/wam_follow_device.launch
src/htc_vive_tracker_alg_node.cpp
+1
-2
1 addition, 2 deletions
src/htc_vive_tracker_alg_node.cpp
with
7 additions
and
7 deletions
launch/publish_wam_chaperone_link.launch
+
4
−
2
View file @
724c31f7
...
...
@@ -19,8 +19,10 @@
<node pkg="iri_htc_vive_tracker"
type = "iri_htc_vive_tracker"
name = "iri_htc_vive_tracker" >
<param name="target_frame" type="string" value="$(arg target_frame)"/>
name = "iri_htc_vive_tracker"
output = "screen">
<param name="~target_frame_name" type="string" value="$(arg target_frame)"/>
<remap from="~new_pose" to="/iri_wam/pose_surface"/>
</node>
</launch>
This diff is collapsed.
Click to expand it.
launch/wam_follow_
tracker
.launch
→
launch/wam_follow_
device
.launch
+
2
−
3
View file @
724c31f7
<launch>
<!-- Initialize htc vive and publish transformation -->
<arg name="device" default="tracker_1"/>
<include file="$(find iri_htc_vive_tracker)/launch/publish_wam_chaperone_link.launch">
<!-- Initialize tf-to-pose node from chaperone to tracker1-->
<arg name="target_frame" value ="tracker_1"/>
<arg name="target_frame" value ="$(arg device)"/>
</include>
<remap from="iri_htc_vive_tracker/new_pose" to="iri_wam/pose_surface" />
</launch>
This diff is collapsed.
Click to expand it.
src/htc_vive_tracker_alg_node.cpp
+
1
−
2
View file @
724c31f7
...
...
@@ -27,7 +27,7 @@ HtcViveTrackerAlgNode::HtcViveTrackerAlgNode(void) :
this
->
public_node_handle_
.
getParam
(
"target_frame_name"
,
this
->
target_frame_name_
);
}
else
{
ROS_
INFO
(
"No param set for target_frame"
);
ROS_
ERROR
(
"No param set for target_frame"
);
this
->
frame_names_set
=
false
;
}
...
...
@@ -116,7 +116,6 @@ void HtcViveTrackerAlgNode::mainNodeThread(void)
this
->
PublishPoseOfDeviceToFollow
();
}
/* [subscriber callbacks] */
...
...
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