参考:
https://github.com/Microsoft/AirSim
https://microsoft.github.io/AirSim/docs/unreal_custenv/
https://blog.csdn.net/u011860814/article/details/60469441
https://www.youtube.com/watch?v=1oY8Qu5maQQ&feature=youtu.be
qgroundcontrol下载
https://docs.qgroundcontrol.com/en/getting_started/quick_start.html
PX4 firmware下载
https://github.com/PX4/Firmware/release
我的是
我用的是华科尔devention RX1002+DEVO-10遥控器,
PPM和RX1002接线如下:
settings.json文件如下时:硬件基本算连通:
{
"SeeDocsAt": "https://github.com/Microsoft/AirSim/blob/master/docs/settings.md",
"SettingsVersion": 1.2,
"DefaultVehicleConfig": "PX4",
"Vehicles": {
"PX4": {
"VehicleType": "PX4Multirotor",
"LogViewerHostIp": "127.0.0.1",
"LogViewerPort": 14388,
"OffboardCompID": 1,
"OffboardSysID": 134,
"QgcHostIp": "127.0.0.1",
"QgcPort": 14550,
"SerialBaudRate": 115200,
"SerialPort": "COM3",
"SimCompID": 42,
"SimSysID": 142,
"SitlIp": "127.0.0.1",
"SitlPort": 14556,
"UdpIp": "127.0.0.1",
"UdpPort": 14560,
"UseSerial": true,
"VehicleCompID": 1,
"VehicleSysID": 135,
"Model": "Generic",
"LocalHostIp": "127.0.0.1"
}
}
}
因为解锁pixhawk可以了,而且有land 和takeoff detect
但是推油门没反应,飞不起来,不知道为啥,
应该还有一到两个小错误。
因为解锁pixhawk可以了,而且有land 和takeoff detect
但是推油门没反应,飞不起来,不知道为啥,
应该还有一到两个小错误。
继续找问题
https://blog.csdn.net/csdnhuaong/article/details/78553613
https://zhuanlan.zhihu.com/p/28400789
都没有出现已经硬件连通但是PX4无人机飞不起来的情况,为啥,明明遥控器可以解锁无人机起飞模式了,油门却没有反应!!!搭建个东西,步步遇到问题!!
下面是油管上官方的推荐的设置,我截了一下图,大致能看到
看不出有明显的会影响我油门的设置,波特率我改成9600试了一下,但是没啥用,至于IP的问题我用的是本地的127.0.0.1
提问题
https://github.com/Microsoft/AirSim/issues
发现了一个同样的问题,但没有说咋解决:
https://github.com/Microsoft/AirSim/issues/111
终于知道原因了,我下载的是px4fmu-v2_default.px4 ,这是最新版,
官网教程里面的是这个版本1.4.4的,给跪了,就这样一个地方用了新的版本,因为之前玩pixhawk实物的,以为自己了解,还是应该按部就班的来,罪过罪过,浪费了一天,官网各种找原因,最后发现都不是我这个问题!!