F.A.Q
Multi-computer configuration
Configure a ROS_DOMAIN_ID
betwwen 1 and 100 in your bashrc file to limit the topics area, and set ROS_LOCALHOST_ONLY
to zero to permits several computer to share ROS ressources.
add at the end of the file (with 42 for instance):
ROS2 tbot driver
How to get rid of ROS1 ;-)
Install ROS2 tbot driver:
Launch ROS2 tbot driver:
Fix malformed packets
Info there: https://github.com/kobuki-base/kobuki_core/commit/2bc11a1bf0ff364b37eb812a404f124dae9c0699
Then unplug / replug the robot. To ensure it worked, the followwing command should display 1:
How to install Ubuntu ?
Ubuntu is a fork of the Debian project, a Linux-based desktop operating system.
Official website : https://ubuntu.com/
French community : https://www.ubuntu-fr.org/
Notice that, ubuntu can be installed in double boot mode in parallel to a Microsoft OS on your personal computer. It is not recommended to use Ubuntu+ROS in a virtual machine (the performances would be poor).
To-do:
Install Ubuntu 20.04 LTS (Long Term Supported version) from live USB-Key
Ideally, use all the hard disk (you can split the disk in advance for double-boot install)
Configure "bot" username and "bot" password.
Configure network
Login and upgrade your installation
There is no Wifi on my dell-xps13 ?
Connect with cable
Get the appropriate drivers: killer driver
reboot
Remove password asking for docker commands
Catkin_create_pkg - invalid email ?
you can use the -m
option to force an author name.
opencv_createsamples
opencv_createsamples
The latest OpenCV does not include opencv_createsamples
. Let's compile an older version (~5 min on labs PC).
How to get an aligned depth image to the color image ?
you can use the align_depth:=true
ROS parameter. The aligned image is streamed in a specific topic. (tks Orange group)
ROS1 vs ROS2 commands cheatsheet
.bashrc
ROS additions
.bashrc
ROS additionsFlash kobuki
https://kobuki.readthedocs.io/en/devel/firmware.html#linux
ROS2 Package with custom Python Library
suppose we are in packge
my-package
Inside the package folder
my-package
create a folder for my library. For examplelibs/my_lib
Inside
myLib
folder add__init__.py
file that imports resources from other python files.Add the
CMakeList.txt
build the package
colcon build
More on ros2 tutorial by readthedocs:
Last updated