Welcome to our Community
Wanting to join the rest of our members? Feel free to sign up today.
Sign up

remapping controls on the Skycontroller

Dani

Well-known member
Joined
May 14, 2019
Messages
50
Reaction score
16
Hi there,

I contacted the Parrot Support because of what I think is a small programming error. The shoulderbuttons for Zoom and camera up/down are swapped (see attached photo). They answered me to read page 27 of the manual but that says nothing about remapping those buttons. They go on about Arcade mode but I do not want that. Page 40 states that you have to be in flight to get to the Arcade controls. So I have to remap buttons whilst in flight? What?
Maybe I am a bit stubborn about this but it still confuses me that I have to push the left control button and see the indicator on the right hand side of the screen.
I found the controller of my BB2 far better to tweak. I've even flown my BB2 with my PS3 controller :cool:.

Please note that you can modify ’s controls through the PREFERENCES menu of
FreeFlight 6. Refer to the “PREFERENCES / Controls” section of this guide for
additional information. Anafi’s controls can also be set in Arcade mode. Refer to the “CONTROL / Arcade” section of this guide for additional information.

Kindly check page 27 in the User Guide for more information.


So I'd like to ask you whether I'm wrong and if so please guide me to remap these two buttons.

Any help is welcome
Dani
 

Attachments

  • Controller.png
    Controller.png
    1.1 MB · Views: 6
Dont know if the following might help you, was written by "Ender" who did some deep diving into the Anafi system:



On Linux or Mac OSX (ADB binary needed):
———————————
Start with: Controller OFF, Anafi OFF, Controller NOT connected to phone.

Switch on Controller, connect Controller via USB to Linux or OSX machine.
wait some secs until it is booted and RNDIS Network is up.

connect ADB:
adb connect 192.168.53.1:9050
———————————

(1b) On Windows or Linux or Mac OSX: (ADB binary needed)
———————————
Start with: Controller OFF, Anafi OFF, Controller NOT connected to phone.
Switch on Controller, switch on Anafi, connect your computer to Anafi WiFi, wait until Controller shows Connection (= steady blue)

connect ADB (using the Anafi as Wireless Access point):
connect 192.168.42.9:9050

———————————

(2) then get shell access on MPP3:
adb shell

(3) change to confif file directory:
cd /data/lib/mppd/

(4) edit settings: (SIMPLE vi introduction: An Extremely Quick and Simple Introduction to the Vi Text Editor)
vi mapping_anafi4k.cfg

e.g. for inverting of throttle ( == axis 1) the file should looklike this:


invert = (
{
axis = 0;
inverted = 0;
},
{
axis = 1;
inverted = 1;
},
{
axis = 2;
inverted = 0;
},


(5) save this and exit vi, switch off controller

(6) THEN switch on Controller, attach phone, switch on Anafi, VOILÀ, should work as desired from now on.





Axis:
axis = 0; /* AXIS_LEFT_LR */
axis = 1; /* AXIS_LEFT_UD */
axis = 2; /* AXIS_RIGHT_LR */
axis = 3; /* AXIS_RIGHT_UD */
axis = 4; /* AXIS_SLIDER_LEFT_UD */
axis = 5; /* AXIS_SLIDER_RIGHT_UD */

Actions:
0 = app_0
1 = app_1
2 = app_2
3 = app_3
4 = app_4
5 = app_5
6 = app_6
7 = app_7
8 = app_8
9 = app_9
10 = app_10
11 = app_11
12 = app_12
13 = app_13
14 = app_14
15 = app_15
16 = return_home
17 = takeoff_land
18 = video_record
19 = take_picture
20 = camera_exposition_inc
21 = camera_exposition_dec
22 = flip_left
23 = flip_right
24 = flip_front
25 = flip_back
26 = emergency
27 = center_camera
28 = cycle_hud
29 = camera_auto

Buttons:
0x1 = BUTTON_RTH
0x2 = BUTTON_TAKEOFF

0x4 = BUTTON_L1
0x8 = BUTTON_R1

0x10 = VIRTUAL_LEFT_L
0x20 = VIRTUAL_LEFT_R
0x40 = VIRTUAL_LEFT_U
0x80 = VIRTUAL_LEFT_D

0x100 = VIRTUAL_RIGHT_L
0x200 = VIRTUAL_RIGHT_R
0x400 = VIRTUAL_RIGHT_U
0x800 = VIRTUAL_RIGHT_D

0x1000 = VIRTUAL_SLIDL_U
0x2000 = VIRTUAL_SLIDL_D
0x4000 = VIRTUAL_SLIDR_U
0x8000 = VIRTUAL_SLIDR_D

0x10000 = BUTTON_START --> not mappable
 
Hmmm. I might try this. But of course Parrot could admit they made a small mistake and just swap the indicators in the next update.
 
  • Like
Reactions: d95gas
Hmmm. I might try this. But of course Parrot could admit they made a small mistake and just swap the indicators in the next update.
Good luck getting any response from Parrot, let alone getting them to swap buttons, they are not interested in us as users now, we did the beta testing for them, they now have their Anafi USA at $7k.
 

Members online

No members online now.

Forum statistics

Threads
5,305
Messages
45,087
Members
8,002
Latest member
lustar