uzh-rpg / agile_autonomy

Repository Containing the Code associated with the Paper: "Learning High-Speed Flight in the Wild"
GNU General Public License v3.0
608 stars 165 forks source link

Cannot load simulation environment #46

Closed zhengzaiyi closed 1 year ago

zhengzaiyi commented 2 years ago

When I was running the command roslaunch agile_autonomy simulation.launch, something wrong happened as the following image shows: 图片 It kept printing Ready ? : 0, the standalone has been extracted to the 'flightrenderfolder. Is it necessary to build thestandalone` in advance?

psun-autel commented 2 years ago

Waiting on further instruction as well. I don't have any errors in your snapshot anymore, but the other outputs are the same as mine. Also, I got further error

INFO] [1649622827.802552360, 2.876000000]: Unity is ready! [ERROR] [1649622828.212042755, 3.080000000]: no kernel image is available for execution on the device 209

[ERROR] [1649622828.321543409, 3.135000000]: no kernel image is available for execution on the device 209

[ERROR] [1649622828.459425264, 3.203000000]: no kernel image is available for execution on the device 209

[ERROR] [1649622828.582797969, 3.265000000]: no kernel image is available for execution on the device 209

[ERROR] [1649622828.721430274, 3.334000000]: no kernel image is available for execution on the device 209

^C[ERROR] [1649622828.859060628, 3.403000000]: no kernel image is available for execution on the device 209

psun-autel commented 2 years ago

You need to click start and also click arm bridge to see the effect.

zhengzaiyi commented 2 years ago

Waiting on further instruction as well. I don't have any errors in your snapshot anymore, but the other outputs are the same as mine. Also, I got further error

INFO] [1649622827.802552360, 2.876000000]: Unity is ready! [ERROR] [1649622828.212042755, 3.080000000]: no kernel image is available for execution on the device 209

[ERROR] [1649622828.321543409, 3.135000000]: no kernel image is available for execution on the device 209

[ERROR] [1649622828.459425264, 3.203000000]: no kernel image is available for execution on the device 209

[ERROR] [1649622828.582797969, 3.265000000]: no kernel image is available for execution on the device 209

[ERROR] [1649622828.721430274, 3.334000000]: no kernel image is available for execution on the device 209

^C[ERROR] [1649622828.859060628, 3.403000000]: no kernel image is available for execution on the device 209

Maybe you are using Nvidia 30XX? If your Gpu is of Ampere structure, you need to add the corresponding gpu-code to CmakeLists.

mw9385 commented 2 years ago

Did you solve this issue?

Hang-Shi commented 2 years ago

Waiting on further instruction as well. I don't have any errors in your snapshot anymore, but the other outputs are the same as mine. Also, I got further error INFO] [1649622827.802552360, 2.876000000]: Unity is ready! [ERROR] [1649622828.212042755, 3.080000000]: no kernel image is available for execution on the device 209 [ERROR] [1649622828.321543409, 3.135000000]: no kernel image is available for execution on the device 209 [ERROR] [1649622828.459425264, 3.203000000]: no kernel image is available for execution on the device 209 [ERROR] [1649622828.582797969, 3.265000000]: no kernel image is available for execution on the device 209 [ERROR] [1649622828.721430274, 3.334000000]: no kernel image is available for execution on the device 209 ^C[ERROR] [1649622828.859060628, 3.403000000]: no kernel image is available for execution on the device 209

Maybe you are using Nvidia 30XX? If your Gpu is of Ampere structure, you need to add the corresponding gpu-code to CmakeLists.

I solved the problem. 1) find the path /agile_autonomy_ws/catkin_aa/src/agile_autonomy/data_generation/agile_autonomy/CmakeLists. 2)Open the CmakeLists and add '-gencode=arch=compute_80,code=sm_80' and '-gencode=arch=compute_86,code=sm_86'

Hang-Shi commented 2 years ago

Did you solve this issue?

Now you can solve this issue

zhengzaiyi commented 2 years ago

Did you solve this issue?

HangShi's right, it's all about the gpu structure(I guess you're using Ampere)

stary-T-sky commented 1 year ago

Did you solve this issue? My terminal also kept printing "Ready ? : 0".

zhengzaiyi commented 1 year ago

Did you solve this issue? My terminal also kept printing "Ready ? : 0".

Yeah, see this quote

9woods123 commented 8 months ago

Did you solve this issue? My terminal also kept printing "Ready ? : 0".

Yeah, see this quote

Do I need to download an unity exe ,and put it in "~/agile_autonomy_ws/catkin_aa/src/rpg_flightmare/flightrender" ? This operation is not mentioned in tutorials or wiki, and it confuses me .