osrf / subt

This repostory contains software for the virtual track of the DARPA SubT Challenge. Within this repository you will find Gazebo simulation assets, ROS interfaces, support scripts and plugins, and documentation needed to compete in the SubT Virtual Challenge.
Other
309 stars 97 forks source link

Having trouble while running the subt_testbed #291

Closed osrf-migration closed 4 years ago

osrf-migration commented 4 years ago

Original report (archived issue) by baila (Bitbucket: baila).


Hi all,

I am trying to run the urban circuit simulation via below command, while getting the error.

baila@baila:~/subt_testbed$ ./run.bash osrf/subt-virtual-testbed tunnel_circuit_practice.ign worldName:=tunnel_circuit_practice_01 robotName1:=X1 robotConfig1:=X1_SENSOR_CONFIG_1
docker: Error response from daemon: OCI runtime create failed: container_linux.go:346: starting container process caused "exec: "tunnel_circuit_practice.ign": executable file not found in $PATH": unknown.
baila@baila:~/subt_testbed$

Any clue what to do here? What I did different was, I saved the image on different computer(due to network issues in my development setup) and imported on this machine. But after importing, while trying to run, got this error.

Any help other than doing this from beginning for my development setup?

osrf-migration commented 4 years ago

Original comment by Alfredo Bencomo (Bitbucket: bencomo).


Can you run this command and post the output here?

docker images | grep subt_sim_entry

osrf-migration commented 4 years ago

Original comment by Alfredo Bencomo (Bitbucket: bencomo).


BTW, you mentioned above that you are trying to run the urban circuit , however, you command is for the former tunnel circuit

Therefore, you need to use the command below to run urban circuit worlds.

./run.bash osrf/subt-virtual-testbed urban_circuit.ign worldName:=urban_circuit_practice_01 robotName1:=X1 robotConfig1:=X1_SENSOR_CONFIG_1

osrf-migration commented 4 years ago

Original comment by baila (Bitbucket: baila).


Hi Alfredo Bencomo (bencomo) , please find the output below.

baila@baila:~/subt_testbed$ docker images | grep subt_sim_entry
baila@baila:~/subt_testbed$ ./run.bash osrf/subt-virtual-testbed urban_circuit.ign worldName:=urban_circuit_practice_01 robotName1:=X1 robotConfig1:=X1_SENSOR_CONFIG_1
docker: Error response from daemon: OCI runtime create failed: container_linux.go:346: starting container process caused "exec: "urban_circuit.ign": executable file not found in $PATH": unknown.
baila@baila:~/subt_testbed$

osrf-migration commented 4 years ago

Original comment by Alfredo Bencomo (Bitbucket: bencomo).


It seems to be a problem with your Docker installation. Can you please run these commands?

docker --version
docker ps -a

osrf-migration commented 4 years ago

Original comment by Arthur Schang (Bitbucket: Arthur Schang).


Have you tried deleting the docker image and recreating (or redownloading) it?

osrf-migration commented 4 years ago

Original comment by baila (Bitbucket: baila).


baila@baila:~/subt_testbed$ docker --version
Docker version 19.03.4, build 9013bf583a
baila@baila:~/subt_testbed$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
bf4509530430 hello-world "/hello" 8 days ago Exited (0) 8 days ago magical_cartwright
baila@baila:~/subt_testbed$

osrf-migration commented 4 years ago

Original comment by baila (Bitbucket: baila).


Arthur Schang (Arthur Schang) , i am having some trouble on my home network, so I downloaded it from my friend’s machine. Last option is to take my laptop there and complete the installation.

osrf-migration commented 4 years ago

Original comment by baila (Bitbucket: baila).


Hey,

I was able to download the subt_testbed and able to run the simulation as well. But when I trigger the catkin_make for subt_solution, I am hitting below errors,

-- ==> add_subdirectory(subt_seed)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Could NOT find subt_ign (missing: subt_ign_DIR)
-- Could not find the required component 'subt_ign'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by "subt_ign" with any
of the following names: subt_ignConfig.cmake
subt_ign-config.cmake Add the installation prefix of "subt_ign" to CMAKE_PREFIX_PATH or set
"subt_ign_DIR" to a directory containing one of the above files. If
"subt_ign" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
subt_seed/CMakeLists.txt:14 (find_package)

any clue how to solve this?

osrf-migration commented 4 years ago

Original comment by baila (Bitbucket: baila).


I made it work. Ran build.sh subt_solution and it is working as expected

osrf-migration commented 4 years ago

Original comment by Arthur Schang (Bitbucket: Arthur Schang).


See above.