jzstudent / UAV-auto-navigation-and-object-tracking-based-on-RL

毕业设计的代码部分,实现了UE4和airsim环境下无人机自主导航和目标跟踪的强化学习算法。
201 stars 28 forks source link

环境随机化 #7

Open cyyispig opened 9 months ago

cyyispig commented 9 months ago

随机换生成环境需要那个项目里面的airsim是吗?他的那个airsim的block编译不能通过

zyian0505 commented 9 months ago

编译是可以通过的,需要修改cmd文件里面的下载地址,换成国内的就行了

zyian0505 commented 9 months ago

如果你是Linux环境,同样也可以修改sh文件来完成编译

cyyispig commented 9 months ago

build.cmd这一步可以,但是后面就不行了,我尝试打开block
Blocks could not be compiled.try rebuilding from source manually ![Uploading image.png…]()

zyian0505 commented 9 months ago

把Plugins里面的文件放进airlearning项目里面,然后打开项目编译就ok了,如果你UE与airsim版本不匹配的话可能会有问题

zyian0505 commented 9 months ago

AirLearning.uproject里面也要添加插件

cyyispig commented 9 months ago

从环境随机化那个项目中的airsim的plugin是不能用的,但是从官网下载的airsim的plugin放在Airlearning就可以使用 环境随机化的那个项目里面介绍使用的airsim是AirSim-1-rpc-base-reset-plus-energy,这个没法使用。 屏幕截图 2023-09-20 125558

zyian0505 commented 9 months ago

我的步骤是把AirSim-1-rpc-base-reset-plus-energy这个项目拉下来,然后进行更改国内镜像,然后编译。这样是可以使用的,我编译完成了,然后在airlearning项目添加插件,修改AirLearning.uproject完就成功了。最后在ue4.18.3中打开AirLearning.uproject。你应该是中间某个过程错了。

cyyispig commented 9 months ago

OK 我尝试一下,最后问一下 liunx windows下情况差不多吗 

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年9月20日(星期三) 下午3:01 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [jzstudent/UAV-auto-navigation-and-object-tracking-based-on-RL] 环境随机化 (Issue #7)

我的步骤是把AirSim-1-rpc-base-reset-plus-energy这个项目拉下来,然后进行更改国内镜像,然后编译。这样是可以使用的,我编译完成了,然后在airlearning项目添加插件,修改AirLearning.uproject完就成功了。最后在ue4.18.3中打开AirLearning.uproject。你应该是中间某个过程错了。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

jzstudent commented 9 months ago

[airlearning]里的Airsim不能编译吗,不清楚这个项目后面有没有更新,你可以直接应我的repo下面的Airsim+UE4.18.3

zyian0505 commented 9 months ago

我没有在Linux下进行测试,因为Linux下面的UE4.18.3的setup文件中的官方链接挂了,在setup的过程中会报错。 @cyyispig

cyyispig commented 9 months ago

是,我在Windows下尝试直接用博主的airsim进行build.cmd。

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年9月20日(星期三) 下午3:53 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [jzstudent/UAV-auto-navigation-and-object-tracking-based-on-RL] 环境随机化 (Issue #7)

我没有在Linux下进行测试,因为Linux下面的UE4.18.3的setup文件中的官方链接挂了,在setup的过程中会报错。 @cyyispig

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

zyian0505 commented 9 months ago

你可以自己再尝试一下,如果不行的话我晚点把我可以编译的上传一下。你的vs版本也需要注意,一定得是2017

jzstudent commented 9 months ago

828214880,欢迎加qq群一起学习哈,这个上面沟通并不及时

cyyispig commented 9 months ago

你可以自己再尝试一下,如果不行的话我晚点把我可以编译的上传一下。你的vs版本也需要注意,一定得是2017

你好,我尝试了编译还是不行,可以发一下编译后的文件吗

zyian0505 commented 8 months ago

不好意思,现在才看见。已经删除了。目前没研究这个项目了