Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add simLoadLevel, simGet/SetObjectScale, simSpawn|DestroyObject #2651

Merged

Conversation

madratman
Copy link
Contributor

@madratman madratman commented May 2, 2020

originally by @ironclownfish, this PR port simLoadLevel, simGet|SetObjectScale features from https://github.com/microsoft/AirSim-NeurIPS2019-Drone-Racing
Additionally, adds simSpawn|DestroyObject
cc #2484

@madratman madratman force-pushed the PR/simLoadLevel_simGetSetObjectPose branch 2 times, most recently from cfec371 to 0f645ce Compare May 2, 2020 23:12
@madratman madratman force-pushed the PR/simLoadLevel_simGetSetObjectPose branch from 85a3ecf to 94ec7a0 Compare May 2, 2020 23:26
@madratman madratman force-pushed the PR/simLoadLevel_simGetSetObjectPose branch from 94ec7a0 to 6e99f90 Compare May 3, 2020 00:45
@madratman madratman force-pushed the PR/simLoadLevel_simGetSetObjectPose branch 2 times, most recently from c521405 to 7505949 Compare May 3, 2020 01:11
@madratman
Copy link
Contributor Author

@rajat2004 good point, if the purpose of simDisableActor is exactly the same as simDestroyObject, yeah we can close it..

@rajat2004
Copy link
Contributor

rajat2004 commented May 3, 2020

I'm not sure if they behave exactly the same, maybe making a short video of it working might help
One thing, is the object removed from the simListSceneObjects call after destroyObject is called? This currently doesn't happen in disableActor

Also, can the actor be brought back after destroying it? Probably spawnObject wil work?l

@madratman madratman changed the title add simLoadLevel, simGet/SetObjectScale add simLoadLevel, simGet/SetObjectScale, simSpawn|DestroyObject Jul 6, 2020
@madratman madratman force-pushed the PR/simLoadLevel_simGetSetObjectPose branch from db3db18 to 316367a Compare July 20, 2020 23:28
@madratman
Copy link
Contributor Author

/AzurePipelines run microsoft.AirSim

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@microsoft microsoft deleted a comment from azure-pipelines bot Jul 20, 2020
@madratman
Copy link
Contributor Author

/azp run microsoft.AirSim

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@madratman
Copy link
Contributor Author

/azp run microsoft.AirSim

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Nicholas Gyde and others added 5 commits July 22, 2020 11:11
- restore car*api.*cpp/h files
- fix build error, remove unnecessary include, restore airsim.uplugin
- simgetobjectscaleinternal, fix indentation in worldsimapi.h/cpp
- address review comments for simmodebase
- rm noisy simgetobjectpose
- fix up airsim.build.cs
- fix up simhud.h/cpp
- remove Waiter::isCanceled()
- fix includes in airblueprintlib, indendation for file
- cleanup LoadingScreenWidget
- restore Content/Weather/WeatherFX/Materials/MF_WorldAlignedNoise.uasset
- rm duplicate simGetObjectPose
@madratman madratman force-pushed the PR/simLoadLevel_simGetSetObjectPose branch from 9f217af to bf88699 Compare July 22, 2020 18:13
@madratman madratman force-pushed the PR/simLoadLevel_simGetSetObjectPose branch from ae953c8 to 105937b Compare July 22, 2020 20:00
@madratman madratman merged commit 5e873a3 into microsoft:master Jul 22, 2020
@rajat2004
Copy link
Contributor

@madratman Certain things seem to be missing here in the PR, like API additions to the Pythonclient, and also some in the C++ API as well, I'll see if I can add some and make a PR

@madratman
Copy link
Contributor Author

@rajat2004 that's intentional. The simLoadLevel feature is not usable per se yet, as it needs modifications to the environments. We're working on that behind the scenes.
Adding simLoadLevel to Python client / doc will confuse users atm.

@rajat2004
Copy link
Contributor

Oh ok, that makes sense

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants