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

How to install ROS on Debian 11.2?

asked 2022-03-24 02:38:25 -0500

IcenDy gravatar image

updated 2022-03-25 04:54:53 -0500

gvdhoorn gravatar image

ROS offical tutorail only provides Neotic for Debian 10, and I can't build it from the source code(because of some dependencies such as rviz and gazebo). Then I install ros-deskop-full-dev and gazebo, rosmaster, rviz can work normally. However, I can't use roscore. The terminal output is:

debian:$ roscore
... logging to /home/thu440/.ros/log/e64f31e8-ab43-11ec-9410-bf07499a81d3/roslaunch-debian-30589.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

RLException: Invalid <param> tag: Cannot load command parameter [rosversion]: command [['rosversion', 'roslaunch']] returned with code [1]. 

Param xml is <param name="rosversion" command="rosversion roslaunch"/>
The traceback for the exception was written to the log file
edit retag flag offensive close merge delete

Comments

Just a comment:

Then I install ros-deskop-full-dev [..]

it's likely those are wiki/UpstreamPackages. If you haven't, please read that page and understand the potential consequences.

gvdhoorn gravatar image gvdhoorn  ( 2022-03-25 04:55:50 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-03-24 15:39:23 -0500

Mike Scheutzow gravatar image

If you are new to ros, my advice is to install the OS that ros noetic is built and tested for: ubuntu 20.04. You will make heavy use of the ubuntu apt package manager if you do anything non-trivial with ros.

It is theoretically possible to use a different OS, but you're going to have a more difficult time making it work.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2022-03-24 02:38:25 -0500

Seen: 577 times

Last updated: Mar 25 '22