Skip to content

Commit

Permalink
Fix SensorGps topic name as per new px4_ros_com
Browse files Browse the repository at this point in the history
Signed-off-by: Jukka Laitinen <[email protected]>
  • Loading branch information
jlaitine committed Oct 22, 2021
1 parent 03e7004 commit cc31857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mocap_pose.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ MocapPose::MocapPose() : Node("MocapPose"), impl_(new MocapPose::Impl())
impl_->home.zone,
impl_->home.band);

impl_->publisher = create_publisher<px4_msgs::msg::SensorGps>("SensorGps_PubSubTopic", 10);
impl_->publisher = create_publisher<px4_msgs::msg::SensorGps>("fmu/sensor_gps/in", 10);
impl_->worker_thread_running = true;
impl_->worker_thread = std::thread(&MocapPose::WorkerThread, this);
}
Expand Down

0 comments on commit cc31857

Please sign in to comment.