roslaunch

 11- sudo apt install python3-roslaunch


mkdir ros_tesst_ws

mkdir ros_tesst_ws

mkdir src

cd src

catkin_create_pkg ros_robotics

haris@haris-HP-ProBook-6470b:~/ros_tesst_ws/src$ catkin_create_pkg ros_robotics
Created file ros_robotics/package.xml
Created file ros_robotics/CMakeLists.txt
Successfully created files in /home/haris/ros_tesst_ws/src/ros_robotics. Please adjust the values in package.xml.



cd ..

haris@haris-HP-ProBook-6470b:~/ros_tesst_ws/src$ 


sudo apt install catkin


haris@haris-HP-ProBook-6470b:~/ros_tesst_ws/src$
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws/src$ cd ~/ros_tesst_ws  # Navigate to your ROS workspace directory
catkin_make


haris@haris-HP-ProBook-6470b:~$ mkdir ros_tesst_ws
haris@haris-HP-ProBook-6470b:~$ cd ros_tesst_ws/
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws$ mkdir src
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws$ cd ssr
bash: cd: ssr: No such file or directory
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws$ cd src/
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws/src$ catin_create_pkg ros_robotics
Command 'catin_create_pkg' not found, did you mean:
  command 'catkin_create_pkg' from deb python3-catkin-pkg (0.4.24-2)
Try: sudo apt install <deb name>
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws/src$ catkin_create_pkg ros_robotics
Created file ros_robotics/package.xml
Created file ros_robotics/CMakeLists.txt
Successfully created files in /home/haris/ros_tesst_ws/src/ros_robotics. Please adjust the values in package.xml.
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws/src$ ^C
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws/src$ ^C
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws/src$ cd ..^C
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws/src$ catkin_make
Command 'catkin_make' not found, but can be installed with:
sudo apt install catkin
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws/src$ sudo apt install catkin
[sudo] password for haris:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  cmake cmake-data cmake-extras dh-elpa-helper libjsoncpp25 librhash0
  pkg-config python3-setuptools ros-environment
Suggested packages:
  cmake-doc ninja-build cmake-format googletest libgtest-dev
  python-setuptools-doc
The following NEW packages will be installed:
  catkin cmake cmake-data cmake-extras dh-elpa-helper libjsoncpp25 librhash0
  pkg-config python3-setuptools ros-environment
0 upgraded, 10 newly installed, 0 to remove and 18 not upgraded.
Need to get 7,668 kB of archives.
After this operation, 34.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 libjsoncpp25 amd64 1.9.5-3 [80.0 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 librhash0 amd64 1.4.2-1ubuntu1 [125 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 dh-elpa-helper all 2.0.9ubuntu1 [7,610 B]
Get:4 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 cmake-data all 3.22.1-1ubuntu1.22.04.1 [1,913 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 cmake amd64 3.22.1-1ubuntu1.22.04.1 [5,013 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 pkg-config amd64 0.29.2-1ubuntu3 [48.2 kB]
Get:7 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-setuptools all 59.6.0-1.2ubuntu0.22.04.1 [339 kB]
Get:8 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 ros-environment all 1.3.2-2 [6,200 B]
Get:9 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 cmake-extras all 1.6-1 [55.7 kB]
Get:10 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 catkin all 0.8.10-7 [80.8 kB]
Fetched 7,668 kB in 9s (874 kB/s)                                              
Selecting previously unselected package libjsoncpp25:amd64.
(Reading database ... 207048 files and directories currently installed.)
Preparing to unpack .../0-libjsoncpp25_1.9.5-3_amd64.deb ...
Unpacking libjsoncpp25:amd64 (1.9.5-3) ...
Selecting previously unselected package librhash0:amd64.
Preparing to unpack .../1-librhash0_1.4.2-1ubuntu1_amd64.deb ...
Unpacking librhash0:amd64 (1.4.2-1ubuntu1) ...
Selecting previously unselected package dh-elpa-helper.
Preparing to unpack .../2-dh-elpa-helper_2.0.9ubuntu1_all.deb ...
Unpacking dh-elpa-helper (2.0.9ubuntu1) ...
Selecting previously unselected package cmake-data.
Preparing to unpack .../3-cmake-data_3.22.1-1ubuntu1.22.04.1_all.deb ...
Unpacking cmake-data (3.22.1-1ubuntu1.22.04.1) ...
Selecting previously unselected package cmake.
Preparing to unpack .../4-cmake_3.22.1-1ubuntu1.22.04.1_amd64.deb ...
Unpacking cmake (3.22.1-1ubuntu1.22.04.1) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../5-pkg-config_0.29.2-1ubuntu3_amd64.deb ...
Unpacking pkg-config (0.29.2-1ubuntu3) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../6-python3-setuptools_59.6.0-1.2ubuntu0.22.04.1_all.deb .
..
Unpacking python3-setuptools (59.6.0-1.2ubuntu0.22.04.1) ...
Selecting previously unselected package ros-environment.
Preparing to unpack .../7-ros-environment_1.3.2-2_all.deb ...
Unpacking ros-environment (1.3.2-2) ...
Selecting previously unselected package cmake-extras.
Preparing to unpack .../8-cmake-extras_1.6-1_all.deb ...
Unpacking cmake-extras (1.6-1) ...
Selecting previously unselected package catkin.
Preparing to unpack .../9-catkin_0.8.10-7_all.deb ...
Unpacking catkin (0.8.10-7) ...
Setting up python3-setuptools (59.6.0-1.2ubuntu0.22.04.1) ...
Setting up dh-elpa-helper (2.0.9ubuntu1) ...
Setting up libjsoncpp25:amd64 (1.9.5-3) ...
Setting up pkg-config (0.29.2-1ubuntu3) ...
Setting up librhash0:amd64 (1.4.2-1ubuntu1) ...
Setting up cmake-data (3.22.1-1ubuntu1.22.04.1) ...
Setting up ros-environment (1.3.2-2) ...
Setting up cmake (3.22.1-1ubuntu1.22.04.1) ...
Setting up cmake-extras (1.6-1) ...
Setting up catkin (0.8.10-7) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws/src$ catkin_make
Base path: /home/haris/ros_tesst_ws/src
The specified source space "/home/haris/ros_tesst_ws/src/src" does not exist
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws/src$
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws/src$ cd ~/ros_tesst_ws  # Navigate to your ROS workspace directory
catkin_make
Base path: /home/haris/ros_tesst_ws
Source space: /home/haris/ros_tesst_ws/src
Build space: /home/haris/ros_tesst_ws/build
Devel space: /home/haris/ros_tesst_ws/devel
Install space: /home/haris/ros_tesst_ws/install
Creating symlink "/home/haris/ros_tesst_ws/src/CMakeLists.txt" pointing to "/usr/share/catkin/cmake/toplevel.cmake"
####
#### Running command: "cmake /home/haris/ros_tesst_ws/src -DCATKIN_DEVEL_PREFIX=/home/haris/ros_tesst_ws/devel -DCMAKE_INSTALL_PREFIX=/home/haris/ros_tesst_ws/install -G Unix Makefiles" in "/home/haris/ros_tesst_ws/build"
####
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using CATKIN_DEVEL_PREFIX: /home/haris/ros_tesst_ws/devel
-- Using CMAKE_PREFIX_PATH:
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3")
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/haris/ros_tesst_ws/build/test_results
-- GTest is not available. Please install libgtest-dev to enable tests involving GTest.
-- GMock is not available. Please install libgmock-dev to enable tests involving GMock.
-- nosetests not found, Python tests can not be run (try installing package 'python3-nose')
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- catkin 0.8.10
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 1 packages in topological order:
-- ~~  - ros_robotics
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'ros_robotics'
-- ==> add_subdirectory(ros_robotics)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/haris/ros_tesst_ws/build
####
#### Running command: "make -j4 -l4" in "/home/haris/ros_tesst_ws/build"
####
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws$ cd src
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws/src$ ls
CMakeLists.txt  ros_robotics
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws/src$ cd ros_robotics/
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws/src/ros_robotics$ mkdir urdf
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws/src/ros_robotics$ cd urdf/
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws/src/ros_robotics/urdf$ cd ..
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws/src/ros_robotics$ ls
CMakeLists.txt  package.xml  urdf
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws/src/ros_robotics$ mkdir launch
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws/src/ros_robotics$ cd launch/
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws/src/ros_robotics/launch$ gedit ddrobot_rviz.launch

^Z
[1]+  Stopped                 gedit ddrobot_rviz.launch
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws/src/ros_robotics/launch$ cd ..
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws/src/ros_robotics$ cd ..
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws/src$ cd ..
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws$ catkin_make
Base path: /home/haris/ros_tesst_ws
Source space: /home/haris/ros_tesst_ws/src
Build space: /home/haris/ros_tesst_ws/build
Devel space: /home/haris/ros_tesst_ws/devel
Install space: /home/haris/ros_tesst_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/haris/ros_tesst_ws/build"
####
####
#### Running command: "make -j4 -l4" in "/home/haris/ros_tesst_ws/build"
####
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws$ cd ..
haris@haris-HP-ProBook-6470b:~$ source ros_test_ws/devel/setup.bash
bash: ros_test_ws/devel/setup.bash: No such file or directory
haris@haris-HP-ProBook-6470b:~$ source ros_tesst_ws/devel/setup.bash
haris@haris-HP-ProBook-6470b:~$ cd ros_tesst_ws/
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws$ source ros_tesst_ws/devel/setup.bash
bash: ros_tesst_ws/devel/setup.bash: No such file or directory
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws$ source ros_tesst_ws/devel/setup.bash
bash: ros_tesst_ws/devel/setup.bash: No such file or directory
haris@haris-HP-ProBook-6470b:~/ros_tesst_ws$ cd ..
haris@haris-HP-ProBook-6470b:~$ source ros_tesst_ws/devel/setup.bash
haris@haris-HP-ProBook-6470b:~$ roslaunch ros_robotics ddrobot_rviz.launch model=dd_robot.urdf
Usage: roslaunch [options] [package] <filename> [arg_name:=value...]
       roslaunch [options] <filename> [<filename>...] [arg_name:=value...]

If <filename> is a single dash ('-'), launch XML is read from standard input.

roslaunch: error: The following input files do not exist: model=dd_robot.urdf
haris@haris-HP-ProBook-6470b:~$ roslaunch ros_robotics ddrobot_rviz.launch model:=dd_robot.urdf
... logging to /home/haris/.ros/log/de4a6d08-550d-11ee-a836-654219c16701/roslaunch-haris-HP-ProBook-6470b-13193.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 roslaunch XML syntax: mismatched tag: line 17, column 4
The traceback for the exception was written to the log file
haris@haris-HP-ProBook-6470b:~$ roslaunch ros_robotics ddrobot_rviz.launch model:=dd_robot.urdf
... logging to /home/haris/.ros/log/de4a6d08-550d-11ee-a836-654219c16701/roslaunch-haris-HP-ProBook-6470b-13394.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.

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/roslaunch/__init__.py", line 347, in main
    p.start()
  File "/usr/lib/python3/dist-packages/roslaunch/parent.py", line 305, in start
    self._start_infrastructure()
  File "/usr/lib/python3/dist-packages/roslaunch/parent.py", line 254, in _start_infrastructure
    self._load_config()
  File "/usr/lib/python3/dist-packages/roslaunch/parent.py", line 156, in _load_config
    self.config = roslaunch.config.load_config_default(self.roslaunch_files, self.port,
  File "/usr/lib/python3/dist-packages/roslaunch/config.py", line 461, in load_config_default
    loader.load(f, config, argv=args, verbose=verbose)
  File "/usr/lib/python3/dist-packages/roslaunch/xmlloader.py", line 761, in load
    self._load_launch(launch, ros_config, is_core=core, filename=filename, argv=argv, verbose=verbose)
  File "/usr/lib/python3/dist-packages/roslaunch/xmlloader.py", line 733, in _load_launch
    self._recurse_load(ros_config, launch.childNodes, self.root_context, None, is_core, verbose)
  File "/usr/lib/python3/dist-packages/roslaunch/xmlloader.py", line 679, in _recurse_load
    self._param_tag(tag, context, ros_config, verbose=verbose)
  File "/usr/lib/python3/dist-packages/roslaunch/xmlloader.py", line 96, in call
    return f(*args, **kwds)
  File "/usr/lib/python3/dist-packages/roslaunch/xmlloader.py", line 271, in _param_tag
    value = self.param_value(verbose, name, ptype, *vals)
  File "/usr/lib/python3/dist-packages/roslaunch/loader.py", line 478, in param_value
    with open(textfile, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/haris/ros_tesst_ws/src/ros_robotics/urdf/dd_robot.urdf'
[1]+  Killed                  gedit ddrobot_rviz.launch  (wd: ~/ros_tesst_ws/src/ros_robotics/launch)
(wd now: ~)
haris@haris-HP-ProBook-6470b:~$
haris@haris-HP-ProBook-6470b:~$ roslaunch ros_robotics ddrobot_rviz.launch model:=dd_robot.urdf
... logging to /home/haris/.ros/log/de4a6d08-550d-11ee-a836-654219c16701/roslaunch-haris-HP-ProBook-6470b-13494.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.

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/roslaunch/__init__.py", line 347, in main
    p.start()
  File "/usr/lib/python3/dist-packages/roslaunch/parent.py", line 305, in start
    self._start_infrastructure()
  File "/usr/lib/python3/dist-packages/roslaunch/parent.py", line 254, in _start_infrastructure
    self._load_config()
  File "/usr/lib/python3/dist-packages/roslaunch/parent.py", line 156, in _load_config
    self.config = roslaunch.config.load_config_default(self.roslaunch_files, self.port,
  File "/usr/lib/python3/dist-packages/roslaunch/config.py", line 461, in load_config_default
    loader.load(f, config, argv=args, verbose=verbose)
  File "/usr/lib/python3/dist-packages/roslaunch/xmlloader.py", line 761, in load
    self._load_launch(launch, ros_config, is_core=core, filename=filename, argv=argv, verbose=verbose)
  File "/usr/lib/python3/dist-packages/roslaunch/xmlloader.py", line 733, in _load_launch
    self._recurse_load(ros_config, launch.childNodes, self.root_context, None, is_core, verbose)
  File "/usr/lib/python3/dist-packages/roslaunch/xmlloader.py", line 679, in _recurse_load
    self._param_tag(tag, context, ros_config, verbose=verbose)
  File "/usr/lib/python3/dist-packages/roslaunch/xmlloader.py", line 96, in call
    return f(*args, **kwds)
  File "/usr/lib/python3/dist-packages/roslaunch/xmlloader.py", line 271, in _param_tag
    value = self.param_value(verbose, name, ptype, *vals)
  File "/usr/lib/python3/dist-packages/roslaunch/loader.py", line 478, in param_value
    with open(textfile, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/haris/ros_tesst_ws/src/ros_robotics/urdf/dd_robot.urdf'
haris@haris-HP-ProBook-6470b:~$
haris@haris-HP-ProBook-6470b:~$ roslaunch ros_robotics ddrobot_rviz.launch model:=dd_robot.urdf
... logging to /home/haris/.ros/log/de4a6d08-550d-11ee-a836-654219c16701/roslaunch-haris-HP-ProBook-6470b-13506.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.

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/roslaunch/__init__.py", line 347, in main
    p.start()
  File "/usr/lib/python3/dist-packages/roslaunch/parent.py", line 305, in start
    self._start_infrastructure()
  File "/usr/lib/python3/dist-packages/roslaunch/parent.py", line 254, in _start_infrastructure
    self._load_config()
  File "/usr/lib/python3/dist-packages/roslaunch/parent.py", line 156, in _load_config
    self.config = roslaunch.config.load_config_default(self.roslaunch_files, self.port,
  File "/usr/lib/python3/dist-packages/roslaunch/config.py", line 461, in load_config_default
    loader.load(f, config, argv=args, verbose=verbose)
  File "/usr/lib/python3/dist-packages/roslaunch/xmlloader.py", line 761, in load
    self._load_launch(launch, ros_config, is_core=core, filename=filename, argv=argv, verbose=verbose)
  File "/usr/lib/python3/dist-packages/roslaunch/xmlloader.py", line 733, in _load_launch
    self._recurse_load(ros_config, launch.childNodes, self.root_context, None, is_core, verbose)
  File "/usr/lib/python3/dist-packages/roslaunch/xmlloader.py", line 679, in _recurse_load
    self._param_tag(tag, context, ros_config, verbose=verbose)
  File "/usr/lib/python3/dist-packages/roslaunch/xmlloader.py", line 96, in call
    return f(*args, **kwds)
  File "/usr/lib/python3/dist-packages/roslaunch/xmlloader.py", line 271, in _param_tag
    value = self.param_value(verbose, name, ptype, *vals)
  File "/usr/lib/python3/dist-packages/roslaunch/loader.py", line 478, in param_value
    with open(textfile, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/haris/ros_tesst_ws/src/ros_robotics/urdf/dd_robot.urdf'
haris@haris-HP-ProBook-6470b:~$
haris@haris-HP-ProBook-6470b:~$ roslaunch ros_robotics ddrobot_rviz.launch model:=dd_robot.urdf
... logging to /home/haris/.ros/log/de4a6d08-550d-11ee-a836-654219c16701/roslaunch-haris-HP-ProBook-6470b-13591.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.

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/roslaunch/__init__.py", line 347, in main
    p.start()
  File "/usr/lib/python3/dist-packages/roslaunch/parent.py", line 305, in start
    self._start_infrastructure()
  File "/usr/lib/python3/dist-packages/roslaunch/parent.py", line 254, in _start_infrastructure
    self._load_config()
  File "/usr/lib/python3/dist-packages/roslaunch/parent.py", line 156, in _load_config
    self.config = roslaunch.config.load_config_default(self.roslaunch_files, self.port,
  File "/usr/lib/python3/dist-packages/roslaunch/config.py", line 461, in load_config_default
    loader.load(f, config, argv=args, verbose=verbose)
  File "/usr/lib/python3/dist-packages/roslaunch/xmlloader.py", line 761, in load
    self._load_launch(launch, ros_config, is_core=core, filename=filename, argv=argv, verbose=verbose)
  File "/usr/lib/python3/dist-packages/roslaunch/xmlloader.py", line 733, in _load_launch
    self._recurse_load(ros_config, launch.childNodes, self.root_context, None, is_core, verbose)
  File "/usr/lib/python3/dist-packages/roslaunch/xmlloader.py", line 679, in _recurse_load
    self._param_tag(tag, context, ros_config, verbose=verbose)
  File "/usr/lib/python3/dist-packages/roslaunch/xmlloader.py", line 96, in call
    return f(*args, **kwds)
  File "/usr/lib/python3/dist-packages/roslaunch/xmlloader.py", line 271, in _param_tag
    value = self.param_value(verbose, name, ptype, *vals)
  File "/usr/lib/python3/dist-packages/roslaunch/loader.py", line 478, in param_value
    with open(textfile, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/haris/ros_tesst_ws/src/ros_robotics/urdf/dd_robot.urdf.urdf'
haris@haris-HP-ProBook-6470b:~$
haris@haris-HP-ProBook-6470b:~$ roslaunch ros_robotics ddrobot_rviz.launch model:=dd_robot.urdf
... logging to /home/haris/.ros/log/de4a6d08-550d-11ee-a836-654219c16701/roslaunch-haris-HP-ProBook-6470b-13686.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.

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/roslaunch/__init__.py", line 347, in main
    p.start()
  File "/usr/lib/python3/dist-packages/roslaunch/parent.py", line 305, in start
    self._start_infrastructure()
  File "/usr/lib/python3/dist-packages/roslaunch/parent.py", line 254, in _start_infrastructure
    self._load_config()
  File "/usr/lib/python3/dist-packages/roslaunch/parent.py", line 156, in _load_config
    self.config = roslaunch.config.load_config_default(self.roslaunch_files, self.port,
  File "/usr/lib/python3/dist-packages/roslaunch/config.py", line 461, in load_config_default
    loader.load(f, config, argv=args, verbose=verbose)
  File "/usr/lib/python3/dist-packages/roslaunch/xmlloader.py", line 761, in load
    self._load_launch(launch, ros_config, is_core=core, filename=filename, argv=argv, verbose=verbose)
  File "/usr/lib/python3/dist-packages/roslaunch/xmlloader.py", line 733, in _load_launch
    self._recurse_load(ros_config, launch.childNodes, self.root_context, None, is_core, verbose)
  File "/usr/lib/python3/dist-packages/roslaunch/xmlloader.py", line 679, in _recurse_load
    self._param_tag(tag, context, ros_config, verbose=verbose)
  File "/usr/lib/python3/dist-packages/roslaunch/xmlloader.py", line 96, in call
    return f(*args, **kwds)
  File "/usr/lib/python3/dist-packages/roslaunch/xmlloader.py", line 271, in _param_tag
    value = self.param_value(verbose, name, ptype, *vals)
  File "/usr/lib/python3/dist-packages/roslaunch/loader.py", line 478, in param_value
    with open(textfile, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/haris/ros_tesst_ws/src/ros_robotics/urdf/dd_robot.urdf.urdf'
haris@haris-HP-ProBook-6470b:~$
haris@haris-HP-ProBook-6470b:~$ roslaunch ros_robotics ddrobot_rviz.launch model:=dd_robot.urdf
RLException: [ddrobot_rviz.launch] is neither a launch file in package [ros_robotics] nor is [ros_robotics] a launch file name
The traceback for the exception was written to the log file
haris@haris-HP-ProBook-6470b:~$ roslaunch ros_robotics ddrobot_rviz.launch model:=dd_robot.urdf
... logging to /home/haris/.ros/log/de4a6d08-550d-11ee-a836-654219c16701/roslaunch-haris-HP-ProBook-6470b-13815.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.

Resource not found: xacro
ROS path [0]=/home/haris/ros_tesst_ws/src
ROS path [1]=/usr/share
The traceback for the exception was written to the log file
haris@haris-HP-ProBook-6470b:~$ sudo apt install ros-$ROS_DISTRO-xacro
[sudo] password for haris:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package ros-Debian-xacro
haris@haris-HP-ProBook-6470b:~$ sudo apt install ros-noetic-xacro
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package ros-noetic-xacro
haris@haris-HP-ProBook-6470b:~$ roslaunch ros_robotics ddrobot_rviz.launch model:=dd_robot.urdf
... logging to /home/haris/.ros/log/de4a6d08-550d-11ee-a836-654219c16701/roslaunch-haris-HP-ProBook-6470b-13866.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.

Resource not found: xacro
ROS path [0]=/home/haris/ros_tesst_ws/src
ROS path [1]=/usr/share
The traceback for the exception was written to the log file
haris@haris-HP-ProBook-6470b:~$ pip install catkin_pkg
pip install rospkg
pip install empy
pip install xacro
Command 'pip' not found, but can be installed with:
sudo apt install python3-pip
Command 'pip' not found, but can be installed with:
sudo apt install python3-pip
Command 'pip' not found, but can be installed with:
sudo apt install python3-pip
Command 'pip' not found, but can be installed with:
sudo apt install python3-pip
haris@haris-HP-ProBook-6470b:~$ pip install catkin_pkg
pip install rospkg
pip install empy
pip install xacro
Command 'pip' not found, but can be installed with:
sudo apt install python3-pip
Command 'pip' not found, but can be installed with:
sudo apt install python3-pip
Command 'pip' not found, but can be installed with:
sudo apt install python3-pip
Command 'pip' not found, but can be installed with:
sudo apt install python3-pip
haris@haris-HP-ProBook-6470b:~$ roslaunch ros_robotics ddrobot_rviz.launch model:=dd_robot.urdf
... logging to /home/haris/.ros/log/de4a6d08-550d-11ee-a836-654219c16701/roslaunch-haris-HP-ProBook-6470b-14118.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.

Resource not found: xacro
ROS path [0]=/home/haris/ros_tesst_ws/src
ROS path [1]=/usr/share
The traceback for the exception was written to the log file
haris@haris-HP-ProBook-6470b:~$ source ~/ros_tesst_ws/devel/setup.bash
haris@haris-HP-ProBook-6470b:~$ rospack list
Command 'rospack' not found, but can be installed with:
sudo apt install rospack-tools
haris@haris-HP-ProBook-6470b:~$ sudo apt install rospack-tools
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libboost-program-options1.74.0 librospack0d libtinyxml2-9 python3-rosdep2
  python3-rosdistro
The following NEW packages will be installed:
  libboost-program-options1.74.0 librospack0d libtinyxml2-9 python3-rosdep2
  python3-rosdistro rospack-tools
0 upgraded, 6 newly installed, 0 to remove and 27 not upgraded.
Need to get 534 kB of archives.
After this operation, 3,453 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 libboost-program-options1.74.0 amd64 1.74.0-14ubuntu3 [311 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 libtinyxml2-9 amd64 9.0.0+dfsg-3 [32.5 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 librospack0d amd64 2.6.2-7build2 [90.8 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 python3-rosdistro all 0.8.3-2 [35.9 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 python3-rosdep2 all 0.21.0-2 [58.7 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 rospack-tools amd64 2.6.2-7build2 [5,086 B]
Fetched 534 kB in 6s (90.9 kB/s)         
Selecting previously unselected package libboost-program-options1.74.0:amd64.
(Reading database ... 210539 files and directories currently installed.)
Preparing to unpack .../0-libboost-program-options1.74.0_1.74.0-14ubuntu3_amd64.
deb ...
Unpacking libboost-program-options1.74.0:amd64 (1.74.0-14ubuntu3) ...
Selecting previously unselected package libtinyxml2-9:amd64.
Preparing to unpack .../1-libtinyxml2-9_9.0.0+dfsg-3_amd64.deb ...
Unpacking libtinyxml2-9:amd64 (9.0.0+dfsg-3) ...
Selecting previously unselected package librospack0d:amd64.
Preparing to unpack .../2-librospack0d_2.6.2-7build2_amd64.deb ...
Unpacking librospack0d:amd64 (2.6.2-7build2) ...
Selecting previously unselected package python3-rosdistro.
Preparing to unpack .../3-python3-rosdistro_0.8.3-2_all.deb ...
Unpacking python3-rosdistro (0.8.3-2) ...
Selecting previously unselected package python3-rosdep2.
Preparing to unpack .../4-python3-rosdep2_0.21.0-2_all.deb ...
Unpacking python3-rosdep2 (0.21.0-2) ...
Selecting previously unselected package rospack-tools.
Preparing to unpack .../5-rospack-tools_2.6.2-7build2_amd64.deb ...
Unpacking rospack-tools (2.6.2-7build2) ...
Setting up libboost-program-options1.74.0:amd64 (1.74.0-14ubuntu3) ...
Setting up libtinyxml2-9:amd64 (9.0.0+dfsg-3) ...
Setting up python3-rosdistro (0.8.3-2) ...
Setting up librospack0d:amd64 (2.6.2-7build2) ...
Setting up rospack-tools (2.6.2-7build2) ...
Setting up python3-rosdep2 (0.21.0-2) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
haris@haris-HP-ProBook-6470b:~$ rospack list
catkin /usr/share/catkin
genmsg /usr/share/genmsg
genpy /usr/share/genpy
ros_environment /usr/share/ros_environment
ros_robotics /home/haris/ros_tesst_ws/src/ros_robotics
rosclean /usr/share/rosclean
rosgraph /usr/share/rosgraph
roslaunch /usr/share/roslaunch
rosmaster /usr/share/rosmaster
rosout /usr/share/rosout
rosparam /usr/share/rosparam
haris@haris-HP-ProBook-6470b:~$ source /opt/ros/$ROS_DISTRO/setup.bash
bash: /opt/ros/Debian/setup.bash: No such file or directory
haris@haris-HP-ProBook-6470b:~$ source /opt/ros/$ROS_DISTRO/setup.bash
bash: /opt/ros/Debian/setup.bash: No such file or directory
haris@haris-HP-ProBook-6470b:~$ roslaunch ros_robotics ddrobot_rviz.launch model:=dd_robot.urdf
... logging to /home/haris/.ros/log/de4a6d08-550d-11ee-a836-654219c16701/roslaunch-haris-HP-ProBook-6470b-14407.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.

Resource not found: xacro
ROS path [0]=/home/haris/ros_tesst_ws/src
ROS path [1]=/usr/share
The traceback for the exception was written to the log file
haris@haris-HP-ProBook-6470b:~$ roslaunch ros_robotics ddrobot_rviz.launch model:=dd_robot.urdf
RLException: [ddrobot_rviz.launch] is neither a launch file in package [ros_robotics] nor is [ros_robotics] a launch file name
The traceback for the exception was written to the log file
haris@haris-HP-ProBook-6470b:~$ roslaunch ros_robotics ddrobot_rviz.launch model:=dd_robot.urdf
RLException: [ddrobot_rviz.launch] is neither a launch file in package [ros_robotics] nor is [ros_robotics] a launch file name
The traceback for the exception was written to the log file
haris@haris-HP-ProBook-6470b:~$ roslaunch ros_robotics ddrobot_rviz.launch model:=dd_robot.urdf
RLException: [ddrobot_rviz.launch] is neither a launch file in package [ros_robotics] nor is [ros_robotics] a launch file name
The traceback for the exception was written to the log file
haris@haris-HP-ProBook-6470b:~$ roslaunch ros_robotics ddrobot_rviz.launch model:=dd_robot.urdf
... logging to /home/haris/.ros/log/de4a6d08-550d-11ee-a836-654219c16701/roslaunch-haris-HP-ProBook-6470b-14466.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.

Resource not found: xacro
ROS path [0]=/home/haris/ros_tesst_ws/src
ROS path [1]=/usr/share
The traceback for the exception was written to the log file
haris@haris-HP-ProBook-6470b:~$ roslaunch ros_robotics ddrobot_rviz.launch model:=dd_robot.urdf
... logging to /home/haris/.ros/log/de4a6d08-550d-11ee-a836-654219c16701/roslaunch-haris-HP-ProBook-6470b-14474.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.

Resource not found: xacro
ROS path [0]=/home/haris/ros_tesst_ws/src
ROS path [1]=/usr/share
The traceback for the exception was written to the log file
haris@haris-HP-ProBook-6470b:~$ rospack list
catkin /usr/share/catkin
genmsg /usr/share/genmsg
genpy /usr/share/genpy
ros_environment /usr/share/ros_environment
ros_robotics /home/haris/ros_tesst_ws/src/ros_robotics
rosclean /usr/share/rosclean
rosgraph /usr/share/rosgraph
roslaunch /usr/share/roslaunch
rosmaster /usr/share/rosmaster
rosout /usr/share/rosout
rosparam /usr/share/rosparam
haris@haris-HP-ProBook-6470b:~$


Post a Comment

Previous Post Next Post