Using a Joystick to Interact with a Simulink Model

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ส.ค. 2024

ความคิดเห็น • 43

  • @ChristopherLum
    @ChristopherLum  4 ปีที่แล้ว +5

    In case it is helpful, all my Matlab videos in a single playlist are located at th-cam.com/play/PLxdnSsBqCrrEU0dLSrTcl0-w9cVYKMTaF.html. All my Flight Mechanics videos in a single playlist are located at th-cam.com/play/PLxdnSsBqCrrEx3A6W94sQGClk6Q4YCg-h.html. You can support this channel via Patreon at www.patreon.com/christopherwlum. Please let me know what you think in the comments. Thanks for watching!

  • @tonymcdaniel6878
    @tonymcdaniel6878 5 หลายเดือนก่อน

    AA516: I purchased the logitech flight stick, and following this guide made everything super easy to setup.

  • @ricardomartinaldazabal4006
    @ricardomartinaldazabal4006 3 ปีที่แล้ว +4

    You literally SAVED my final degree project!!! Let me know if you have a patreon or something cause i'd love to give you a small tip

    • @ChristopherLum
      @ChristopherLum  3 ปีที่แล้ว

      Ricardo, I'm glad it was helpful. I've had several requests in the past to setup a Patreon account and your kind words finally pushed me to actually create one. I just made a page at www.patreon.com/christopherwlum . It is my first time working with Patreon so please let me know if something seems out of place. Thank you for supporting the channel and thanks for watching!

  • @milesrobertroane955
    @milesrobertroane955 5 หลายเดือนก่อน

    AA516: I intended to do my final project on just the visualization, but after seeing how cool it was to have the plane in front of me, I ended up connecting an Xbox controller and using that to control the simulator! I think I need to tweak the gain on the signals, as my plane is responding something fierce to even moderate inputs. Anyway, I am excited to get this fully working!

  • @yaffetbedru6612
    @yaffetbedru6612 5 หลายเดือนก่อน

    AA516: This was cool to see. I was able to get my virtual controller working since I didn't have a physical one.

  • @BalajiSankar
    @BalajiSankar 4 ปีที่แล้ว +3

    Very nicely explained. Looking forward to your visualisation video. Thank you very much.

    • @ChristopherLum
      @ChristopherLum  4 ปีที่แล้ว

      Thanks, I'm glad it was helpful. I'll try to get the visualization video up soon. If you are subscribed to the channel hopefully you'll get notified. Thanks for watching!

  • @PatrickGalvin519
    @PatrickGalvin519 5 หลายเดือนก่อน

    AA516: Very cool that Simulink is so easy to interface with a controller. I have a PlayStation 5 controller that I hooked up to it and I was impressed that Simulink was able to interface with the controller's sensor that differentiates partial and full trigger pulls. I believe most gaming controllers don't have that feature, and only detect a binary pulled/not pulled for the triggers, so I've found that a lot of flight simulators don't let you set the triggers to be an axis, even if you have a controller that has the triggers as an axis. So they never let you set the rudder controls to be the triggers, which to me seems like a vary natural mapping of a stick + rudder to the controller. For my RCAM, I will try to set it up to use the triggers as the rudder inputs and see how that goes.

  • @confusedlayman9458
    @confusedlayman9458 2 ปีที่แล้ว

    Superb! I can't thank you enough for your wonderful communication style: just the right level of detail, crystal clarity and emphasis on crucial points. Bravo!

    • @ChristopherLum
      @ChristopherLum  2 ปีที่แล้ว

      Hi,
      Thanks for the kind words, I'm glad you enjoyed the video. If you find these videos helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum or via the 'Thanks' button underneath the video. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. Thanks for watching!
      -Chris

  • @chayweaver.2995
    @chayweaver.2995 2 หลายเดือนก่อน

    AE512: useful video

  • @rajanbhandari4828
    @rajanbhandari4828 ปีที่แล้ว

    nice one Chris... I have been following your videos since I joined my grad school. Keep doing what you are doing.

    • @ChristopherLum
      @ChristopherLum  ปีที่แล้ว

      Hi Rajan,
      Thanks for the kind words, I'm glad you enjoyed the videos. If you find these videos helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum or via the 'Thanks' button underneath the video. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. Thanks for watching!
      -Chris

  • @abdurrahimemin1371
    @abdurrahimemin1371 4 ปีที่แล้ว +1

    WOW That is amazing
    Thank you

    • @ChristopherLum
      @ChristopherLum  4 ปีที่แล้ว +1

      I'm glad you liked it, thanks for watching!

  • @ephraim9976
    @ephraim9976 3 ปีที่แล้ว +1

    Thanks a lot, this is very helpful!!

    • @ChristopherLum
      @ChristopherLum  3 ปีที่แล้ว

      I'm glad it was helpful. There are several related videos on the channel. Please feel free to check them out and I would love to hear what you think in the comments. Thanks for watching!

  • @dhanushdg2966
    @dhanushdg2966 3 ปีที่แล้ว

    really nice video, thanks. it is helpful for my project

  • @sadi5007
    @sadi5007 3 ปีที่แล้ว

    thanks a lot

  • @aimeepak717
    @aimeepak717 2 หลายเดือนก่อน +1

    AE512: The Pilot Joystick All block did not work for me on a Mac with a Logitech joystick. However, I found that the 'Joystick Input' block does work if that helps anyone else!

  • @binyulong5995
    @binyulong5995 ปีที่แล้ว

    AA 516 Just posting this in case someone runs into the same problem as I did when Matlab could not recognize the joystick. Go into the Control Panel of Windows -> select set up USB game controllers -> Advanced -> click the dropdown button and select the name of the joystick in case it is showing something else. If it still doesn't work go to the device manager click on your joystick and select uninstall device. Plug in the joystick and it should prompt you to install the driver again.

    • @ChristopherLum
      @ChristopherLum  ปีที่แล้ว

      Great advice thanks for the pointers!

  • @metehanaltnok936
    @metehanaltnok936 4 ปีที่แล้ว +2

    you said you made some augmentations and modifications on rcam model. Can you share this in the video ?

    • @SomeTechGuy666
      @SomeTechGuy666 3 ปีที่แล้ว +1

      Yes please. Did you find mistakes in the model ?

  • @Lweirday
    @Lweirday 4 ปีที่แล้ว

    thank you sir ,i'm asking if you can share some lessons of a robust control ?

  • @hamasahmad8444
    @hamasahmad8444 10 หลายเดือนก่อน

    The RCAM model you are using in this video can you plz share it

  • @sunnysarkar7643
    @sunnysarkar7643 2 หลายเดือนก่อน

    AE 512: Is this any different from using a PS4/5 controller? I remember trying for a PS3 controller a while back, but there were issues with the interface

  • @nithinadidela
    @nithinadidela 5 หลายเดือนก่อน

    AA516: My Pilot Joystick All shows 16 Joystick IDs and none of them seem to affect the scope for some reason.

  • @joshuadaniel1907
    @joshuadaniel1907 4 ปีที่แล้ว

    Could you interfere the electrical power module with different angle deflection of the primary control surface

  • @alexzhen179
    @alexzhen179 3 ปีที่แล้ว

    AA 516: Hello Professor, why does it need a -1 gain for the aileron, the elevator, and the rudder when output those to the model?

    • @ChristopherLum
      @ChristopherLum  3 ปีที่แล้ว

      It just depends on how your joystick defines a positive deflection and how you want to map that to a positive or negative control surface deflection.

  • @Ash-fq8ux
    @Ash-fq8ux 2 ปีที่แล้ว

    Hello there, can you please elaborate what changes were made to the rcam model subsystem and if you could please illustrate the initialisation script for this simulink program, thank you.

    • @ChristopherLum
      @ChristopherLum  2 ปีที่แล้ว

      Hi Ash,
      Thanks for reaching out, I'm glad you enjoyed the video. Unfortunately I'm unable to respond to questions on TH-cam due to the sheer volume of inquiries that I receive. That being said, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum as I'll be able to answer questions there. Given your interest in the topic, I'd love to have you as a Patron as I'm able to talk/interact personally with Patrons. I'm also able to provide additional codes and scripts to Patrons. Thanks for watching!

  • @xxroco0418xx
    @xxroco0418xx ปีที่แล้ว

    Can I use my PS4 controller to do so? Works the same? I have not a flight Joystick

    • @ChristopherLum
      @ChristopherLum  ปีที่แล้ว

      Hi Raul,
      Thanks for reaching out, I'm glad you enjoyed the video. Unfortunately I'm unable to respond to questions on TH-cam due to the sheer volume of inquiries that I receive. That being said, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum or via the 'Thanks' button underneath the video as I'll be able to answer questions there. Given your interest in the topic, I'd love to have you as a Patron as I'm able to talk/interact personally with Patrons. Thanks for watching!
      -Chris

  • @nithinadidela
    @nithinadidela 5 หลายเดือนก่อน

    AA516: I cannot find the Display option on my toolbar. For context, I am using Simulink on a Mac.

    • @nithinadidela
      @nithinadidela 5 หลายเดือนก่อน

      Found it. It's now in Debug >> Information Overlays >> Signal Dimensions. But it doesn't show any dimensions in my model upon selecting it.

    • @nithinadidela
      @nithinadidela 5 หลายเดือนก่อน

      Resolved. Just disconnect the joystick, reconnect it and refresh. And now my signal dimension shows 6.

  • @netorocha1840
    @netorocha1840 ปีที่แล้ว

    Hi professor, could you send me this RCAM .m and .slx file? I would like to see how it was built, since it is different from the class you teach. thank you

    • @ChristopherLum
      @ChristopherLum  ปีที่แล้ว

      Hi Neto,
      Thanks for the kind words, I'm glad you enjoyed the video. If you find these videos helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum or via the 'Thanks' button underneath the video. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. I can also answer any questions, provide code, notes, downloads, etc. on Patreon. Thanks for watching!
      -Chris

  • @user-ns7wy1pk9t
    @user-ns7wy1pk9t 5 หลายเดือนก่อน

    AA516:Po