Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

[ros2] Port planar move to ROS2#958

Merged
chapulina merged 3 commits intoros-simulation:dashingfrom
shiveshkhaitan:planar_move
Jul 30, 2019
Merged

[ros2] Port planar move to ROS2#958
chapulina merged 3 commits intoros-simulation:dashingfrom
shiveshkhaitan:planar_move

Conversation

@shiveshkhaitan
Copy link
Copy Markdown

Port gazebo_ros_planar_move plugin to ROS2.

Example usage:

    <plugin name="gazebo_ros_planar_move" filename="libgazebo_ros_planar_move.so">

      <ros>

        <!-- Add a namespace -->
        <namespace>/demo</namespace>

        <!-- Remap the default topic -->
        <argument>cmd_vel:=custom_cmd_vel</argument>
        <argument>odom:=custom_odom</argument>

      </ros>

      <update_rate>100</update_rate>
      <publish_rate>10</publish_rate>

      <!-- output -->
      <publish_odom>true</publish_odom>
      <publish_odom_tf>true</publish_odom_tf>

      <odometry_frame>odom_demo</odometry_frame>
      <robot_base_frame>link</robot_base_frame>

      <covariance_x>0.0001</covariance_x>
      <covariance_y>0.0001</covariance_y>
      <covariance_yaw>0.01</covariance_yaw>

    </plugin>

Migration guide at ROS 2 Migration: Planar Move

@chapulina chapulina self-requested a review July 17, 2019 15:32
@chapulina chapulina added the ros2 label Jul 17, 2019
@chapulina
Copy link
Copy Markdown
Contributor

@osrf-jenkins run tests please

Copy link
Copy Markdown
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me!

Could you add tests for the new conversion functions? Thanks!

It also needs rebasing.

Copy link
Copy Markdown
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job!

@chapulina chapulina merged commit e33a9c1 into ros-simulation:dashing Jul 30, 2019
shiveshkhaitan added a commit to shiveshkhaitan/gazebo_ros_pkgs that referenced this pull request Aug 15, 2019
* [ros2] Port planar move to ROS2

* Add test for pose conversion
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants