File tree 3 files changed +4
-0
lines changed
localization/landmark_based_localizer/lidar_marker_localizer
3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 19
19
| Name | Type | Description |
20
20
| :------------------------------ | :---------------------------------------------- | :----------------------------------------------------------------- |
21
21
| ` ~/output/pose_with_covariance ` | ` geometry_msgs::msg::PoseWithCovarianceStamped ` | Estimated Pose |
22
+ | ` ~/debug/pose_with_covariance ` | ` geometry_msgs::msg::PoseWithCovarianceStamped ` | [ debug topic] Estimated Pose |
22
23
| ` ~/debug/result ` | ` sensor_msgs::msg::Image ` | [ debug topic] |
23
24
| ` ~/debug/marker ` | ` visualization_msgs::msg::MarkerArray ` | [ debug topic] Loaded landmarks to visualize in Rviz as thin boards |
24
25
| ` /diagnostics ` | ` diagnostic_msgs::msg::DiagnosticArray ` | Diagnostics outputs |
Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ LidarMarkerLocalizer::LidarMarkerLocalizer()
90
90
qos_marker.reliable ();
91
91
pub_marker_mapped_ = this ->create_publisher <MarkerArray>(" ~/debug/marker_mapped" , qos_marker);
92
92
pub_marker_detected_ = this ->create_publisher <PoseArray>(" ~/debug/marker_detected" , 10 );
93
+ pub_debug_pose_with_covariance_ = this ->create_publisher <PoseWithCovarianceStamped>(" ~/debug/pose_with_covariance" , 10 );
93
94
94
95
service_trigger_node_ = this ->create_service <SetBool>(
95
96
" ~/service/trigger_node_srv" ,
@@ -284,6 +285,7 @@ void LidarMarkerLocalizer::main_process(const PointCloud2::ConstSharedPtr & poin
284
285
result.pose .covariance = rotate_covariance (param_.base_covariance , map_to_base_link_rotation);
285
286
286
287
pub_base_link_pose_with_covariance_on_map_->publish (result);
288
+ pub_debug_pose_with_covariance_->publish (result);
287
289
}
288
290
289
291
void LidarMarkerLocalizer::service_trigger_node (
Original file line number Diff line number Diff line change @@ -112,6 +112,7 @@ class LidarMarkerLocalizer : public rclcpp::Node
112
112
rclcpp::Service<SetBool>::SharedPtr service_trigger_node_;
113
113
rclcpp::Publisher<MarkerArray>::SharedPtr pub_marker_mapped_;
114
114
rclcpp::Publisher<PoseArray>::SharedPtr pub_marker_detected_;
115
+ rclcpp::Publisher<PoseWithCovarianceStamped>::SharedPtr pub_debug_pose_with_covariance_;
115
116
116
117
std::shared_ptr<DiagnosticsModule> diagnostics_module_;
117
118
You can’t perform that action at this time.
0 commit comments