connect the drone's joystick to my laptop

조회 수: 8 (최근 30일)
michel chamoun
michel chamoun 2021년 4월 2일
편집: michel chamoun 2021년 4월 6일
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?

채택된 답변

michel chamoun
michel chamoun 2021년 4월 6일
편집: michel chamoun 2021년 4월 6일
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

추가 답변 (1개)

Jan Houska
Jan Houska 2021년 4월 3일
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
Jan Houska
Jan Houska 2021년 4월 3일
Hi Michel,
you should be able to connect the joystick via USB. Most joysticks have USB interface, although of course I cannot know about yours. If your laptop does not have USB, it probably has USB-C, and this should be convertible to USB via an adapter.
Jan
michel chamoun
michel chamoun 2021년 4월 3일
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!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Parrot Minidrones에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by