pmb2_simulation repository

Repository Summary

Checkout URI https://github.com/pal-robotics/pmb2_simulation.git
VCS Type git
VCS Version humble-devel
Last Updated 2022-10-07
Dev Status DEVELOPED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Packages

Name Version
pmb2_2dnav_gazebo 3.0.2
pmb2_gazebo 3.0.2
pmb2_multi 2.0.24
pmb2_simulation 3.0.2

README

pmb2_simulation

This repository contains the launch files to simulate the pmb2/TIAGo Base robot.

Setup

Disclaimer: In our testing environment, we've found out that the simulation is more reliable if we switch to Cyclone DDS. You can do this by setting the RMW_IMPLEMENTATION environment variable: export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp. More information on working with different DDS implementations here.

We are still looking on the issues when working with Fast RTPS.

  1. Create a workspace for pmb2 simulation:

    mkdir -p ~/pmb2_public_ws/src

  2. Download the rosinstall file and move it to the src directory.

  3. Move to the src directory and use rosinstall to clone the packages:

    cd ~/pmb2_public_ws/src && rosinstall . pmb2_public.rosinstall

    To install rosinstall tool you can use sudo apt install python3-rosinstall.

  4. Source ROS 2 Humble

    source /opt/ros/humble/setup.bash

  5. Build the workspace:

    cd .. && colcon build

  6. Source the workspace:

    source install/setup.bash

Simulate pmb2 robot

  1. Launch gazebo simulation:

    ros2 launch pmb2_gazebo pmb2_gazebo.launch.py

  2. To move the robot you can use the following command:

    ros2 topic pub /mobile_base_controller/cmd_vel_unstamped geometry_msgs/msg/Twist '{linear: {x: 1}, angular: {z: 0}}' -r10

The velocities can be modified by changing the values of x and z.

Simulate pmb2 robot with navigation

  1. Launch gazebo simulation with navigation

    ros2 launch pmb2_2dnav_gazebo pmb2_navigation_gazebo.launch.py

  2. Set the initial pose in rviz2 and send a goal

You can also start the simulation and navigation separately by following the steps of the Simulate pmb2 robot section to launch the simulation and then launch navigation in other terminal with the following command: ros2 launch pmb2_2dnav pmb2_nav_bringup.launch.py

Then, rviz can be used in the same way.

CONTRIBUTING

Contributing Guidelines

Thank you for your interest in contributing to this project Whether it's a bug report, new feature, correction, or additional documentation, we greatly value feedback and contributions from our community.

Please read through this document before submitting any issues or pull requests to ensure we have all the necessary information to effectively respond to your bug report or contribution.

Reporting Bugs/Feature Requests

We welcome you to use the GitHub issue tracker to report bugs or suggest features.

When filing an issue, please check existing open issues, or recently closed, issues to make sure somebody else hasn't already reported the issue. Please try to include as much information as you can. Details like these are incredibly useful:

  • A reproducible test case or series of steps
  • The version of our code being used
  • Any modifications you've made relevant to the bug
  • Anything unusual about your environment or deployment

Contributing via Pull Requests

Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that:

  1. You are working against the latest source on the master branch.
  2. You check existing open, and recently merged, pull requests to make sure someone else hasn't addressed the problem already.
  3. You open an issue to discuss any significant work - we would hate for your time to be wasted.

To send us a pull request, please:

  1. Fork the repository.
  2. Modify the source; please focus on the specific change you are contributing. If you also reformat all the code, it will be hard for us to focus on your change.
  3. Ensure local tests pass. (colcon test)
  4. Commit to your fork using clear commit messages.
  5. Send a pull request, answering any default questions in the pull request interface.
  6. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation.

GitHub provides additional documentation on forking a repository and creating a pull request.

Licensing

Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that license:

5. Submission of Contributions. Unless You explicitly state otherwise,
   any Contribution intentionally submitted for inclusion in the Work
   by You to the Licensor shall be under the terms and conditions of
   this License, without any additional terms or conditions.
   Notwithstanding the above, nothing herein shall supersede or modify
   the terms of any separate license agreement you may have executed
   with Licensor regarding such Contributions.

Repository Summary

Checkout URI https://github.com/pal-robotics/pmb2_simulation.git
VCS Type git
VCS Version foxy-devel
Last Updated 2021-10-19
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Packages

Name Version
pmb2_2dnav_gazebo 3.0.2
pmb2_gazebo 3.0.2
pmb2_multi 2.0.24
pmb2_simulation 3.0.2

README

No README found.

CONTRIBUTING

Contributing Guidelines

Thank you for your interest in contributing to this project Whether it's a bug report, new feature, correction, or additional documentation, we greatly value feedback and contributions from our community.

Please read through this document before submitting any issues or pull requests to ensure we have all the necessary information to effectively respond to your bug report or contribution.

Reporting Bugs/Feature Requests

We welcome you to use the GitHub issue tracker to report bugs or suggest features.

When filing an issue, please check existing open issues, or recently closed, issues to make sure somebody else hasn't already reported the issue. Please try to include as much information as you can. Details like these are incredibly useful:

  • A reproducible test case or series of steps
  • The version of our code being used
  • Any modifications you've made relevant to the bug
  • Anything unusual about your environment or deployment

Contributing via Pull Requests

Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that:

  1. You are working against the latest source on the master branch.
  2. You check existing open, and recently merged, pull requests to make sure someone else hasn't addressed the problem already.
  3. You open an issue to discuss any significant work - we would hate for your time to be wasted.

To send us a pull request, please:

  1. Fork the repository.
  2. Modify the source; please focus on the specific change you are contributing. If you also reformat all the code, it will be hard for us to focus on your change.
  3. Ensure local tests pass. (colcon test)
  4. Commit to your fork using clear commit messages.
  5. Send a pull request, answering any default questions in the pull request interface.
  6. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation.

GitHub provides additional documentation on forking a repository and creating a pull request.

Licensing

Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that license:

5. Submission of Contributions. Unless You explicitly state otherwise,
   any Contribution intentionally submitted for inclusion in the Work
   by You to the Licensor shall be under the terms and conditions of
   this License, without any additional terms or conditions.
   Notwithstanding the above, nothing herein shall supersede or modify
   the terms of any separate license agreement you may have executed
   with Licensor regarding such Contributions.

Repository Summary

Checkout URI https://github.com/pal-robotics/pmb2_simulation.git
VCS Type git
VCS Version indigo-devel
Last Updated 2018-01-02
Dev Status DEVELOPED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

README

No README found.

CONTRIBUTING

No CONTRIBUTING.md found.

Repository Summary

Checkout URI https://github.com/pal-robotics/pmb2_simulation.git
VCS Type git
VCS Version indigo-devel
Last Updated 2018-01-02
Dev Status DEVELOPED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

README

No README found.

CONTRIBUTING

No CONTRIBUTING.md found.

Repository Summary

Checkout URI https://github.com/pal-robotics/pmb2_simulation.git
VCS Type git
VCS Version kinetic-devel
Last Updated 2022-08-18
Dev Status DEVELOPED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Packages

README

No README found.

CONTRIBUTING

No CONTRIBUTING.md found.