Salve, sono qui a chiedere il vostro aiuto perchè non riesco a settare il gimbal in modo che funzioni correttamente
NON nella posizione tradizionale come quella che metto in foto qui sotto, per cui è tutto OK e della quale allego anche la configurazione

Ma in modo che funzioni correttamente nella posizione a riposo di cui metto la foto qui sotto:
Ho provato più volte a rifare la procedura "Configure Gimbal Tool" ma quando è agli ultimi step i motori impazziscono e la procedura non viene terminata.
Ma vanno settati in modo diverso i pid dei motori? oppure gli assi delle IMU?
Non ne riesco a venire a capo, potete aiutarmi a farlo funzionare correttamente?
Grazie in anticipo
NON nella posizione tradizionale come quella che metto in foto qui sotto, per cui è tutto OK e della quale allego anche la configurazione
codice:
%SettingsHash = ( 'Gyro LPF' => [ 1 , '1.5 ms' ], 'Imu2 FeedForward LPF' => [ 1 , '1.5 ms' ], 'Low Voltage Limit' => [ 1 , '2.9 V/cell' ], 'Voltage Correction' => [ 0 , '0 %' ], 'Pitch P' => [ 540 , '5.40 ' ], 'Pitch I' => [ 3700 , '370.0 ' ], 'Pitch D' => [ 300 , '0.0300 ' ], 'Pitch Motor Vmax' => [ 97 , '97 ' ], 'Roll P' => [ 800 , '8.00 ' ], 'Roll I' => [ 6150 , '615.0 ' ], 'Roll D' => [ 1300 , '0.1300 ' ], 'Roll Motor Vmax' => [ 110 , '110 ' ], 'Yaw P' => [ 460 , '4.60 ' ], 'Yaw I' => [ 1400 , '140.0 ' ], 'Yaw D' => [ 900 , '0.0900 ' ], 'Yaw Motor Vmax' => [ 123 , '123 ' ], 'Pan Mode Control' => [ 7 , 'Rc2-3' ], 'Pan Mode Default Setting' => [ 0 , 'hold hold pan' ], 'Pan Mode Setting #1' => [ 1 , 'hold hold hold' ], 'Pan Mode Setting #2' => [ 5 , 'off' ], 'Pan Mode Setting #3' => [ 5 , 'off' ], 'Pitch Pan (0 = hold)' => [ 20 , '2.0 ' ], 'Pitch Pan Deadband' => [ 30 , '3.0 °' ], 'Pitch Pan Limiter' => [ 0 , '0 %' ], 'Roll Pan (0 = hold)' => [ 20 , '2.0 ' ], 'Roll Pan Deadband' => [ 30 , '3.0 °' ], 'Roll Pan Limiter' => [ 0 , '0 %' ], 'Yaw Pan (0 = hold)' => [ 20 , '2.0 ' ], 'Yaw Pan Deadband' => [ 40 , '4.0 °' ], 'Yaw Pan Limiter' => [ 0 , '0 %' ], 'Yaw Pan LPF' => [ 0 , '0.00 s' ], 'Pan Deadband Hysteresis' => [ 0 , '0.0 °' ], 'Rc Dead Band' => [ 10 , '10 us' ], 'Rc Hysteresis' => [ 5 , '5 us' ], 'Rc Pitch Trim' => [ 0 , '0 us' ], 'Rc Roll Trim' => [ 0 , '0 us' ], 'Rc Yaw Trim' => [ 0 , '0 us' ], 'Rc Pitch' => [ 4 , 'Rc2-0' ], 'Rc Pitch Mode' => [ 0 , 'absolute' ], 'Rc Pitch Min' => [ 64586 , '-95.0 °' ], 'Rc Pitch Max' => [ 950 , '95.0 °' ], 'Rc Pitch Speed Limit (0 = off)' => [ 400 , '40.0 °/s' ], 'Rc Pitch Accel Limit (0 = off)' => [ 300 , '0.300 ' ], 'Rc Roll' => [ 5 , 'Rc2-1' ], 'Rc Roll Mode' => [ 0 , 'absolute' ], 'Rc Roll Min' => [ 65286 , '-25.0 °' ], 'Rc Roll Max' => [ 250 , '25.0 °' ], 'Rc Roll Speed Limit (0 = off)' => [ 400 , '40.0 °/s' ], 'Rc Roll Accel Limit (0 = off)' => [ 300 , '0.300 ' ], 'Rc Yaw' => [ 6 , 'Rc2-2' ], 'Rc Yaw Mode' => [ 0 , 'absolute' ], 'Rc Yaw Min' => [ 64586 , '-95.0 °' ], 'Rc Yaw Max' => [ 950 , '95.0 °' ], 'Rc Yaw Speed Limit (0 = off)' => [ 400 , '40.0 °/s' ], 'Rc Yaw Accel Limit (0 = off)' => [ 300 , '0.300 ' ], 'Standby' => [ 0 , 'off' ], 'Re-center Camera' => [ 0 , 'off' ], 'IR Camera Control' => [ 0 , 'off' ], 'Camera Model' => [ 0 , 'Sony Nex' ], 'IR Camera Setting #1' => [ 0 , 'shutter' ], 'IR Camera Setting #2' => [ 2 , 'video on/off' ], 'Time Interval (0 = off)' => [ 0 , '0.0 s' ], 'Pwm Out Control' => [ 0 , 'off' ], 'Pwm Out Mid' => [ 1500 , '1500 us' ], 'Pwm Out Min' => [ 1100 , '1100 us' ], 'Pwm Out Max' => [ 1900 , '1900 us' ], 'Pwm Out Speed Limit (0 = off)' => [ 0 , '0 us/s' ], 'Script1 Control' => [ 0 , 'off' ], 'Script2 Control' => [ 0 , 'off' ], 'Script3 Control' => [ 0 , 'off' ], 'Script4 Control' => [ 0 , 'off' ], 'Scripts' => [ 'FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF' ], 'Imu2 Configuration' => [ 1 , 'full' ], 'Acc Compensation Method' => [ 1 , 'advanced' ], 'Imu AHRS' => [ 1000 , '10.00 s' ], 'Virtual Channel Configuration' => [ 0 , 'off' ], 'Pwm Out Configuration' => [ 0 , 'off' ], 'Rc Pitch Offset' => [ 65521 , '-1.5 °' ], 'Rc Roll Offset' => [ 65506 , '-3.0 °' ], 'Rc Yaw Offset' => [ 65516 , '-2.0 °' ], 'Beep with Motors' => [ 1 , 'basic' ], 'Pitch Motor Usage' => [ 0 , 'normal' ], 'Roll Motor Usage' => [ 0 , 'normal' ], 'Yaw Motor Usage' => [ 0 , 'normal' ], 'Imu Orientation' => [ 14 , 'no.14: -z180° -y -x -z' ], 'Imu2 Orientation' => [ 2 , 'no.2: z180° -x -y z' ], 'Pitch Motor Poles' => [ 14 , '14 ' ], 'Pitch Motor Direction' => [ 1 , 'reversed' ], 'Pitch Startup Motor Pos' => [ 670 , '670 ' ], 'Pitch Offset' => [ 0 , '0.00 °' ], 'Roll Motor Poles' => [ 14 , '14 ' ], 'Roll Motor Direction' => [ 0 , 'normal' ], 'Roll Startup Motor Pos' => [ 408 , '408 ' ], 'Roll Offset' => [ 0 , '0.00 °' ], 'Yaw Motor Poles' => [ 14 , '14 ' ], 'Yaw Motor Direction' => [ 1 , 'reversed' ], 'Yaw Startup Motor Pos' => [ 900 , '900 ' ], 'Yaw Offset' => [ 0 , '0.00 °' ], 'Acc LPF' => [ 2 , '4.5 ms' ], 'Imu DLPF' => [ 0 , '256 Hz' ], 'Rc Adc LPF' => [ 0 , 'off' ], 'Hold To Pan Transition Time' => [ 250 , '250 ms' ], 'Imu Acc Threshold (0 = off)' => [ 25 , '0.25 g' ], 'Acc Noise Level' => [ 40 , '0.040 g' ], 'Acc Threshold (0 = off)' => [ 50 , '0.50 g' ], 'Acc Vertical Weight' => [ 25 , '25 %' ], 'Acc Zentrifugal Correction' => [ 30 , '30 %' ], 'Acc Recover Time' => [ 250 , '250 ms' ], 'Motor Mapping' => [ 0 , 'M0=pitch , M1=roll' ], 'Imu Mapping' => [ 0 , '1=IC2 , 2=IC2#2' ], 'ADC Calibration' => [ 1550 , '1550 ' ], 'NT Logging' => [ 0 , 'off' ], 'Mavlink Configuration' => [ 0 , 'no heartbeat' ], 'Mavlink System ID' => [ 71 , '71 ' ], 'Mavlink Component ID' => [ 67 , '67 ' ], );
Ma in modo che funzioni correttamente nella posizione a riposo di cui metto la foto qui sotto:
Ho provato più volte a rifare la procedura "Configure Gimbal Tool" ma quando è agli ultimi step i motori impazziscono e la procedura non viene terminata.
Ma vanno settati in modo diverso i pid dei motori? oppure gli assi delle IMU?
Non ne riesco a venire a capo, potete aiutarmi a farlo funzionare correttamente?
Grazie in anticipo
Commenta