MATLAB Answers

connect the drone's joystick to my laptop

2 views (last 30 days)
Hello there,
I want to connect the joystick of the parrot mambo to my laptop so i can control the drone in the simulation manually from the joystick. How can i do that?

Accepted Answer

michel chamoun
michel chamoun on 6 Apr 2021
Edited: michel chamoun on 6 Apr 2021
I connected the PS3 Dualshock 3 controller instead of the flypad of the parrot mambo and it worked. Note that i had to do some changes to the Joystick input block (i recommend visualizing the outputs of the joystick block using scopes to have an idea of how it works).
here is a video on youtube that explains the process of connecting the PS3 controller to the laptop: https://youtu.be/YHzUtXfzrBU

More Answers (1)

Jan Houska
Jan Houska on 3 Apr 2021
Hi Michel,
you can use the Joystick Input block from the Simulink 3D Animation library. Please see the vrcrane_joystick example model for an example how to use the block.
Good Luck, Jan
  3 Comments
michel chamoun
michel chamoun on 3 Apr 2021
I am trying to connect my flypad via Bluetooth using a Bluetooth CSR 4.0 dongle but once i try to connect it i receive an error "invalid code". Anyway, i will try connecting it using a cable.
Thank you for your help. I really appreciate it!

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by