Skip to content

Commit

Permalink
fix #338 topic for stereo
Browse files Browse the repository at this point in the history
  • Loading branch information
goldbattle committed May 18, 2023
1 parent db026f3 commit 58afb2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ov_msckf/src/ros/ROS2Visualizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ void ROS2Visualizer::setup_subscribers(std::shared_ptr<ov_core::YamlParser> pars
_node->declare_parameter<std::string>("topic_camera" + std::to_string(0), "/cam" + std::to_string(0) + "/image_raw");
_node->get_parameter("topic_camera" + std::to_string(0), cam_topic0);
_node->declare_parameter<std::string>("topic_camera" + std::to_string(1), "/cam" + std::to_string(1) + "/image_raw");
_node->get_parameter("topic_camera" + std::to_string(1), cam_topic0);
_node->get_parameter("topic_camera" + std::to_string(1), cam_topic1);
parser->parse_external("relative_config_imucam", "cam" + std::to_string(0), "rostopic", cam_topic0);
parser->parse_external("relative_config_imucam", "cam" + std::to_string(1), "rostopic", cam_topic1);
// Create sync filter (they have unique pointers internally, so we have to use move logic here...)
Expand Down

0 comments on commit 58afb2d

Please sign in to comment.