-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
SITL Simulation using Joystick #399
Comments
I am using win10, SITL, XBOX controller, but QGroundControl-installer.exe download from web. I do not set as https://github.com/Microsoft/AirSim/blob/master/docs/xbox_controller.md, but only set the XBOX-button meening in Joystick, Roll, Pitch, Yaw, Throttle, Arm. |
Thanks for the suggestion, although I still appear to be having the same problem. |
I'm wondering if there is some way that you must link PX4 to QGroundControl? |
Have you set "UseSerial": false in settings.json? |
Yes, "UseSerial" has always been set to false in my settings.json file. Did you set up PX4? If so, how? |
I am having the same issue. I have also configured the json file as per instruction and I can't get the sitl to talk to the sim. |
I was wondering as far as step #3 goes in the following link: https://github.com/Microsoft/AirSim/blob/master/docs/xbox_controller.md How did you guys do this step? Like, where is MavLinkTest.exe located and where did you execute this command? |
I only set the #1 and #2 in https://github.com/Microsoft/AirSim/blob/master/docs/xbox_controller.md; |
That isn't working for me, unfortunately; you must have better luck! I see that a new version of the repo has just been released, so I am going to try that. |
Hi, Do you check the option "Enable joystick input" in QGroundControl? |
I finally got it working guys! In QGC under the Comm Links tab I added a new UDP Port. I used the port 14550, since I noticed in the settings.json file there is the following: "QgcPort": 14550, This appears to have solved the problem for me, even when using an older version of AirSim and UE! :D |
@Robin-Wong how to set the XBOX-button meening in Joystick,I don't see it Joystick? |
I am using QGroundControl v3.2.4, there is no Joystick when the xbox controller does not connect |
Hi guys!
I have followed these instructions to set up the SITL sim: https://github.com/Microsoft/AirSim/blob/master/docs/sitl.md
I then followed these instructions to use a joystick: https://github.com/Microsoft/AirSim/blob/master/docs/xbox_controller.md
And, in case anyone is wondering, I used these instructions to setup QGC: https://github.com/mavlink/qgroundcontrol (An obvious mistake would be using the wrong version of Qt, but, I have 5.7.1)
I have followed the instructions exactly, however, when inside UE (after hitting the play button, of course) one of the messages displayed is "RC Controller on USB: Not detected" and I can't use my joysticks (or any of the buttons I preassigned in QGC) to control the drone. It looks like this:
I was wondering if anyone knows what is wrong, maybe I missed something, or if anyone has it working.
Thanks for all the help!
The text was updated successfully, but these errors were encountered: