leggedrobotics / elevation_mapping_cupy

Elevation Mapping on GPU.
MIT License
477 stars 105 forks source link

RLException occurs while running Basic Usage #73

Closed CYJ00 closed 5 months ago

CYJ00 commented 6 months ago

I'm using docker container you provide. My OS: Ubuntu 20.04 nvidia-smi Thu Dec 28 02:37:17 2023

+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.129.03             Driver Version: 535.129.03   CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 4080        Off | 00000000:01:00.0  On |                  N/A |
|  0%   36C    P8               4W / 320W |    527MiB / 16376MiB |      2%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
+---------------------------------------------------------------------------------------+

And simulation using turtlebot is alright. But when I run basic usage roslaunch elevation_mapping_cupy elevation_mapping_cupy.launch, this error occurs.

RLException: error loading <rosparam> tag: 
    file /home/usr/Documents/Elevation_ws/src/elevation_mapping_cupy/elevation_mapping_cupy/config/core/example_setup.yaml contains invalid YAML:
while parsing a block mapping
  in "<unicode string>", line 2, column 1:
    plugin_config_file: '$(rospack f ... 
    ^
expected <block end>, but found '<block mapping start>'
  in "<unicode string>", line 53, column 2:
     elevation_map_recordable:
     ^
XML is <rosparam command="load" file="$(find elevation_mapping_cupy)/config/core/example_setup.yaml"/>
The traceback for the exception was written to the log file

I tried again by replacing the path to the plugin_config_file with an absolute path, but the result is the same. How can I fix it?

mktk1117 commented 5 months ago

Thank for your comment! One indentation was wrong in the yaml file. I have fixed this bug. Please check #74 for detail.