diff --git a/.github/workflows/ros-ci.yml b/.github/workflows/ros-ci.yml index bb5ced9..cb5ca18 100644 --- a/.github/workflows/ros-ci.yml +++ b/.github/workflows/ros-ci.yml @@ -1,15 +1,15 @@ -name: ros2-devel +name: ros2 # Controls when the action will run. Triggers the workflow on push or pull request on: push: - branches: [ ros2-devel ] + branches: [ ros2 ] pull_request: - branches: [ ros2-devel ] + branches: [ ros2 ] # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: - ros2-devel-ci: + ros2-ci: runs-on: ubuntu-latest strategy: fail-fast: false @@ -52,6 +52,6 @@ jobs: - name: Build and Test uses: ros-tooling/action-ros-ci@v0.2 with: - package-name: turtlebot3 + package-name: hls_lfcd_lds_driver target-ros2-distro: ${{ matrix.ros_distribution }} vcs-repo-file-url: "" diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 5f7a1a9..bdb3aaf 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,8 +4,10 @@ Changelog for package hls_lfcd_lds_driver 2.0.2 (2021-04-15) ------------------ -* fix laserscan bug +* fix laserscan data bug * rename nav2 params +* fox bug, deprecated param name +* use static param type for Galactic * Contributors: Will Son 2.0.1 (2020-07-13) diff --git a/src/hlds_laser_publisher.cpp b/src/hlds_laser_publisher.cpp index a5970ff..cfebeba 100644 --- a/src/hlds_laser_publisher.cpp +++ b/src/hlds_laser_publisher.cpp @@ -145,8 +145,8 @@ int main(int argc, char **argv) std::string frame_id; int baud_rate; - node->declare_parameter("port"); - node->declare_parameter("frame_id"); + node->declare_parameter("port"); + node->declare_parameter("frame_id"); node->get_parameter_or("port", port, "/dev/ttyUSB0"); node->get_parameter_or("frame_id", frame_id, "laser");