Servers by jDrones

Parrot Disco arduplane gamepad joystick control help


(Wieland Beck) #1

I installed ardupilot 3.8.0beta on the parrot disco and everything boots up and communicated fine with my GCS but It does not respond to gamepad input. is the build of disco not include ALLOW_RC_OVERRIDE mode or what is the problem?

is there a way I can test to see if the arduplane accepts override messages?

I can arm it too but there is no response to throttle or roll or pitch commands

Please help me get this working. thank you


(Wieland Beck) #2

Basically when I use qgroundcontrol it says this
"Joystick support requires MAVLink MANUAL_CONTROL support. The firmware you are running does not normally support this. It will only work if you have modified the firmware to add MANUAL_CONTROL support."

How can I add Manual_Control support to my disco arduplane build?

thanks for the help


(Alex) #3

I would like to know the same. How is the development going to use Skycontroller 2 supplied by parrot to connect to Disco?


(Kikislater) #4

it should require time to develop ! Connect to SC2 with usb to ethernet 10/100 cable (note that limited devices usb to ethernet are supported, 10/100/1000 will not work and some 10/100 as well).
It’s better to connect another joystick or a small RC with sbus


(Alex) #5

@kikislater, thank you for your answer. Really hope the development of ardupilot using the SC2 will progress smoothly!


(Alex) #6

@kikislater, @julienberaud when connecting to Skycontroller2 with Ethernet-USB stick, it gives me this:

$ifconfig
eth0      Link encap:Ethernet  HWaddr 00:E0:4C:36:01:FF  
          inet addr:192.168.53.1  Bcast:0.0.0.0  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:34143 errors:0 dropped:0 overruns:0 frame:0
          TX packets:32939 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1606213 (1.5 Mb)  TX bytes:2025224 (1.9 Mb)

wlan0     Link encap:Ethernet  HWaddr A0:14:3D:CB:BE:DC  
          inet addr:192.168.42.3  Bcast:192.168.42.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:7743
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

$ netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:6007            0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:44444           0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:7711            0.0.0.0:*               LISTEN      

What are these ports for, what services are running?
How does Skycontroller know to which Wifi connect and which not?
Does it mean that SC2 is a wifi range extender / router?
Can it be used as such with other wifi devices?


(Fran) #7

Wieland, I think we try to achieve the same.
Can you please get in touch with me?
Would love to hear if you got it working.

Thanks,
Fran


(Alex) #8

@Fran , try QGroundControl. I have seen it working on Parrot disco in the following configuration:

  • XBox 360 game controller
  • connected by USB to a Linux Ubuntu Laptop
  • QGroundControl running on the Linux
  • Linux machine connected by Wifi to the Disco running the latest ArduPlane software.

On/Off button special pattern press was necessary to stop the stock autopilot, which behaved almost like arduplane but didn’t accept commands, and to start the ArduPlane.
Only problem was that when Disco flew out of range of the Wifi, it wanted to turn back immediately and land in RTH mode. Lots of fun.

Hope it helps. Cheers!


(Kikislater) #9

If you want to increase distance, you should buy a usb wifi card.
I fly with ALFA AWUS036H to increase range. I have 1.5 to 2.3km depending on environment.
I already try TL 722N, a bit less range but still reliable. Problem is when you have suddent drop in wifi … Sometimes difficult to recover if you are out of range.