You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// 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.
The text was updated successfully, but these errors were encountered:
// 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.
The text was updated successfully, but these errors were encountered: