Skip to content

Commit

Permalink
/switch must not be nice name (autowarefoundation#39)
Browse files Browse the repository at this point in the history
Signed-off-by: Kento Yabuuchi <kento.yabuuchi.2@tier4.jp>
  • Loading branch information
KYabuuchi committed Jun 12, 2023
1 parent 2774c2e commit 37c80cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ CameraParticleCorrector::CameraParticleCorrector()
sub_pose_ = create_subscription<PoseStamped>("pose", 10, on_pose);

auto on_service = std::bind(&CameraParticleCorrector::on_service, this, _1, _2);
switch_service_ = create_service<SetBool>("/switch", on_service);
switch_service_ = create_service<SetBool>("switch_srv", on_service);

// Timer callback
auto on_timer = std::bind(&CameraParticleCorrector::on_timer, this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<param name="enabled_at_first" value="true"/>

<remap from="weighted_particles" to="$(var inout_weighted_particles)"/>
<remap from="switch_srv" to="camera_corrector_switch"/>

<remap from="line_segments_cloud" to="$(var input_projected_line_segments_cloud)"/>
<remap from="ll2_road_marking" to="$(var input_ll2_road_marking)"/>
Expand Down

0 comments on commit 37c80cb

Please sign in to comment.