Skip to content

Commit

Permalink
fix duplicate topic name for twist (#6)
Browse files Browse the repository at this point in the history
Co-authored-by: stuebema <[email protected]>
Co-authored-by: Alvin Sun <[email protected]>
  • Loading branch information
3 people authored Jan 9, 2024
1 parent cffc499 commit 5f7f8ed
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 5f7f8ed

Please sign in to comment.