-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Remove SimMode and support different vehicle types #4340
base: main
Are you sure you want to change the base?
Conversation
I have found the problem. The clock type needs to be set in
|
Is it possible to let each client have respective api control status. Currently, one client disable the api control, all clients cannot control. So hope to let server give each client a control status record. |
I cloned your remove-simmode branch , ran the example script with the example setting.json you provided on Ubuntu 18.04, UE 4.25. I got this error: |
Hi!I also encountered this problem, is there any solution? |
Hi @sakurayiannie @A-Dings, |
Thank you for your reply! I can run your remove-simmode project by c++ API (on Win10), while python client returned the same problem ('enableApiControl') as A-Dings encountered. I ran the script clean_rebuild.bat, it returned that "The system cannot find the specified file". |
Can I only use his@alonfaraj modified old version of airsim to simulate different types of vehicles and UAVs at the same time? It seems that the new version of airsim does not have this function. In fact, I also encountered some problems with his modified old version of airsim. |
Hi everyone @hjp10010 @sakurayiannie, Sorry I can't help you more. I think colosseum is the right repo to continue this feature development in case the maintainers interested. |
Just leaving the link here for Colosseum: |
Thank you for your reply. I would like to try the scheme you recommended |
Thank you for your contribution to AirSim, my project need to work on air-ground coordination robots, so your work really helped me a lot. I appreciate that. :) |
Hi, @alonfaraj , airsim seems active again, we can continue this topic. |
@dzywater Do you mean colosseum? |
@alonfaraj Is it possible to port some of this work to Colosseum? I have another approach I've been working on but it's a behemoth of a PR that I'm attempting to break down. @dzywater AirSim has been abandoned by Microsoft. Colosseum is our effort to continue the open source project with UE5 |
@xxEoD2242 sure. |
Could you import this pr to colosseum? Afterwards, we maintain colosseum together. |
I encountered some problems. When I opened the block environment after running build.cmd, an error occurred: |
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
|
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
|
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
|
hello,I met the same thing, Have you solved this problem? |
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
|
Fixes: #506
Fixes: #1382
Fixes: #1777
Fixes: #2990
Fixes: #4084
Fixes: #4110
About
As a follow up to the great work of @rajat2004 (#4110), this PR is intended support different vehicle types in AirSim and remove
SimMode
fromsettings.json
file.There are probably few approaches to achieve this goal.
I chose the one which IMO should be the easiest to implement and maintain.
We have already started working with this version for our custom needs so I thought it would be worth sharing with the community.
This PR should be tested much more, but it already work with different vehicle types - in Unreal and ROS2 (ROS1 modified as well but haven't tested yet).
Any feedbacks/thoughts/issues are welcome.
Changes:
SimMode
is no longer required and ignoredSensorsDefault
changed toSensorsDefaultCar
andSensorsDefaultMultirotor
airsim_rec_cv.txt
,airsim_rec_car.txt
,airsim_rec_multirotor.txt
and saved into the same folderApiServerPort
and its default value changed toApiServerPortCV
(41451),ApiServerPortCar
(41461),ApiServerPortMultirotor
(41471)How Has This Been Tested?
Tested with Unreal, python API and ROS2, with various combinations and features.
Attached an example script and settings to initialize with 3 different types, send commands and spawn another 3 vehicles.
example settings.json
example script
Screenshots (if appropriate):
clip.mp4
recording files:
airsim_rec_cv.txt
airsim_rec_multirotor.txt
airsim_rec_car.txt