Fix Python API example files - #2683
Conversation
d029cfc to
1d043a7
Compare
d3f5db0 to
dafc459
Compare
| # currently reset() doesn't work in CV mode. Below is the workaround | ||
| client.simSetPose(airsim.Pose(airsim.Vector3r(0, 0, 0), airsim.to_quaternion(0, 0, 0)), True) No newline at end of file | ||
| client.simSetVehiclePose(airsim.Pose(airsim.Vector3r(0, 0, 0), airsim.to_quaternion(0, 0, 0)), True) |
There was a problem hiding this comment.
Actually client.reset() does work in CV mode
d2bfb53 to
4521e5a
Compare
|
My guess would be we can change the buffer type of Unity from RGBA to RGB by not copying over the alpha channel? |
4521e5a to
f4d56aa
Compare
|
Ratnesh Madaan (@madratman) I think this is the one we need - https://github.com/microsoft/AirSim/blob/master/Unity/UnityDemo/Assets/AirSimAssets/Scripts/Utilities/DataCaptureScript.cs#L153 |
|
No, I think it would be for the better as it establishes consistency in num of channels in UE and Unity, |
f4d56aa to
548dbdd
Compare
Maintain consistency with Unreal
|
Made the Unity change, and reversed the channel change in the script.
Forgot that I had mentioned the 1st problem in the PR description itself... |
|
Merging this.. let's track the remaining issues in new PRs |
|
#2937 fixes the Unity Car API problem, still needs a bit more work though |
Changes -
Just some things noticed when trying to figure out why Unity Car APIs aren't working which has been reported on multiple issues. I'm not seeing anything wrong or different from the Unreal implementation right now. Ping Ratnesh Madaan (@madratman) Sai Vemprala (@saihv)
Unity returns RGBA while Unreal does RGB (Not after this PR)