rotateToYawAsync() not working for HexaCopter
I am trying to simulate a hexacopter in Airsim. I am modifying the simple flight firmware with the new hexacopter parameters. Specifically here is what I did:
In SimpleFlightQuadXParams.hpp:
set params.rotor_count = 6;
call initializeRotorHexX rather than initializeRotorQuadX
In Params.hpp (under simple_flight/firmware):
set uint16_t motor_count = 6;
In FlyingPawn.h:
set static constexpr size_t rotor_count = 6;
After I make these changes, everything works fine, except that the vehicle doesn't yaw using any of the api functions, I tried all of these functions (also tried adding .join() at the end of them): rotateToYawAsync() rotateByYawRateAsync() moveByRollPitchYawrateZAsync()
I am not sure why the vehicle is not yawing, any help is appreciated.
https://github.com/Microsoft/AirSim/wiki/hexacopter Closed due to age. Please feel free to open a new issue (referring to this one) if you still have this problem. Thanks!