Habe folgendes Problem.
Habe ne neue Naze32 Full verbaut nachdem die alte die Hufe hochgerissen hat.
Habe jetzt soweit alles Konfiguriert nur leider bekomm ich im OSD immer No Data angezeigt.
Spannung wird von der FC aber Übertragen jedoch Flight Modes nicht.
Hier mal mein Dump
Hier meine config.h
MWOSD 1.4.1
Cleanflight 1.9.0
Jemand vielleicht ne Idee? Auf der Taranis bekomm ich die Telemetrie Daten angezeigt.
Habe ne neue Naze32 Full verbaut nachdem die alte die Hufe hochgerissen hat.
Habe jetzt soweit alles Konfiguriert nur leider bekomm ich im OSD immer No Data angezeigt.
Spannung wird von der FC aber Übertragen jedoch Flight Modes nicht.
Hier mal mein Dump
Code:
# version
# Cleanflight/NAZE 1.9.0 May 31 2015 / 13:17:47 (98f7549)
# dump master
# mixer
mixer QUADX
# feature
feature -RX_PPM
feature -VBAT
feature -INFLIGHT_ACC_CAL
feature -RX_SERIAL
feature -MOTOR_STOP
feature -SERVO_TILT
feature -SOFTSERIAL
feature -GPS
feature -FAILSAFE
feature -SONAR
feature -TELEMETRY
feature -CURRENT_METER
feature -3D
feature -RX_PARALLEL_PWM
feature -RX_MSP
feature -RSSI_ADC
feature -LED_STRIP
feature -DISPLAY
feature -ONESHOT125
feature -BLACKBOX
feature RX_PPM
feature VBAT
feature FAILSAFE
feature TELEMETRY
feature CURRENT_METER
feature RSSI_ADC
feature LED_STRIP
# map
map AETR1234
# serial
serial 0 5 115200 57600 0 115200
serial 1 2 115200 57600 0 115200
# led
led 0 0,0::IC:1
led 1 1,0::C:1
led 2 2,0::C:1
led 3 3,0::C:1
led 4 4,0::C:1
led 5 5,0::IC:1
led 6 5,1::IC:2
led 7 4,1::C:2
led 8 3,1::C:2
led 9 2,1::C:2
led 10 1,1::C:2
led 11 0,1::IC:2
led 12 0,0:::0
led 13 0,0:::0
led 14 0,0:::0
led 15 0,0:::0
led 16 0,0:::0
led 17 0,0:::0
led 18 0,0:::0
led 19 0,0:::0
led 20 0,0:::0
led 21 0,0:::0
led 22 0,0:::0
led 23 0,0:::0
led 24 0,0:::0
led 25 0,0:::0
led 26 0,0:::0
led 27 0,0:::0
led 28 0,0:::0
led 29 0,0:::0
led 30 0,0:::0
led 31 0,0:::0
# color
color 0 0,0,0
color 1 0,255,255
color 2 0,0,255
color 3 30,0,255
color 4 60,0,255
color 5 90,0,255
color 6 120,0,255
color 7 150,0,255
color 8 180,0,255
color 9 210,0,255
color 10 240,0,255
color 11 270,0,255
color 12 300,0,255
color 13 330,0,255
color 14 0,0,0
color 15 0,0,0
set looptime = 3500
set emf_avoidance = 0
set mid_rc = 1500
set min_check = 1100
set max_check = 1900
set rssi_channel = 0
set rssi_scale = 30
set rssi_ppm_invert = 0
set input_filtering_mode = 0
set min_throttle = 1000
set max_throttle = 1850
set min_command = 1000
set servo_center_pulse = 1500
set 3d_deadband_low = 1406
set 3d_deadband_high = 1514
set 3d_neutral = 1460
set 3d_deadband_throttle = 50
set motor_pwm_rate = 400
set servo_pwm_rate = 50
set retarded_arm = 0
set disarm_kill_switch = 1
set auto_disarm_delay = 5
set small_angle = 25
set flaps_speed = 0
set fixedwing_althold_dir = 1
set reboot_character = 82
set gps_provider = 0
set gps_sbas_mode = 0
set gps_auto_config = 1
set gps_auto_baud = 0
set serialrx_provider = 0
set spektrum_sat_bind = 0
set telemetry_switch = 0
set telemetry_inversion = 1
set frsky_default_lattitude = 0.000
set frsky_default_longitude = 0.000
set frsky_coordinates_format = 0
set frsky_unit = 0
set frsky_vfas_precision = 1
set hott_alarm_sound_interval = 5
set battery_capacity = 0
set vbat_scale = 109
set vbat_max_cell_voltage = 43
set vbat_min_cell_voltage = 33
set vbat_warning_cell_voltage = 35
set current_meter_scale = 400
set current_meter_offset = 0
set multiwii_current_meter_output = 0
set current_meter_type = 1
set align_gyro = 0
set align_acc = 0
set align_mag = 0
set align_board_roll = 0
set align_board_pitch = 0
set align_board_yaw = 90
set max_angle_inclination = 500
set gyro_lpf = 42
set moron_threshold = 32
set gyro_cmpf_factor = 600
set gyro_cmpfm_factor = 250
set yaw_control_direction = 1
set pid_at_min_throttle = 1
set yaw_direction = 1
set yaw_jump_prevention_limit = 200
set tri_unarmed_servo = 1
set servo_lowpass_freq = 400
set servo_lowpass_enable = 0
set failsafe_delay = 10
set failsafe_off_delay = 200
set failsafe_throttle = 1000
set rx_min_usec = 985
set rx_max_usec = 2115
set acc_hardware = 0
set mag_hardware = 0
set blackbox_rate_num = 1
set blackbox_rate_denom = 1
set blackbox_device = 0
# dump profile
# profile
profile 1
# aux
aux 0 0 3 1800 2100
aux 1 2 0 1300 1700
aux 2 3 0 1700 2100
aux 3 4 0 1700 2100
aux 4 9 1 1300 1700
aux 5 10 0 1800 2100
aux 6 12 2 1300 1700
aux 7 0 0 900 900
aux 8 0 0 900 900
aux 9 0 0 900 900
aux 10 0 0 900 900
aux 11 0 0 900 900
aux 12 0 0 900 900
aux 13 0 0 900 900
aux 14 0 0 900 900
aux 15 0 0 900 900
aux 16 0 0 900 900
aux 17 0 0 900 900
aux 18 0 0 900 900
aux 19 0 0 900 900
# adjrange
adjrange 0 0 0 900 900 0 0
adjrange 1 0 0 900 900 0 0
adjrange 2 0 0 900 900 0 0
adjrange 3 0 0 900 900 0 0
adjrange 4 0 0 900 900 0 0
adjrange 5 0 0 900 900 0 0
adjrange 6 0 0 900 900 0 0
adjrange 7 0 0 900 900 0 0
adjrange 8 0 0 900 900 0 0
adjrange 9 0 0 900 900 0 0
adjrange 10 0 0 900 900 0 0
adjrange 11 0 0 900 900 0 0
# servo
servo 0 1020 2000 1500 30 -1
servo 1 1020 2000 1500 30 -1
servo 2 1020 2000 1500 100 -1
servo 3 1020 2000 1500 100 -1
servo 4 1020 2000 1500 100 -1
servo 5 1020 2000 1500 100 -1
servo 6 1020 2000 1500 100 -1
servo 7 1020 2000 1500 100 -1
servo 8 1020 2000 1500 100 -1
servo 9 1020 2000 1500 100 -1
set gps_pos_p = 15
set gps_pos_i = 0
set gps_pos_d = 0
set gps_posr_p = 34
set gps_posr_i = 14
set gps_posr_d = 53
set gps_nav_p = 25
set gps_nav_i = 33
set gps_nav_d = 83
set gps_wp_radius = 200
set nav_controls_heading = 1
set nav_speed_min = 100
set nav_speed_max = 300
set nav_slew_rate = 30
set alt_hold_deadband = 40
set alt_hold_fast_change = 1
set deadband = 0
set yaw_deadband = 0
set throttle_correction_value = 0
set throttle_correction_angle = 800
set default_rate_profile = 1
set gimbal_flags = 1
set acc_lpf_factor = 4
set accxy_deadband = 40
set accz_deadband = 40
set accz_lpf_cutoff = 5.000
set acc_unarmedcal = 1
set acc_trim_pitch = 0
set acc_trim_roll = 0
set baro_tab_size = 21
set baro_noise_lpf = 0.600
set baro_cf_vel = 0.985
set baro_cf_alt = 0.965
set mag_declination = 0
set pid_controller = 2
set p_pitch = 40
set i_pitch = 30
set d_pitch = 23
set p_roll = 40
set i_roll = 30
set d_roll = 23
set p_yaw = 85
set i_yaw = 45
set d_yaw = 0
set p_pitchf = 2.500
set i_pitchf = 0.600
set d_pitchf = 0.060
set p_rollf = 2.500
set i_rollf = 0.600
set d_rollf = 0.060
set p_yawf = 8.000
set i_yawf = 0.500
set d_yawf = 0.050
set level_horizon = 3.000
set level_angle = 5.000
set sensitivity_horizon = 75
set p_alt = 50
set i_alt = 0
set d_alt = 0
set p_level = 90
set i_level = 10
set d_level = 100
set p_vel = 120
set i_vel = 45
set d_vel = 1
set yaw_p_limit = 500
# dump rates
# rateprofile
rateprofile 1
set rc_rate = 90
set rc_expo = 65
set rc_yaw_expo = 0
set thr_mid = 50
set thr_expo = 0
set roll_rate = 0
set pitch_rate = 0
set yaw_rate = 0
set tpa_rate = 0
set tpa_breakpoint = 1500
#
Hier meine config.h
Code:
/*-------------------------- configurable parameters ----------------------------------------------------*/
/******************** OSD HARDWARE settings *********************/
//Choose ONLY ONE option:
#define MINIMOSD // Uncomment this if using standard MINIMOSD hardware (default for 95% of boards)
//#define WITESPYV1.1 // Uncomment this if using Witespy V1.1 OSD, select this to correct for both swapped bat1/bat 2 and to also use alternative resistors / pinouts.
//#define RUSHDUINO // Uncomment this if using Rushduino
// NOTE-some of the popular RTFQ/Witespy boards have swapped bat1/bat2 pins and alternative voltage measuring resistors
// If having difficulties, first select default MINIMOSD as above, then use the following to correct:
// #define SWAPVOLTAGEPINS // For RTFQ boards with batt voltage appearing on vid voltage
// #define ALTERNATEDIVIDERS // For RFTQ boards with voltage unable to be adjusted high enough
/******************** CONTROLLER SOFTWARE *********************/
//Choose ONLY ONE option:-
//#define MULTIWII_V24 // Uncomment this if you are using MW versions 2.4
//#define MULTIWII_V23 // Uncomment this if you are using MW versions 2.2/2.3
//#define MULTIWII_V21 // Uncomment this if you are using MW versions 2.0/2.1 (for BOXNAMES compatibility)
//#define BASEFLIGHT // Uncomment this if you are using BASEFLIGHT (Stable 2015.05.13 at time of release)
//#define BASEFLIGHT_PR // UNTESTED - use this if you are using BASEFLIGHT with separate Pitch / Roll.
#define CLEANFLIGHT // Uncomment this if you are using latest CLEANFLIGHT version from repository (1.9.0 at time or release)
//#define CLEANFLIGHT180 // Uncomment this if you are using CLEANFLIGHT versions up to and including 1.8.0
//#define CLEANFLIGHT181 // Uncomment this if you are using CLEANFLIGHT versions 1.8.1
//#define HARIKIRI // Uncomment this if you are using HARIKIRI (for BOXNAMES compatibility)
//#define GPSOSD_UBLOX // Uncomment this if you are using a UBLOX GPS module for a GPS based OSD
//#define GPSOSD_NMEA // Uncomment this if you are using a NMEA compatible GPS module for a GPS based OSD
//#define GPSOSD_MTK // Uncomment this if you are using a MTK module for a GPS based OSD
//#define NOCONTROLLER // Uncomment this if you ahave nothing connected to the serial port - no controller or GPS module
/******************** AIRCRAFT/INSTALLATION TYPE settings *********************/
//Choose ONLY ONE option:
#define ROTORCRAFT // Default for multirotors etc.
//#define FIXEDWING // Uncomment this if you are using fixed wing MultiWii or Baseflight
/******************** HARDWARE CURRENT sensor settings *********************/
#define AMPERAGEMAX 500 // Size of current sensor / maximum current draw (* 10) e.g. 50A sensor = 500, 100A sensor = 1000
#define AMPERAGEOFFSET 0 // Optional extra for high offset sensors not supported in GUI (typically bidirectional sensors use a value of 256-512)
/******************** OSD SCREEN SWITCH settings *********************/
// This functionality enables :
// a, 2 different screen layouts to be selected using the Flight controller "OSD_SWITCH" feature or
// b, 2 or 3 different screen layouts to be selected using a specificed RC channel assigned to a TX switch
//Choose ONLY ONE option:
//#define OSD_SWITCH // Uses original 2 way screen switch using OSD Switch via Flight Controller. MUST Ensure enabled on flight controller - e.g. #define OSD_SWITCH on multiwii
#define OSD_SWITCH_RC // Enables GUI to use 2 way OSD_SWITCh or 3 way screen switch using RC data. Specify channel on GUI (range 0-7 AUX1=4 AUX4=7)
/******************** FILTER settings *********************/
//Choose ONLY ONE option:
#define STAGE2FILTER // Enable for smoother readings of voltage / current / RSSI.
//#define SMOOTHFILTER // Enable for smoothest readings of voltage / current / RSSI. Uses more memory. Prototype
/******************** RSSI settings *********************/
//#define FASTPWMRSSI // Undefine this if you are using non standard PWM for RSSI ( high frequency )
/******************** GPS settings *********************/
#define MINSATFIX 5 // Number of sats required for a fix. 5 minimum. More = better
/******************** WARNING/STATUS settings *********************/
//#define SATACTIVECHECK // Alerts if sats below MINSATFIX - in addition to flashing sat indicator
//#define GPSACTIVECHECK 5 // Alerts if no GPS data for more than x secs. Sets GPS sats to zero
#define MSPACTIVECHECK 3 // Alerts if no Flight controller data for more than x secs.
#define DISP_LOW_VOLTS_WARNING // Alerts if low voltage
#define FORCE_DISP_LOW_VOLTS // Enable display low voltage warning override for screen layouts where its disabled
/******************** AIRCRAFT type=FIXEDWING settings *********************/
// **ONLY** valid when using fixed wing
//#define USEMAGHEADING // Undefine this to use MAG for FW heading instead of GPS (requires controller with MAG sensor)
//#define USEBAROALTITUDE // Undefine this if you have a BARO to use BARO for FW altitude instead of GPS (requires controller with BARO sensor) ** Recommended **
//#define USEGLIDESCOPE 40 // Enables ILS glidescope where 40 = 4.0° glidescope. 1.0 deg gradiented scope scale
//#define DISABLEGPSALTITUDERESET // Disables automatic reset of GPS Altitude to zero at arm for FC that already provide this functionality.
/******************** Serial speed settings *********************/
// Choose ONLY ONE option:
#define BAUDRATE 115200
//#define BAUDRATE 57600
//#define BAUDRATE 38400
//#define BAUDRATE 19200
/******************** CALLSIGN settings *********************/
#define CALLSIGNINTERVAL 20 // How frequently to display Callsign (in seconds)
#define CALLSIGNDURATION 4 // How long to display Callsign (in seconds)
//#define CALLSIGNALWAYS // Alternative option - enable to permanently display callsign.
//#define FREETEXTLLIGHTS // Alternative option - enable to display freetext (or callsign) when LLIGHTS Switch active on TX.
//#define FREETEXTGIMBAL // Alternative option - enable to display freetext (or callsign) when GIMBAL Switch active on TX.
/******************** STARTUP settings *********************/
//#define INTRO_VERSION "SHIKI-OSD - R1.4" // Call the OSD something else if you prefer. KVOSD is not permitted - LOL.
//#define INTRO_CALLSIGN // Enable to display callsign at startup
//#define INTRO_TIMEZONE // Enable to display timezone at startup - if GPS TIME is enabled
//#define INTRO_DELAY 5 // Seconds intro screen should show for. Default is 10
//#define INTRO_MENU // Enable to display TX stick MENU
//#define STARTUPDELAY 2000 // Enable alternative startup delay (in ms) to allow MAX chip voltage to rise fully and initialise before configuring
/******************** GPS type settings *********************/
//#define I2CGPS_SPEED // Uncomment this if you are using older I2CGPS - and need to correct for speed error (10x too slow)
//#define I2CGPS_DISTANCE // Uncomment this if you are using older I2CGPS - and need to correct for distance error (650m max) UNTESTED
/******************** MAP MODE Settings *********************/
//#define MAPMODENORTH // Enable to use North as MAP reference in MODE 1 instead of take off direction (Default = disable)
/******************** FEATURES *********************/
// Disable features if you require memory for other features
// Further configuration may be require elsewhere in config.h + option enabled on GUI
#define SBDIRECTION // Enable/disable sidebar indicators (changes in speed or altitude)
#define HORIZON // Enable/disable HORIZON indicator
#define MAPMODE // Enable/disable MAP MODE - map indication of relative positions of home and aircraft
//#define GPSTIME // Enable/disable GPS Time functions
#define SPORT // Enable/disable FRSKY S.PORT cell code
/******************** Display Settings ************************/
//#define AUTOCAM // Disable if no screen display. Enables autodetect Camera type PAL/NTSC. Overrides GUI/OSD settings.
//#define AUTOCAMWAIT // **UNTESTED** - Use with AUTOCAM - waits until camera is ready - i.e. if power up cameras after FC.
#define DECIMAL '.' // Decimal point character, change to what suits you best (.) (,)
//#define USE_VSYNC // Disable if no screen display. Removes sparklies as updates screen during blanking time period.
//#define SHIFTDOWN // Select if your monitor cannot display top line fully. It shifts top 3 lines down. Not suitable for all layouts
//#define ALT_CENTER // Enable alternative center crosshair
//#define FORCECROSSHAIR // Forces a crosshair even if no AHI / horizon used
//#define HIDEARMEDSTATUS // Enable to hide ARMED / DISARMED status
//#define FASTPIXEL // Optional - may improve resolution - especially hi res cams
//#define WHITEBRIGHTNESS 0x00 // Optional change from default 0x00=120%,0x01=100%,0x10=90%,0x11=80% default is 0x01=100%
//#define BLACKBRIGHTNESS 0x00 // Optional change from default 0x00=0%,0x01=10%,0x10=20%0x11=30% default is 0x00=0%
//#define FULLAHI // Enable to display a slightly longer AHI line
//#define I2CERROR 3 // Autodisplay Mutltiwii I2C errors if exceeds specified count
//#define SHORTSTATS // Display only timer on flight summary
//#define FASTMSP // Enable for soft serial / slow baud rates if don't need GPS/BARO/HORIZON data. Speeds up remainder
//#define NOTHROTTLESPACE // Enable to remove space between throttle symbol and the data
//#define REVERSEAHI // Reverse pitch / roll direction of AHI - for DJI / Eastern bloc OSD users
//#define AHICORRECT 10 // Enable to adjust AHI on display to match horizon. -10 = -1 degree
#define APINDICATOR // Enable to display AUTOPILOT instead of RTH distance
/******************** FrSky S.Port settings *********************/
//enables data transfer from frsky reciever s.port to osd via multiwii
//requires serial inverter cable & multiwii with s.port code
//Auto detected cell graph from s.port, 16 steps @ 0.05v
//To show battery voltage from s.port, enable "Use MWii" under "Main Voltage" in GUI
//To show amperage from s.port, enable "Use MWii" under Amperage in GUI
//more details: http://code.google.com/p/scarab-osd/wiki/Frsky_SPort
#define MIN_CELL 320 //Cell Low Flash - No decimal, 3 Digits ie 320 = 3.20v
/******************** TEMPERATURE settings *********************/
//#define TEMPSENSOR // Enable if you have a hardware temperature sensor - DEPRECATED
#define TEMPERATUREMAX 50 // Temperature warning value
/*-------------------------- advanced parameters ----------------------------------------------------*/
/*-------------------------- advanced parameters ----------------------------------------------------*/
/*-------------------------- advanced parameters ----------------------------------------------------*/
/*-------------------------- advanced parameters ----------------------------------------------------*/
/******************** ENABLE/DISABLE CONFIG PAGES via STICK MENU *********************/
//large memory savings if not needed, comment to disable
#define PAGE1 //PID CONFIG
#define PAGE2 //RC TUNING
#define PAGE3 //VOLTAGE
#define PAGE4 //RSSI
#define PAGE5 //CURRENT
#define PAGE6 //DISPLAY
#define PAGE7 //ADVANCED
#define PAGE8 //GPS TIME
#define PAGE9 //ALARMS
/******************** HARDWARE PINS definitions *********************/
#define AMPERAGEPIN A1
#define TEMPPIN A6
#define RSSIPIN A3
#define PWMRSSIPIN A3
#define LEDPIN 7
/******************** CONTROLLER rule definitions **********************/
#ifdef BASEFLIGHT
#define AMPERAGECORRECT // required to use Higher MW amperage but with less resolution
#endif
#if defined(HARIKIRI) || defined(MULTIWII_V21)
#define BOXNAMES // required to support legacy protocol
#endif
#ifdef NOCONTROLLER
#undef INTRO_MENU
#undef MSPACTIVECHECK
#undef SATACTIVECHECK
#undef GPSACTIVECHECK
#undef OSD_SWITCH_RC
#endif
#ifdef MULTIWII_V24
#endif
#ifdef CLEANFLIGHT
#define CLEANFLIGHT190
#endif
#ifdef FIXEDWING
#define USEGPSHEADING
#define USEGPSALTITUDE
#define RESETGPSALTITUDEATARM
#if defined USEMAGHEADING
#undef USEGPSHEADING
#endif
#if defined USEBAROALTITUDE
#undef USEGPSALTITUDE
#endif
#if defined DISABLEGPSALTITUDERESET
#undef RESETGPSALTITUDEATARM
#endif
#define FORCESENSORS
#endif
#define HEADINGCORRECT // required to correct for MWheading being 0>360 vs MWII -180>+180. Leave permanently enabled
/******************** OSD HARDWARE rule definitions *********************/
#ifdef RUSHDUINO
# define MAX7456SELECT 10 // ss
# define MAX7456RESET 9 // RESET
#else
# define MAX7456SELECT 6 // ss
# define MAX7456RESET 10 // RESET
#endif
#ifdef WITESPYV1.1
#define SWAPVOLTAGEPINS
#define ALTERNATEDIVIDERS
#endif
#ifdef SWAPVOLTAGEPINS
#define VOLTAGEPIN A2
#define VIDVOLTAGEPIN A0
#else
#define VOLTAGEPIN A0
#define VIDVOLTAGEPIN A2
#endif
#ifdef ALTERNATEDIVIDERS
#define DIVIDER1v1 0.0002 // Voltage divider for 1.1v reference.
#define DIVIDER5v 0.0008 // Voltage divider for 5v reference.
#else
#define DIVIDER1v1 0.0001 // Voltage divider for 1.1v reference. Use 0.0001 default unless advised otherwise.
#define DIVIDER5v 0.0005 // Voltage divider for 5v reference. Use 0.0005 default unless advised otherwise.
#endif
/******************** GPS OSD rule definitions *********************/
#if defined GPSOSD_UBLOX
#define UBLOX
#endif
#if defined GPSOSD_NMEA
#define NMEA
#endif
#if defined GPSOSD_MTK
#define MTK
#endif
#if defined MTK_BINARY16
#define GPSOSD
#define NMEA
#define INIT_MTK_GPS
#define MTK_BINARY16
#endif
#if defined MTK_BINARY19
#define GPSOSD
#define NMEA
#define INIT_MTK_GPS
#define MTK_BINARY19
#endif
#if defined MTK
#define GPSOSD
#define NMEA
#define INIT_MTK_GPS
#endif
#if defined UBLOX
#define GPSOSD
#endif
#if defined NMEA
#define GPSOSD
#endif
#if defined NAZA
#define GPSOSD
#endif
#if defined GPSOSD
#undef INTRO_MENU
#undef MSPACTIVECHECK
#undef OSD_SWITCH_RC
#define FORCESENSORS
#define HIDEARMEDSTATUS
#endif
/*---------------------------------------------- Developer parameters ----------------------------------------------------*/
//#define DEBUG // Enable/disable option to display OSD debug values
//#define DEBUGMW // Disable to prevent load Mutltiwii debug values from MSP
Cleanflight 1.9.0
Jemand vielleicht ne Idee? Auf der Taranis bekomm ich die Telemetrie Daten angezeigt.
Anhänge
-
55,9 KB Aufrufe: 23
-
179 KB Aufrufe: 17