Skip to content

Commit

Permalink
シミュレータ環境でライントレースが行えるように2値化のしきい値を調整
Browse files Browse the repository at this point in the history
  • Loading branch information
YusukeKato committed Feb 5, 2024
1 parent 3d3198a commit 75634bf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ or [rqt_image_view](https://index.ros.org/p/rqt_image_view/).

- `brightness_max_value`
- Type: `int`
- Default: 100
- Default: 90
- Maximum threshold value for image binarisation.
- `brightness_min_value`
- Type: `int`
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ $ ros2 launch raspimouse_ros2_examples camera_line_follower.launch.py video_devi

- `brightness_max_value`
- Type: `int`
- Default: 100
- Default: 90
- 画像の2値化のしきい値の最大値
- `brightness_min_value`
- Type: `int`
Expand Down
2 changes: 1 addition & 1 deletion src/camera_line_follower_component.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ CallbackReturn Camera_Follower::on_configure(const rclcpp_lifecycle::State &)

// Set parameter defaults
declare_parameter(BRIGHTNESS_MIN_VAL_PARAM, 0);
declare_parameter(BRIGHTNESS_MAX_VAL_PARAM, 100);
declare_parameter(BRIGHTNESS_MAX_VAL_PARAM, 90);

return CallbackReturn::SUCCESS;
}
Expand Down

0 comments on commit 75634bf

Please sign in to comment.