1) If you did not find the settings.json file, then click play in UN, and in the logs, you will see the path from where UN takes the settings. Example 30:03. 2) If QGC doesn't connect when launching PX4, you need to Find the file “px4/build/px4_sitl_default/etc/init.d-posix/px4-rc.mavlink” in pixhawk build. ( wsl PX4 ) To the mavlink instance start command append parameter -p to enable broadcasting. mavlink start -x -u $udp_gcs_port_local -r 4000000 -f -p
Hey! I'm trying to connect PX4 and Airsim but when I run make px4_sitl_default none_iris on ubuntu terminal, I get this message "INFO [simulator_mavlink] Waiting for simulator to accept connection on TCP port 4560". I checked that port 4560 is not blocked by a firewall and modified settings.json but still it doesn't work. Do you know what might be wrong??
Did you make sure to add the address of your AirSim machine in the .bashrc file? Around the 28min mark in the video. I would also check if any other apps are using that port. Hope this helps!
I am getting the same issue. Also, I checked that no other apps are using the port. I am working on unreal 5.2. Do you have any idea how to still resolve this issue ?
@@subhransupriyadarshan unfortunately I have not worked with Unreal Engine 5.2. From my understanding, many things were reworked from Unreal 4 to Unreal 5 and port communication could be one of the changes. Unless you need some of the feature that only Unreal 5 offers, I would try to stick with Unreal 4 as there is a little more (still not a lot) documentation regarding implementation with different apps such as AirSim and PX4.
1) If you did not find the settings.json file, then click play in UN, and in the logs, you will see the path from where UN takes the settings. Example 30:03.
2) If QGC doesn't connect when launching PX4, you need to
Find the file “px4/build/px4_sitl_default/etc/init.d-posix/px4-rc.mavlink” in pixhawk build. ( wsl PX4 )
To the mavlink instance start command append parameter -p to enable broadcasting.
mavlink start -x -u $udp_gcs_port_local -r 4000000 -f -p
Thank you very much
This helped me build the system, Thank you for your time and this video! awesome~
Thank you for your time and this video! You can explain, really!
Brilliant 👏👏👏
Hey! I'm trying to connect PX4 and Airsim but when I run make px4_sitl_default none_iris on ubuntu terminal, I get this message "INFO [simulator_mavlink] Waiting for simulator to accept connection on TCP port 4560". I checked that port 4560 is not blocked by a firewall and modified settings.json but still it doesn't work. Do you know what might be wrong??
Did you make sure to add the address of your AirSim machine in the .bashrc file? Around the 28min mark in the video. I would also check if any other apps are using that port. Hope this helps!
I am getting the same issue. Also, I checked that no other apps are using the port. I am working on unreal 5.2. Do you have any idea how to still resolve this issue ?
@@subhransupriyadarshan unfortunately I have not worked with Unreal Engine 5.2. From my understanding, many things were reworked from Unreal 4 to Unreal 5 and port communication could be one of the changes. Unless you need some of the feature that only Unreal 5 offers, I would try to stick with Unreal 4 as there is a little more (still not a lot) documentation regarding implementation with different apps such as AirSim and PX4.
@@Mattquinoa Thanks for the help. I will try with UE 4 as well. I hope it works.
Your video was pretty amazing.👌👌
@@Mattquinoa Thanks for your quick answer. Btw, I found your video very helpful :)
can you please make video how to integrate yolo in airsim and unreal engine for object detection ?
May I ask which version of QGC you are using? I'm using 4.3 and don't have a way to implement the path planning , I can only fly to a certain point.
why my folder airsim hasn't settting.json
are you using the Airsim folder in your repos folder or your plugins?
Hello. Will this project compile for UE5?
Is there a way we can contact you?
Is Windows or Ubuntu better for this task?