Giter Club home page Giter Club logo

Comments (4)

Miro001 avatar Miro001 commented on August 17, 2024

In the *.sh script you have to set CARTOCONF to the cartographer configuration directory (https://github.com/Miro001/Ouster-cartographer/tree/master/ouster_slam), not to a single configuration file.

This is because the cartographer requires several configuration files to launch.
CARTOCONF='.../src/ouster_slam/' #own path

from ouster-cartographer.

dlee640 avatar dlee640 commented on August 17, 2024

Hello, thank you again for your response.

I have actually left the sh file as is, which the CARTOCONF was set to CARTOCONF='.../src/ouster_slam_ws/' but I still get the error message below. Please check the last line, as it seems like the start up script has difficulty locating the /urdf/os_sensor.urdf file. Thank you.

slambox@slambox-NUC10i7FNH:~/ouster_slam_ws$ bash slam_launch.sh 
slam_launch.sh: line 2: ../devel/setup.bash: No such file or directory
... logging to /home/slambox/.ros/log/64215418-b985-11eb-950c-f8ac65d8d6d2/roslaunch-slambox-NUC10i7FNH-4410.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 "/opt/ros/melodic/lib/python2.7/dist-packages/roslaunch/__init__.py", line 332, in main
    p.start()
  File "/opt/ros/melodic/lib/python2.7/dist-packages/roslaunch/parent.py", line 289, in start
    self._start_infrastructure()
  File "/opt/ros/melodic/lib/python2.7/dist-packages/roslaunch/parent.py", line 238, in _start_infrastructure
    self._load_config()
  File "/opt/ros/melodic/lib/python2.7/dist-packages/roslaunch/parent.py", line 144, in _load_config
    roslaunch_strs=self.roslaunch_strs, verbose=self.verbose)
  File "/opt/ros/melodic/lib/python2.7/dist-packages/roslaunch/config.py", line 461, in load_config_default
    loader.load(f, config, argv=args, verbose=verbose)
  File "/opt/ros/melodic/lib/python2.7/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 "/opt/ros/melodic/lib/python2.7/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 "/opt/ros/melodic/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 679, in _recurse_load
    self._param_tag(tag, context, ros_config, verbose=verbose)
  File "/opt/ros/melodic/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 96, in call
    return f(*args, **kwds)
  File "/opt/ros/melodic/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 271, in _param_tag
    value = self.param_value(verbose, name, ptype, *vals)
  File "/opt/ros/melodic/lib/python2.7/dist-packages/roslaunch/loader.py", line 476, in param_value
    with open(textfile, 'r') as f:
IOError: [Errno 2] No such file or directory: u'.../src/ouster_slam_ws/urdf/os_sensor.urdf'

from ouster-cartographer.

dlee640 avatar dlee640 commented on August 17, 2024

Screenshot from 2021-05-20 12-12-54
Here is the directory screenshot from ~/ouster_slam_ws/ where I start the bash script.

from ouster-cartographer.

dlee640 avatar dlee640 commented on August 17, 2024

changing the ~/ notation to /home/USER/ solved this issue. Thank you.

from ouster-cartographer.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.