ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2

Running humble on Turtlebot3

asked 2023-01-27 10:16:52 -0600

MrOCW gravatar image

Hi, I recently got a turtlebot3 burger and I only see instructions for installing foxy on it. I saw that the turtlebot3 GitHub page has humble support. Can I flash a regular Ubuntu 22 on the tb3 RPi and then build the turtlebot3 repo from source?

edit retag flag offensive close merge delete

Comments

Hey! I am also trying to run ros2 humble on tb3, still confused what image to flash on the rpi4, as the available image is of ros foxy.

proto gravatar image proto  ( 2023-03-18 23:50:36 -0600 )edit

Please don't ask questions as an answer.

tfoote gravatar image tfoote  ( 2023-03-20 15:49:00 -0600 )edit

3 Answers

Sort by ยป oldest newest most voted
0

answered 2023-04-10 06:17:57 -0600

MrOCW gravatar image

Flashing Ubuntu 22, installing ROS2 Humble, and building tb3 humble from source works

edit flag offensive delete link more
1

answered 2023-03-21 04:41:50 -0600

ljaniec gravatar image

updated 2023-04-17 17:09:19 -0600

I used the newest ROS 2 on the older TB2:

So if you can manage to build the drivers from source for TB3 you should be good to go. Perhaps more advanced packages could be harder to compile, we could help you with them.

EDIT:

For these packages to work you have to set up source build of the kobuki-base, clone these in your ros2_ws/src, with rosdep install before building them - I have these commands on hand for my setup:

ROS 2 setup after installation (https://docs.ros.org/en/galactic/Inst...)

echo "source /opt/ros/humble/setup.bash" >> ~/.bashrc
sudo apt install python3-colcon-common-extensions
echo "source /usr/share/colcon_cd/function/colcon_cd.sh" >> ~/.bashrc
echo "export _colcon_cd_root=/opt/ros/humble/" >> ~/.bashrc
echo "source /usr/share/colcon_argcomplete/hook/colcon-argcomplete.bash" >> ~/.bashrc

Nav2 binaries

   sudo apt install ros-humble-navigation2
   sudo apt install ros-humble-nav2-bringup
   sudo apt install ros-humble-turtlebot3*
   sudo apt install ros-humble-turtle*
   export TURTLEBOT3_MODEL=waffle
   export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/opt/ros/humble/share/turtlebot3_gazebo/models

Test launch

  ros2 launch nav2_bringup tb3_simulation_launch.py

ROS 2 workspace for sources

cd ~/tb2_ros2_nav2/
mkdir -p ros2_ws/src
cd ~/tb2_ros2_nav2/ros2_ws/src

Clone these Kobuki packages

git clone https://github.com/kobuki-base/kobuki_core.git
git clone https://github.com/kobuki-base/velocity_smoother.git
git clone https://github.com/kobuki-base/cmd_vel_mux.git
git clone https://github.com/kobuki-base/kobuki_ros_interfaces.git
git clone https://github.com/kobuki-base/kobuki_ros.git

Important! Install dependencies (ECL libraries, etc.)

cd ~/tb2_ros2_nav2/ros2_ws/
sudo rosdep install -i --from-path src --rosdistro humble -y

Build Kobuki packages

colcon build --symlink-install
edit flag offensive delete link more

Comments

Hey, I am also trying to use ROS2 Humble on a TurtleBot2, also built it from source and cloned https://github.com/igrak34/TurtleBot2... on it. Tried to use colcon build on it but there were some packages which were missing so I keep cloning them until i got the message that ecl_linear_algebra is needed which is only available for ROS2 foxy. How did you bypass this problem?

Djinn gravatar image Djinn  ( 2023-04-10 06:14:24 -0600 )edit

I have updated my answer with a short list of commands, it looks like you have some missing dependencies. Please ask a separate question with your errors if these are not sufficient.

ljaniec gravatar image ljaniec  ( 2023-04-10 07:48:03 -0600 )edit

Thank you very much for your answer! I do have some questions which I have stated in a different thread and would highly appreciate if you could take a look.

Djinn gravatar image Djinn  ( 2023-04-17 09:00:56 -0600 )edit
1

answered 2023-03-20 15:48:30 -0600

tfoote gravatar image

At the moment TurtleBot3 Does not support Humble It supports Kinetic Melodic, Noetic, Dashing, and Foxy. You can see the installation list here: https://emanual.robotis.com/docs/en/p...

It comes from:

https://github.com/ROBOTIS-GIT/emanua...

edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2023-01-27 10:16:52 -0600

Seen: 2,373 times

Last updated: Apr 17 '23