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
c333d175
Commit
c333d175
authored
6 years ago
by
Laia Freixas Mateu
Browse files
Options
Downloads
Patches
Plain Diff
changed topic from odometry/filtered to /filtered_odometry
parent
cc7ee03e
No related branches found
No related tags found
1 merge request
!3
Kalman filter, solves #2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/htc_vive_tracker_alg_node.h
+0
-1
0 additions, 1 deletion
include/htc_vive_tracker_alg_node.h
launch/wam_follow_device.launch
+1
-0
1 addition, 0 deletions
launch/wam_follow_device.launch
src/htc_vive_tracker_alg_node.cpp
+0
-2
0 additions, 2 deletions
src/htc_vive_tracker_alg_node.cpp
with
1 addition
and
3 deletions
include/htc_vive_tracker_alg_node.h
+
0
−
1
View file @
c333d175
...
...
@@ -53,7 +53,6 @@ class HtcViveTrackerAlgNode : public algorithm_base::IriBaseAlgorithm<HtcViveTra
// [subscriber attributes]
ros
::
Publisher
pose_publisher_
;
ros
::
Publisher
vo_publisher_
;
tf
::
TransformListener
tf_listener_
;
//
...
...
This diff is collapsed.
Click to expand it.
launch/wam_follow_device.launch
+
1
−
0
View file @
c333d175
...
...
@@ -9,6 +9,7 @@
<node pkg="robot_localization" type="ekf_localization_node" name="ekf_se" clear_params="true">
<rosparam command="load" file="$(find iri_htc_vive_tracker)/params/ekf_htcvive.yaml" />
<remap from="odometry/filtered" to="filtered_odometry"/>
</node>
</launch>
This diff is collapsed.
Click to expand it.
src/htc_vive_tracker_alg_node.cpp
+
0
−
2
View file @
c333d175
...
...
@@ -33,7 +33,6 @@ HtcViveTrackerAlgNode::HtcViveTrackerAlgNode(void) :
this
->
source_frame_name_
=
"chaperone"
;
pose_publisher_
=
this
->
public_node_handle_
.
advertise
<
geometry_msgs
::
PoseStamped
>
(
"new_pose"
,
100
);
vo_publisher_
=
this
->
public_node_handle_
.
advertise
<
nav_msgs
::
Odometry
>
(
"vo"
,
100
);
...
...
@@ -93,7 +92,6 @@ void HtcViveTrackerAlgNode::PublishPoseOfDeviceToFollow(void){
Velocity
device_vel
=
this
->
alg_
.
GetDeviceVelocity
(
this
->
target_frame_name_
);
nav_msgs
::
Odometry
current_vo
=
this
->
CreateOdometryFromPoseVel
(
tf_pose
,
device_vel
);
this
->
vo_publisher_
.
publish
(
current_vo
);
this
->
pose_publisher_
.
publish
(
tf_pose
);
}
else
{
ROS_INFO
(
"Transform not possible"
);
...
...
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