Skip to content

Commit

Permalink
fix duplicate topic name for twist
Browse files Browse the repository at this point in the history
  • Loading branch information
stuebema committed Dec 22, 2023
1 parent 88cc694 commit f479a02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tracker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ void VRPN_CALLBACK Tracker::HandleTwist(void * data, const vrpn_TRACKERVELCB tra

// lazy initialization of publisher
auto pub = tracker->GetOrCreatePublisher<TwistStamped>(
static_cast<size_t>(tracker_twist.sensor), "pose", &tracker->twist_pubs_);
static_cast<size_t>(tracker_twist.sensor), "twist", &tracker->twist_pubs_);

// populate message
TwistStamped msg;
Expand Down

0 comments on commit f479a02

Please sign in to comment.