Ask Your Question
0

Autoware runtime manager error(command not found) in run

asked 2020-09-24 03:04:46 -0500

hiro2020 gravatar image

Hi all, I am trying to follow the rosbag file demo (https://gitlab.com/autowarefoundation...). When I tried roslaunch runtime_manager runtime_manager.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 runtime_manager runtime_manager.launch failed with /root/autoware.ai/install/runtime_manager/share/runtime_manager/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... 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
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-09-25 13:18:41 -0500

Josh Whitley gravatar image

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.

edit flag offensive delete link more

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.

hiro2020 gravatar image hiro2020  ( 2020-09-29 09:57:42 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-09-24 03:04:46 -0500

Seen: 39 times

Last updated: Sep 25