Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linorobot2 for ROS2 Jazzy Jalisco on Pi5 #142

Open
Alwynn03 opened this issue Jan 31, 2025 · 3 comments
Open

Linorobot2 for ROS2 Jazzy Jalisco on Pi5 #142

Alwynn03 opened this issue Jan 31, 2025 · 3 comments

Comments

@Alwynn03
Copy link

Hi there,
love the linorobot2 repository where i used it on a pi4 using ros2 humble. But i face installation issue on pi5 that is the package isn't supported for Ros2 Jazzy. I prefer Humble but as i have a pi5 , the pi imager only gives flash option for ubuntu 24.04 and thus i am forced to go with ros2 jazzy. Would be glad if support for ros2 jazzy would be launched. My current options are using docker with ubuntu 22.04 and install humble in that OR should i install VirtualBox with ubuntu 22.04 in it?
Confused on which would be the better option.

@grassjelly
Copy link
Member

I would recommend using Docking using Humble branch. You can use the docker inside the project or you can use https://github.com/grassjelly/daisy - it comes with nice tooling for development.

@Alwynn03
Copy link
Author

Thank you! Amazed by your quick response! I am a noobie on the docker concept, so could you explain how to use the docker in the project? I checked out daisy and understood that i can setup humble but how do i proceed with linorobot package?

@hippo5329
Copy link
Contributor

hippo5329 commented Feb 12, 2025

You may use Jazzy on Pi 5. The RMW on Jazzy is improved a lot. Follow the wiki.

https://github.com/hippo5329/micro_ros_arduino_examples_platformio/wiki

https://github.com/hippo5329/linorobot2_hardware/wiki

You may install linorobot2 with

cd ~
mkdir -p linorobot2_ws/src
cd linorobot2_ws/src
git clone https://github.com/Slamtec/sllidar_ros2.git
git clone https://github.com/linorobot/linorobot2.git
cd linorobot2
touch linorobot2_gazebo/COLCON_IGNORE
git remote add hippo https://github.com/hippo5329/linorobot2.git
git fetch hippo
cd ../..
rosdep install --from-paths src --ignore-src -r -y
colcon build --symlink-install

Then add the env to .bashrc

export LINOROBOT2_BASE=2wd
export LINOROBOT2_LASER_SENSOR=a1
export LINOROBOT2_DEPTH_SENSOR=
source $HOME/linorobot2_ws/install/setup.bash

This assume micro-ros agent installed in ~/uros_ws as in my wiki. You may later check out my branch to test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants