Closed framosnt closed 3 years ago
Why are you setting rng settings for the proximity sensors?
Why are you setting rng settings for the proximity sensors?
Dear Jackson, I use two radar, to follow terrain (RNGFND1_ORIENT = 25) not necessary to setting as proximity sensor, but other to avoidance ( (RNGFND1_ORIENT = 0) is 3 sector radar and need to show detected object in Proximity Window !
The problem is in function FIND_SERIAL, the parameter "procotol" is ignored, I have two serial radar with different protocol, one is ONE SECTOR is RANGEFINDER serial Protocol other is 3 SECTOR, serial Protocol is Lidar360. When I setting Proximity Type TerarangerTower, the function FIND_SERIAL would return only Lidar360 serial port !!!!
When I use only one radar typed RANGEFINDER worked well and show RANGEFINDER VALUE, but wrote in HUD error menseger "LIDAR ERROR", because not identify that my radar use uLANDING RANGEFINDER is SINGLE POINT and can to be a ORIENTATION to down side !!!! If I change Orient to 0 (forward) the error not show !
The code have a incorrect TYPE RANGEFINDER identification !
I did test, created new RANGEFINDER , change the code of Rangerfinder LEDDARONE to same code of ULANDING, did setting first Rangefinder to uLanding and other to LeddarOne, same this change type of Rangefinder this returned first Serial AVAILABLE !!!
I will upload log and setting files !
SYSID_SW_MREV 120 SYSID_THISMAV 1 SYSID_MYGCS 255 PILOT_THR_FILT 0 PILOT_TKOFF_ALT 0 PILOT_THR_BHV 0 SERIAL0_BAUD 115 SERIAL0_PROTOCOL 2 SERIAL1_PROTOCOL 1 SERIAL1_BAUD 115 SERIAL2_PROTOCOL 11 SERIAL2_BAUD 115 SERIAL3_PROTOCOL 5 SERIAL3_BAUD 38 SERIAL4_PROTOCOL 9 SERIAL4_BAUD 115 SERIAL5_PROTOCOL -1 SERIAL5_BAUD 57 SERIAL1_OPTIONS 0 SERIAL2_OPTIONS 0 SERIAL3_OPTIONS 0 SERIAL4_OPTIONS 0 SERIAL5_OPTIONS 0 SERIAL_PASS1 0 SERIAL_PASS2 -1 SERIAL_PASSTIMO 15 TELEM_DELAY 0 GCS_PID_MASK 0 RTL_ALT 1500 RTL_CONE_SLOPE 3 RTL_SPEED 0 RTL_ALT_FINAL 0 RTL_CLIMB_MIN 0 RTL_LOIT_TIME 5000 RNGFND_GAIN 0.8 FS_GCS_ENABLE 0 GPS_HDOP_GOOD 140 SUPER_SIMPLE 0 WP_YAW_BEHAVIOR 2 LAND_SPEED 50 LAND_SPEED_HIGH 0 PILOT_SPEED_UP 250 PILOT_ACCEL_Z 250 FS_THR_ENABLE 1 FS_THR_VALUE 975 THR_DZ 100 FLTMODE1 0 FLTMODE2 0 FLTMODE3 0 FLTMODE4 0 FLTMODE5 0 FLTMODE6 0 FLTMODE_CH 5 SIMPLE 0 LOG_BITMASK 176126 ESC_CALIBRATION 0 TUNE 0 FRAME_TYPE 1 ARMING_ACCTHRESH 0.75 ARMING_RUDDER 2 ARMING_MIS_ITEMS 0 ARMING_CHECK 1 DISARM_DELAY 10 ANGLE_MAX 4500 PHLD_BRAKE_RATE 8 PHLD_BRAKE_ANGLE 3000 LAND_REPOSITION 1 FS_EKF_ACTION 1 FS_EKF_THRESH 0.8 FS_CRASH_CHECK 1 RC_SPEED 490 ACRO_RP_P 4.5 ACRO_YAW_P 4.5 ACRO_BAL_ROLL 1 ACRO_BAL_PITCH 1 ACRO_TRAINER 2 ACRO_RP_EXPO 0.3 CAM_TRIGG_TYPE 0 CAM_DURATION 10 CAM_SERVO_ON 1300 CAM_SERVO_OFF 1100 CAM_TRIGG_DIST 0 CAM_RELAY_ON 1 CAM_MIN_INTERVAL 0 CAM_MAX_ROLL 0 CAM_FEEDBACK_PIN -1 CAM_FEEDBACK_POL 1 CAM_AUTO_ONLY 0 CAM_TYPE 0 RELAY_PIN 54 RELAY_PIN2 55 RELAY_PIN3 -1 RELAY_PIN4 -1 RELAY_DEFAULT 0 RELAY_PIN5 -1 RELAY_PIN6 -1 CHUTE_ENABLED 0 LGR_STARTUP 0 LGR_DEPLOY_PIN -1 LGR_DEPLOY_POL 0 LGR_WOW_PIN -1 LGR_WOW_POL 0 LGR_DEPLOY_ALT 0 LGR_RETRACT_ALT 0 COMPASS_OFS_X 0 COMPASS_OFS_Y 0 COMPASS_OFS_Z 0 COMPASS_DEC -0.4175101 COMPASS_LEARN 0 COMPASS_USE 1 COMPASS_AUTODEC 1 COMPASS_MOTCT 0 COMPASS_MOT_X 0 COMPASS_MOT_Y 0 COMPASS_MOT_Z 0 COMPASS_ORIENT 0 COMPASS_EXTERNAL 1 COMPASS_OFS2_X 0 COMPASS_OFS2_Y 0 COMPASS_OFS2_Z 0 COMPASS_MOT2_X 0 COMPASS_MOT2_Y 0 COMPASS_MOT2_Z 0 COMPASS_PRIMARY 0 COMPASS_OFS3_X 0 COMPASS_OFS3_Y 0 COMPASS_OFS3_Z 0 COMPASS_MOT3_X 0 COMPASS_MOT3_Y 0 COMPASS_MOT3_Z 0 COMPASS_DEV_ID 466441 COMPASS_DEV_ID2 131594 COMPASS_DEV_ID3 0 COMPASS_USE2 1 COMPASS_ORIENT2 0 COMPASS_EXTERN2 0 COMPASS_USE3 1 COMPASS_ORIENT3 0 COMPASS_EXTERN3 0 COMPASS_DIA_X 1 COMPASS_DIA_Y 1 COMPASS_DIA_Z 1 COMPASS_ODI_X 0 COMPASS_ODI_Y 0 COMPASS_ODI_Z 0 COMPASS_DIA2_X 1 COMPASS_DIA2_Y 1 COMPASS_DIA2_Z 1 COMPASS_ODI2_X 0 COMPASS_ODI2_Y 0 COMPASS_ODI2_Z 0 COMPASS_DIA3_X 0 COMPASS_DIA3_Y 0 COMPASS_DIA3_Z 0 COMPASS_ODI3_X 0 COMPASS_ODI3_Y 0 COMPASS_ODI3_Z 0 COMPASS_CAL_FIT 16 COMPASS_OFFS_MAX 1800 COMPASS_PMOT_EN 0 COMPASS_TYPEMASK 0 COMPASS_FLTR_RNG 0 COMPASS_AUTO_ROT 2 COMPASS_EXP_DID -1 COMPASS_EXP_DID2 -1 COMPASS_EXP_DID3 -1 COMPASS_ENABLE 1 COMPASS_SCALE 0 COMPASS_SCALE2 0 COMPASS_SCALE3 0 COMPASS_OPTIONS 0 INS_GYROFFS_X 0.03441995 INS_GYROFFS_Y 0.02781097 INS_GYROFFS_Z 0.1015252 INS_GYR2OFFS_X 0.1417335 INS_GYR2OFFS_Y -0.08883846 INS_GYR2OFFS_Z 0.08349627 INS_GYR3OFFS_X 0 INS_GYR3OFFS_Y 0 INS_GYR3OFFS_Z 0 INS_ACCSCAL_X 1 INS_ACCSCAL_Y 1 INS_ACCSCAL_Z 1 INS_ACCOFFS_X 0 INS_ACCOFFS_Y 0 INS_ACCOFFS_Z 0 INS_ACC2SCAL_X 1 INS_ACC2SCAL_Y 1 INS_ACC2SCAL_Z 1 INS_ACC2OFFS_X 0 INS_ACC2OFFS_Y 0 INS_ACC2OFFS_Z 0 INS_ACC3SCAL_X 0 INS_ACC3SCAL_Y 0 INS_ACC3SCAL_Z 0 INS_ACC3OFFS_X 0 INS_ACC3OFFS_Y 0 INS_ACC3OFFS_Z 0 INS_GYRO_FILTER 20 INS_ACCEL_FILTER 20 INS_USE 1 INS_USE2 1 INS_USE3 1 INS_STILL_THRESH 2.5 INS_GYR_CAL 1 INS_TRIM_OPTION 1 INS_ACC_BODYFIX 2 INS_POS1_X 0 INS_POS1_Y 0 INS_POS1_Z 0 INS_POS2_X 0 INS_POS2_Y 0 INS_POS2_Z 0 INS_POS3_X 0 INS_POS3_Y 0 INS_POS3_Z 0 INS_GYR_ID 2163722 INS_GYR2_ID 2228490 INS_GYR3_ID 0 INS_ACC_ID 1246218 INS_ACC2_ID 1114634 INS_ACC3_ID 0 INS_FAST_SAMPLE 1 INS_NOTCH_ENABLE 0 INS_LOG_BAT_CNT 1024 INS_LOG_BAT_MASK 0 INS_LOG_BAT_OPT 0 INS_LOG_BAT_LGIN 20 INS_LOG_BAT_LGCT 32 INS_ENABLE_MASK 127 INS_HNTCH_ENABLE 0 WPNAV_SPEED 500 WPNAV_RADIUS 200 WPNAV_SPEED_UP 250 WPNAV_SPEED_DN 150 WPNAV_ACCEL 100 WPNAV_ACCEL_Z 100 WPNAV_RFND_USE 1 LOIT_ANG_MAX 0 LOIT_S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 0 MNT_STAB_PAN 0 MNT_RC_IN_ROLL 0 MNT_ANGMIN_ROL -4500 MNT_ANGMAX_ROL 4500 MNT_RC_IN_TILT 0 MNT_ANGMIN_TIL -4500 MNT_ANGMAX_TIL 4500 MNT_RC_IN_PAN 0 MNT_ANGMIN_PAN -4500 MNT_ANGMAX_PAN 4500 MNT_JSTICK_SPD 0 MNT_LEAD_RLL 0 MNT_LEAD_PTCH 0 MNT_TYPE 0 LOG_BACKEND_TYPE 1 LOG_FILE_BUFSIZE 16 LOG_DISARMED 0 LOG_REPLAY 0 LOG_FILE_DSRMROT 0 LOG_MAV_BUFSIZE 8 LOG_FILE_TIMEOUT 5 BATT_MONITOR 0 BATT2_MONITOR 0 BATT3_MONITOR 0 BATT4_MONITOR 0 BATT5_MONITOR 0 BATT6_MONITOR 0 BATT7_MONITOR 0 BATT8_MONITOR 0 BATT9_MONITOR 0 BRD_PWM_COUNT 4 BRD_SER1_RTSCTS 2 BRD_SER2_RTSCTS 2 BRD_SAFETYENABLE 1 BRD_SBUS_OUT 0 BRD_SERIAL_NUM 0 BRD_SAFETY_MASK 16368 BRD_IMU_TARGTEMP -1 BRD_TYPE 2 BRD_IO_ENABLE 1 BRD_SAFETYOPTION 3 BRD_RTC_TYPES 1 BRD_RTC_TZ_MIN 0 BRD_VBUS_MIN 4.3 BRD_VSERVO_MIN 0 BRD_SD_SLOWDOWN 0 BRD_OPTIONS 1 BRD_BOOT_DELAY 0 BRD_IMUHEAT_P 200 BRD_IMUHEAT_I 0.3 BRD_IMUHEAT_IMAX 70 BRD_ALT_CONFIG 0 CAN_P1_DRIVER 0 CAN_P2_DRIVER 0 CAN_D1_PROTOCOL 1 CAN_D2_PROTOCOL 1 CAN_SLCAN_CPORT 0 CAN_SLCAN_SERNUM -1 CAN_SLCAN_TIMOUT 0 SPRAY_ENABLE 0 GND_ABS_PRESS 50726.98 GND_TEMP 0 GND_ALT_OFFSET 0 GND_PRIMARY 0 GND_EXT_BUS -1 GND_ABS_PRES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UNCTION 0 RNGFND1_MIN_CM 20 RNGFND1_MAX_CM 2000 RNGFND1_STOP_PIN -1 RNGFND1_RMETRIC 1 RNGFND1_PWRRNG 0 RNGFND1_GNDCLEAR 10 RNGFND1_ADDR 0 RNGFND1_POS_X 0 RNGFND1_POS_Y 0 RNGFND1_POS_Z 0 RNGFND1_ORIENT 0 RNGFND2_TYPE 12 RNGFND2_PIN -1 RNGFND2_SCALING 3 RNGFND2_OFFSET 0 RNGFND2_FUNCTION 0 RNGFND2_MIN_CM 20 RNGFND2_MAX_CM 3000 RNGFND2_STOP_PIN -1 RNGFND2_RMETRIC 1 RNGFND2_PWRRNG 0 RNGFND2_GNDCLEAR 10 RNGFND2_ADDR 0 RNGFND2_POS_X 0 RNGFND2_POS_Y 0 RNGFND2_POS_Z 0 RNGFND2_ORIENT 25 RNGFND3_TYPE 0 RNGFND3_PIN -1 RNGFND3_SCALING 3 RNGFND3_OFFSET 0 RNGFND3_FUNCTION 0 RNGFND3_MIN_CM 20 RNGFND3_MAX_CM 700 RNGFND3_STOP_PIN -1 RNGFND3_RMETRIC 1 RNGFND3_PWRRNG 0 RNGFND3_GNDCLEAR 10 RNGFND3_ADDR 0 RNGFND3_POS_X 0 RNGFND3_POS_Y 0 RNGFND3_POS_Z 0 RNGFND3_ORIENT 25 RNGFND4_TYPE 0 RNGFND4_PIN -1 RNGFND4_SCALING 3 RNGFND4_OFFSET 0 RNGFND4_FUNCTION 0 RNGFND4_MIN_CM 20 RNGFND4_MAX_CM 700 RNGFND4_STOP_PIN -1 RNGFND4_RMETRIC 1 RNGFND4_PWRRNG 0 RNGFND4_GNDCLEAR 10 RNGFND4_ADDR 0 RNGFND4_POS_X 0 RNGFND4_POS_Y 0 RNGFND4_POS_Z 0 RNGFND4_ORIENT 25 RNGFND5_TYPE 0 RNGFND5_PIN -1 RNGFND5_SCALING 3 RNGFND5_OFFSET 0 RNGFND5_FUNCTION 0 RNGFND5_MIN_CM 20 RNGFND5_MAX_CM 700 RNGFND5_STOP_PIN -1 RNGFND5_RMETRIC 1 RNGFND5_PWRRNG 0 RNGFND5_GNDCLEAR 10 RNGFND5_ADDR 0 RNGFND5_POS_X 0 RNGFND5_POS_Y 0 RNGFND5_POS_Z 0 RNGFND5_ORIENT 25 RNGFND6_TYPE 0 RNGFND6_PIN -1 RNGFND6_SCALING 3 RNGFND6_OFFSET 0 RNGFND6_FUNCTION 0 RNGFND6_MIN_CM 20 RNGFND6_MAX_CM 700 RNGFND6_STOP_PIN -1 RNGFND6_RMETRIC 1 RNGFND6_PWRRNG 0 RNGFND6_GNDCLEAR 10 RNGFND6_ADDR 0 RNGFND6_POS_X 0 RNGFND6_POS_Y 0 RNGFND6_POS_Z 0 RNGFND6_ORIENT 25 RNGFND7_TYPE 0 RNGFND7_PIN -1 RNGFND7_SCALING 3 RNGFND7_OFFSET 0 RNGFND7_FUNCTION 0 RNGFND7_MIN_CM 20 RNGFND7_MAX_CM 700 RNGFND7_STOP_PIN -1 RNGFND7_RMETRIC 1 RNGFND7_PWRRNG 0 RNGFND7_GNDCLEAR 10 RNGFND7_ADDR 0 RNGFND7_POS_X 0 RNGFND7_POS_Y 0 RNGFND7_POS_Z 0 RNGFND7_ORIENT 25 RNGFND8_TYPE 0 RNGFND8_PIN -1 RNGFND8_SCALING 3 RNGFND8_OFFSET 0 RNGFND8_FUNCTION 0 RNGFND8_MIN_CM 20 RNGFND8_MAX_CM 700 RNGFND8_STOP_PIN -1 RNGFND8_RMETRIC 1 RNGFND8_PWRRNG 0 RNGFND8_GNDCLEAR 10 RNGFND8_ADDR 0 RNGFND8_POS_X 0 RNGFND8_POS_Y 0 RNGFND8_POS_Z 0 RNGFND8_ORIENT 25 RNGFND9_TYPE 0 RNGFND9_PIN -1 RNGFND9_SCALING 3 RNGFND9_OFFSET 0 RNGFND9_FUNCTION 0 RNGFND9_MIN_CM 20 RNGFND9_MAX_CM 700 RNGFND9_STOP_PIN -1 RNGFND9_RMETRIC 1 RNGFND9_PWRRNG 0 RNGFND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0 PRX_IGN_WID2 0 PRX_IGN_ANG3 0 PRX_IGN_WID3 0 PRX_IGN_ANG4 0 PRX_IGN_WID4 0 PRX_IGN_ANG5 0 PRX_IGN_WID5 0 PRX_IGN_ANG6 0 PRX_IGN_WID6 0 ACRO_Y_EXPO 0 ACRO_THR_MID 0 SYSID_ENFORCE 0 STAT_BOOTCNT 76 STAT_FLTTIME 0 STAT_RUNTIME 32272 STAT_RESET -5.049216E+08 GRIP_ENABLE 0 FRAME_CLASS 1 SERVO1_MIN 1100 SERVO1_MAX 1900 SERVO1_TRIM 1500 SERVO1_REVERSED 0 SERVO1_FUNCTION 33 SERVO2_MIN 1100 SERVO2_MAX 1900 SERVO2_TRIM 1500 SERVO2_REVERSED 0 SERVO2_FUNCTION 34 SERVO3_MIN 1100 SERVO3_MAX 1900 SERVO3_TRIM 1500 SERVO3_REVERSED 0 SERVO3_FUNCTION 35 SERVO4_MIN 1100 SERVO4_MAX 1900 SERVO4_TRIM 1500 SERVO4_REVERSED 0 SERVO4_FUNCTION 36 SERVO5_MIN 1100 SERVO5_MAX 1900 SERVO5_TRIM 1500 SERVO5_REVERSED 0 SERVO5_FUNCTION 0 SERVO6_MIN 1100 SERVO6_MAX 1900 SERVO6_TRIM 1500 SERVO6_REVERSED 0 SERVO6_FUNCTION 0 SERVO7_MIN 1100 SERVO7_MAX 1900 SERVO7_TRIM 1500 SERVO7_REVERSED 0 SERVO7_FUNCTION 0 SERVO8_MIN 1100 SERVO8_MAX 1900 SERVO8_TRIM 1500 SERVO8_REVERSED 0 SERVO8_FUNCTION 0 SERVO9_MIN 1100 SERVO9_MAX 1900 SERVO9_TRIM 1500 SERVO9_REVERSED 0 SERVO9_FUNCTION 0 SERVO10_MIN 1100 SERVO10_MAX 1900 SERVO10_TRIM 1500 SERVO10_REVERSED 0 SERVO10_FUNCTION 0 SERVO11_MIN 1100 SERVO11_MAX 1900 SERVO11_TRIM 1500 SERVO11_REVERSED 0 SERVO11_FUNCTION 0 SERVO12_MIN 1100 SERVO12_MAX 1900 SERVO12_TRIM 1500 SERVO12_REVERSED 0 SERVO12_FUNCTION 0 SERVO13_MIN 1100 SERVO13_MAX 1900 SERVO13_TRIM 1500 SERVO13_REVERSED 0 SERVO13_FUNCTION 0 SERVO14_MIN 1100 SERVO14_MAX 1900 SERVO14_TRIM 1500 SERVO14_REVERSED 0 SERVO14_FUNCTION 0 SERVO15_MIN 1100 SERVO15_MAX 1900 SERVO15_TRIM 1500 SERVO15_REVERSED 0 SERVO15_FUNCTION 0 SERVO16_MIN 1100 SERVO16_MAX 1900 SERVO16_TRIM 1500 SERVO16_REVERSED 0 SERVO16_FUNCTION 0 SERVO_RATE 50 SERVO_VOLZ_MASK 0 SERVO_SBUS_RATE 50 SERVO_BLH_MASK 0 SERVO_BLH_AUTO 0 SERVO_BLH_TEST 0 SERVO_BLH_TMOUT 0 SERVO_BLH_TRATE 10 SERVO_BLH_DEBUG 0 SERVO_BLH_OTYPE 0 SERVO_BLH_PORT 0 SERVO_BLH_POLES 14 SERVO_BLH_REMASK 0 SERVO_ROB_POSMIN 0 SERVO_ROB_POSMAX 4095 RC1_MIN 1100 RC1_TRIM 1500 RC1_MAX 1900 RC1_REVERSED 0 RC1_DZ 20 RC1_OPTION 0 RC2_MIN 1100 RC2_TRIM 1500 RC2_MAX 1900 RC2_REVERSED 0 RC2_DZ 20 RC2_OPTION 0 RC3_MIN 1100 RC3_TRIM 1500 RC3_MAX 1900 RC3_REVERSED 0 RC3_DZ 30 RC3_OPTION 0 RC4_MIN 1100 RC4_TRIM 1500 RC4_MAX 1900 RC4_REVERSED 0 RC4_DZ 20 RC4_OPTION 0 RC5_MIN 1100 RC5_TRIM 1500 RC5_MAX 1900 RC5_REVERSED 0 RC5_DZ 0 RC5_OPTION 0 RC6_MIN 1100 RC6_TRIM 1500 RC6_MAX 1900 RC6_REVERSED 0 RC6_DZ 0 RC6_OPTION 0 RC7_MIN 1100 RC7_TRIM 1500 RC7_MAX 1900 RC7_REVERSED 0 RC7_DZ 0 RC7_OPTION 0 RC8_MIN 1100 RC8_TRIM 1500 RC8_MAX 1900 RC8_REVERSED 0 RC8_DZ 0 RC8_OPTION 0 RC9_MIN 1100 RC9_TRIM 1500 RC9_MAX 1900 RC9_REVERSED 0 RC9_DZ 0 RC9_OPTION 0 RC10_MIN 1100 RC10_TRIM 1500 RC10_MAX 1900 RC10_REVERSED 0 RC10_DZ 0 RC10_OPTION 0 RC11_MIN 1100 RC11_TRIM 1500 RC11_MAX 1900 RC11_REVERSED 0 RC11_DZ 0 RC11_OPTION 0 RC12_MIN 1100 RC12_TRIM 1500 RC12_MAX 1900 RC12_REVERSED 0 RC12_DZ 0 RC12_OPTION 0 RC13_MIN 1100 RC13_TRIM 1500 RC13_MAX 1900 RC13_REVERSED 0 RC13_DZ 0 RC13_OPTION 0 RC14_MIN 1100 RC14_TRIM 1500 RC14_MAX 1900 RC14_REVERSED 0 RC14_DZ 0 RC14_OPTION 0 RC15_MIN 1100 RC15_TRIM 1500 RC15_MAX 1900 RC15_REVERSED 0 RC15_DZ 0 RC15_OPTION 0 RC16_MIN 1100 RC16_TRIM 1500 RC16_MAX 1900 RC16_REVERSED 0 RC16_DZ 0 RC16_OPTION 0 RC_OVERRIDE_TIME 3 RC_OPTIONS 0 VISO_TYPE 0 VISO_POS_X 0 VISO_POS_Y 0 VISO_POS_Z 0 VISO_ORIENT 0 TCAL_ENABLED 0 SRTL_ACCURACY 2 SRTL_POINTS 300 PILOT_SPEED_DN 0 LAND_ALT_LOW 1000 FHLD_XY_P 0.2 FHLD_XY_I 0.3 FHLD_XY_IMAX 3000 FHLD_XY_FILT_HZ 5 FHLD_FLOW_MAX 0.6 FHLD_FILT_HZ 5 FHLD_QUAL_MIN 10 FHLD_BRAKE_RATE 8 FOLL_ENABLE 0 AUTOTUNE_AXES 7 AUTOTUNE_AGGR 0.1 AUTOTUNE_MIN_D 0.001 SCR_ENABLE 0 TUNE_MIN 0 TUNE_MAX 0 OA_TYPE 0 SID_AXIS 0 FS_VIBE_ENABLE 1 FS_OPTIONS 0 CAM_RC_TYPE 0
only one radar was working, but with wrong information !
2020-01-20 10-49-49.rar.zip obs.: change to .rar file to extract !
HEXACOPTER WITH ONE RADAR RANGEFINDER ONE SECTOR.mp4.ZIP OBS> VIDEO, only change the extension to MP4 !!!
Thanks for the report.
Normally it's best to report support issues first in the forums: https://discuss.ardupilot.org/c/arducopter/copter-40.
sorry we never got to this.
Bug report
Issue details
Hi team,
My project is to Pixhawk 1 - Arducopter 4.0.1 with 2 radars type UART, but each serial port are different type ! first radar is 1 sector to altimeter and secund is 3 sector to proximity.
The each radar work very well when is alone, but together have a conflit.
First Radar (have a 1 sector) to altimeter: Serial2_type = 9 (Rangefinder) RNG_Orient= 25 (down) RNG_type = 11 (uLanding)
Secund Radar (have 3 sectors) to proximity: Serial4_type = 11 (Lidar360) RNG_Orient= 0 (Forward) RNG_type = 11 (uLanding) apx_type = 3 (TeraRangerTower)
When I try this, the RangeFinder1 show the correct value, when proximity is not detect, alternating this. Version What version was the issue encountered with
Platform [ ] All [ ] AntennaTracker [X ] Copter [ ] Plane [ ] Rover [ ] Submarine
Airframe type What type of airframe (flying wing, glider, hex, Y6, octa etc) hex and quad Hardware type What autopilot hardware was used? (Pixhawk, Cube, Pixracer, Navio2, etc) pixhawk 1 Logs Please provide a link to any relevant logs that show the issue