linorobot2 icon indicating copy to clipboard operation
linorobot2 copied to clipboard

Install Robot fails w/ humble

Open JHPHELAN opened this issue 2 years ago • 6 comments

Following https://github.com/linorobot/linorobot2#installation:

ubuntu@LINOROBOT:/tmp$ echo $ROS_DISTRO
humble
ubuntu@LINOROBOT:~$ echo $(rosversion -d)
humble
ubuntu@LINOROBOT:~$ source /opt/ros/humble/setup.bash
ubuntu@LINOROBOT:~$ cd /tmp
ubuntu@LINOROBOT:/tmp$ wget https://raw.githubusercontent.com/linorobot/linorobot2/${ROS_DISTRO}/install_linorobot2.bash
--2022-07-09 18:10:16--  https://raw.githubusercontent.com/linorobot/linorobot2/humble/install_linorobot2.bash
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8000::154, 2606:50c0:8001::154, 2606:50c0:8002::154, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8000::154|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-07-09 18:10:16 ERROR 404: Not Found.

ubuntu@LINOROBOT:/tmp$ wget https://raw.githubusercontent.com/linorobot/linorobot2/humble/install_linorobot2.bash
--2022-07-09 18:18:25--  https://raw.githubusercontent.com/linorobot/linorobot2/humble/install_linorobot2.bash
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8001::154, 2606:50c0:8003::154, 2606:50c0:8002::154, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8001::154|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-07-09 18:18:25 ERROR 404: Not Found.

JHPHELAN avatar Jul 09 '22 23:07 JHPHELAN

hey @JHPHELAN . Just created a humble branch. Could you try again?

grassjelly avatar Jul 10 '22 03:07 grassjelly

@grassjelly Thanks for the very prompt responses! Downloaded ok. Then ubuntu@LINOROBOT:~$ bash install_linorobot2.bash 4wd realsense realsense

Summary: 1 package finished [7.98s] EE === ./uros/micro-ROS-Agent (git) === Could not determine ref type of version: fatal: unable to access 'https://github.com/micro-ROS/micro-ROS-Agent.git/': Failed to connect to github.com port 443 after 27 ms: Network is unreachable === ./uros/micro_ros_msgs (git) === Could not determine ref type of version: fatal: unable to access 'https://github.com/micro-ROS/micro_ros_msgs.git/': Failed to connect to github.com port 443 after 27 ms: Network is unreachable [ros2run]: Process exited with failure 1

Does this have anything to do with the caveat about skipping micro-ROS keys when running rosdep install? Is micro-ROS necessary to this project?

Recalled earlier issue about doing source... so did

ubuntu@LINOROBOT:~$ source /opt/ros/humble/setup.bash
ubuntu@LINOROBOT:~$ bash install_linorobot2.bash 4wd realsense realsense

`You are installing linorobot2 on your robot computer.

===========SUMMARY============ ROBOT TYPE : 4wd LASER SENSOR : DEPTH SENSOR :

This installer will edit your ~/.bashrc. Create a linorobot2_ws on your /home/ubuntu directory. Install linorobot2 ROS2 dependencies. Install udev rules on /etc/udev/rules.d folder. Enter [y] to continue. y

INSTALLING NOW....

Starting >>> micro_ros_setup Finished <<< micro_ros_setup [0.79s]

Summary: 1 package finished [1.66s] Usage: grep [OPTION]... PATTERNS [FILE]... Try 'grep --help' for more information. Usage: grep [OPTION]... PATTERNS [FILE]... Try 'grep --help' for more information. fatal: destination path 'src/micro_ros_setup' already exists and is not an empty directory. ` so removed the directory, resourced, and tried again. Same github error.

JHPHELAN avatar Jul 10 '22 13:07 JHPHELAN

hey, sorry need to find bandwidth to take a look at this as ROS2 Humble is not currently supported yet.

grassjelly avatar Jul 18 '22 14:07 grassjelly

Any progress? Should I try again?

JHPHELAN avatar Jul 21 '22 21:07 JHPHELAN

Running: RPi4B 8GB / Ubuntu 22.04 Jammy Jellyfish / ROS2 Humble Hawksbill trying to be sure I did all the correct steps I did: `ubuntu@LINOROBOT:~$ rm -rf ~/linorobot2_ws/src/micro_ros_setup/

ubuntu@LINOROBOT:~/linorobot2_ws$ rosdep update && rosdep install --from-path src --ignore-src -y --skip-keys microxrcedds_agent --skip-keys micro_ros_agent

ubuntu@LINOROBOT:~/linorobot2_ws$ colcon build

ubuntu@LINOROBOT:~$ source /opt/ros/humble/setup.bash

ubuntu@LINOROBOT:~$ bash install_linorobot2.bash 4wd realsense realsense #All required rosdeps installed successfully Building micro-ROS Agent Package 'micro_ros_agent' specified with --packages-up-to was not found [ros2run]: Process exited with failure 1 ` I looked at the install_linorobot2.bash file but didn't see "--packages-up-to" anywhere. Otherwise it seems to be making progress

JHPHELAN avatar Jul 22 '22 02:07 JHPHELAN

hey I'm sorry for the delay. I'm waiting for a stable docker image (w/ VNC) for Humble then i can test the whole package. I'll post it here once the migration is ready.

grassjelly avatar Jul 24 '22 17:07 grassjelly

Is this what you need? https://github.com/osrf/docker_images/tree/master/ros/humble/ubuntu/jammy

samuk avatar Jan 16 '23 09:01 samuk