Robotics StackExchange | Archived questions

Autoware runtime manager error(command not found) in run

Hi all, I am trying to follow the rosbag file demo (https://gitlab.com/autowarefoundation/autoware.ai/autoware/-/wikis/ROSBAG-Demo). When I tried roslaunch runtimemanager runtimemanager.launch, I got an error due to command not found. Would you please give me an advice how I can fix this issue?

[Issue]
roslaunch runtimemanager runtimemanager.launch failed with /root/autoware.ai/install/runtimemanager/share/runtimemanager/scripts/run: line 53: --geometry=50x10+500+0: command not found

[Test environment]
Ubuntu20.04 but I used lxc container based on ubuntu18.04 image
ROS version: ROS Melodic (sudo apt install ros-melodic-desktop-full)
Autoware.ai version: 1.12.0 release (src build. I followed https://gitlab.com/autowarefoundation/autoware.ai/autoware/-/wikis/Source-Build and used compiled without CUDA option)
uname -r returns 5.4.0-48-generic

[command output]

root@autowaretest:~/autoware.ai# roslaunch runtime_manager runtime_manager.launch 
... logging to /root/.ros/log/1121705e-fe37-11ea-a362-00163e6d71a7/roslaunch-autowaretest-118388.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.

started roslaunch server http://autowaretest:44551/

SUMMARY
========

PARAMETERS
 * /rosdistro: melodic
 * /rosversion: 1.14.9

NODES
  /
    run (runtime_manager/run)

auto-starting new master
process[master]: started with pid [118398]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 1121705e-fe37-11ea-a362-00163e6d71a7
process[rosout-1]: started with pid [118409]
started core service [/rosout]
process[run-2]: started with pid [118412]
/root/autoware.ai/install/runtime_manager/share/runtime_manager/scripts/run: line 53: --geometry=50x10+500+0: command not found
[run-2] process has died [pid 118412, exit code 127, cmd /root/autoware.ai/install/runtime_manager/share/runtime_manager/scripts/run __name:=run __log:=/root/.ros/log/1121705e-fe37-11ea-a362-00163e6d71a7/run-2.log].
log file: /root/.ros/log/1121705e-fe37-11ea-a362-00163e6d71a7/run-2*.log

Asked by hiro2020 on 2020-09-24 03:04:46 UTC

Comments

Answers

The run script in runtime_manager currently assumes that you have at least one of the following installed in your Ubuntu environment:

  • mate-terminal
  • xfce4-terminal
  • lxterminal
  • konsole
  • gnome-terminal

If you do not have one of these installed, the command created by the run script will fail. Additionally, you should verify that you can run other GUI applications from your container with something like rviz.

I also recommend using the official Docker containers instead which can be found at https://hub.docker.com/u/autoware.

Asked by Josh Whitley on 2020-09-25 13:18:41 UTC

Comments

@Josh Whitley Thank you for your information. As you suggested, the reason I was having issue was due to the lack of gui support. I installed ubuntu18.04 and on my old laptop and I could get it working.

I do realize that there is an official Docker containers but I wanted to create snap version of Autoware.ai. For that purpose, I had to install on local machine. But I really appreciate your advice.

Asked by hiro2020 on 2020-09-29 09:57:42 UTC