No version for distro humble. Known supported distros are highlighted in the buttons above.
No version for distro jazzy. Known supported distros are highlighted in the buttons above.
No version for distro rolling. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.0.0
License TODO: License declaration
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/turtlebot/turtlebot4lessons.git
VCS Type git
VCS Version main
Last Updated 2022-07-27
Dev Status UNMAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

TODO: Package description

Additional Links

No additional links.

Maintainers

  • sumedh

Authors

No additional authors.

Description of the Project:

This project educates to implement a Bug2 Motion planner Algorithm using Extented Kalman filter state estimation. Algorithm in a nutshell:

  • Initially, the TB4 heads towards goal on the sg-line (A line between start and goal points)
  • If an obstacle/wall is on the way, follow it until you encounter the sg-line closer to the goal.
  • Consider the point where turtlebot4 reaches the sg-line first as reach point. Similarly, consider the point where turtlebot4 leaves the sg-lines as leave point
  • Once the TB4 reaches the leave point on the sg-line, TB4 leaves the obstacle/wall and continues toward the goal

179041882-b5b8f156-bbd7-460d-b84a-1b2123f99494

Instructions to run the Project:

Create a ROS2 Workspace

cd
mkdir workspace

Create a sub-directory with src and colcon build your workspace

cd workspace
mkdir src
colcon build

Clone the Turtlebot4Lessons Repository into src folder

cd workspace/src/
git clone https://github.com/turtlebot/TurtleBot4Lessons.git

View your Source files

cd Turtlebot4Lessons

Instructions to setup Turtlebot4 Simulation source installation and Motion Planner project

TurtleBot4 Simulation Source installation

To manually install TurtleBot4 simulation from source, clone the git repository:

cd ~/workspace/src
git clone https://github.com/turtlebot/turtlebot4_simulator.git

Install dependencies:

cd ~/workspace
vcs import src < src/turtlebot4_simulator/dependencies.repos
rosdep install --from-path src -yi

Build the TurtleBot4 simulation package:

. install/setup.bash
colcon build --symlink-install

Now, download your custom world inside below directory

cd ~/workspace/src/turtlebot4_simulator/turtlebot4_ignition_bringup/worlds
wget https://raw.githubusercontent.com/sumedhreddy90/TurtleBot4Lessons/ROS2-visual-Nav/projects/unit02_simulation_motion_planner/worlds/bug2_world.sdf

Edit ‘world’ DeclareLaunchArgument in ignition.launch.py

cd ~/workspace/src/turtlebot4_simulator/turtlebot4_ignition_bringup/launch/
gedit ignition.launch.py
goto line 65 and change default_value='bug2_world'

Launch Turtlebot4 in Ignition Gazebo

To launch the TB4 onto custom world run below launch command:

ros2 launch unit02_simulation_motion_planner tb4_ignition.launch.py

To undock the Turtlebot4 from the Charging Dock

Execute below launch command in your terminal for undocking Turtlebot4

ros2 launch unit02_simulation_motion_planner tb4_undock.launch.py 

To launch motion planner alogirthm for a given goal position

ros2 launch unit02_simulation_motion_planner tb4_bug2.launch.py

Default goal location is set to X: 8.0 Y: 10.0

To pass goal postion from command line

ros2 launch unit02_simulation_motion_planner tb4_bug2.launch.py 'my_goal_pose:=[2.0, 10.0, 0.0, 0.0, 0.0, 0.0, 0.0]'


CHANGELOG
No CHANGELOG found.

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged unit02_simulation_motion_planner at Robotics Stack Exchange

No version for distro noetic. Known supported distros are highlighted in the buttons above.
No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.
No version for distro eloquent. Known supported distros are highlighted in the buttons above.
No version for distro dashing. Known supported distros are highlighted in the buttons above.
No version for distro galactic. Known supported distros are highlighted in the buttons above.
No version for distro foxy. Known supported distros are highlighted in the buttons above.
No version for distro iron. Known supported distros are highlighted in the buttons above.
No version for distro lunar. Known supported distros are highlighted in the buttons above.
No version for distro jade. Known supported distros are highlighted in the buttons above.
No version for distro indigo. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.
No version for distro kinetic. Known supported distros are highlighted in the buttons above.
No version for distro melodic. Known supported distros are highlighted in the buttons above.