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

getRotorState Error #153

Open
KIYONG-KWON opened this issue May 20, 2021 · 0 comments
Open

getRotorState Error #153

KIYONG-KWON opened this issue May 20, 2021 · 0 comments

Comments

@KIYONG-KWON
Copy link

KIYONG-KWON commented May 20, 2021

// Setting.json
{
"SeeDocsAt": "https://github.com/Microsoft/AirSim/blob/master/docs/settings.md",
"SettingsVersion": 1.5,
"SimMode": "Multirotor",

"Vehicles": {
"Drone1": {
"VehicleType": "SimpleFlight",
"X": 4,
"Y": 0,
"Z": -2,
"Yaw": -180
},
"Drone2": {
"VehicleType": "SimpleFlight",
"X": 8,
"Y": 0,
"Z": 0,
"Yaw": -180
}
}
}

// main.cpp
string droneID = "Drone1";
client.enableApiControl(true, droneID);
client.getRotorStates(droneID); // error on this line , rpc::rpc_error

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Cound you advise me why error occurred at this line? other codes to get sensor datas such as gps, imu etc do not make error like this.
I updated Airsim version as the lastest 1.5.0 and unreal version is 4.26.

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

No branches or pull requests

1 participant