Forums - With offcial software version, Snapdragon Flight attitude display error on QGC

4 posts / 0 new
Last post
With offcial software version, Snapdragon Flight attitude display error on QGC
pyh
Join Date: 17 Mar 16
Posts: 13
Posted: Thu, 2017-08-17 00:42

Previously, I used the SPEKTRUM transmitter  connect to the snapdragon flight , there was a display error on QGC, just like topic:https://developer.qualcomm.com/forum/qdn-forums/hardware/snapdragon-flig....

I did another test,I use the same snapdragon flight software version:Flight_3.1.3.1_JFlash.zip,and firmware version:   Flight_3.1.3_PX4.zip then start PX4 and connect to the QGC , I found the ground station shows the snapdragon  flight pitch, roll, yaw are chaotic, and always changing large.

Because IMU and rc receiver are work in DSP core, I think both of two error is same.

What shold I do next? Very hope for your replay,thank you !

  • Up0
  • Down0
pyh
Join Date: 17 Mar 16
Posts: 13
Posted: Thu, 2017-08-17 01:20

My dsp log as follow:

mhhk@ubuntu:/home/share$ /home/mhhk/Qualcomm/Hexagon_SDK/3.0/tools/debug/mini-dm/Linux_Debug/mini-dm
Running mini-dm version: 3.0
Device found with Product ID 0x9025. Continuing...
mini-dm is waiting for a DMSS connection...
DMSS is connected. Running mini-dm...
[08500/03]  02:41.021  HAP:63:HAP_debug_v2 weak ref not found, return _rtld_sym_zero@_rtld_objmain  0294  symbol.c
[08500/03]  02:41.021  HAP:63:HAP_debug_v2 weak ref not found, return _rtld_sym_zero@_rtld_objmain  0294  symbol.c
[08500/03]  02:41.022  HAP:63:HAP_debug_v2 weak ref not found, return _rtld_sym_zero@_rtld_objmain  0294  symbol.c
[08500/03]  02:41.022  HAP:63:HAP_debug_v2 weak ref not found, return _rtld_sym_zero@_rtld_objmain  0294  symbol.c
[08500/00]  02:41.023  HAP:63:adsp memory mapped   0155  shmem_qurt.c
[08500/00]  02:41.045  HAP:61:In dspal_entry  0220  main.cpp
[08500/00]  02:41.045  HAP:61:adsp memory mapped   0155  shmem_qurt.c
[08500/00]  02:41.045  HAP:63:TEST px4muorb_topic_advertised of [parameter_update] on remote side...  0167  px4muorb.cpp
[08500/00]  02:41.240  HAP:61:attempting to open the ADSP command file: /dev/fs/px4.config  0184  main.cpp
[08500/00]  02:41.240  HAP:61:reading commands from /dev/fs/px4.config   0191  main.cpp
[08500/03]  02:41.245  HAP:61:Parameter UART_ESC_BAUDRTE not found.  0513  param.c
[08500/02]  02:41.245  HAP:61:Sleeping for 1 s; (1000000 us).   0000  console line:
[08500/00]  02:42.347  HAP:61:1302185 Reset MPU9250   0089  MPU9250.cpp
[08500/00]  02:42.411  HAP:60:1366178 IMU temperature initialized to: 51.138504   0521  MPU9250.cpp
[08500/00]  02:42.413  HAP:61:1367921 additional sensor configuration succeeded   0187  BMP280.cpp
[08500/02]  02:42.440  HAP:44:LED: getHandle fail   0279  commander_helper.cpp
[08500/02]  02:42.440  HAP:44:LED init failed  1427  commander.cpp
[08500/02]  02:42.440  HAP:44:Buzzer: px4_open fail   0132  commander_helper.cpp
[08500/02]  02:42.440  HAP:44:Buzzer init failed  1431  commander.cpp
[08500/02]  02:42.442  HAP:44:Preflight checks always pass on Snapdragon.  0561  PreflightCheck.cpp
[08500/02]  02:42.511  HAP:39:task_main_trampoline  0421  uart_esc_main.cpp
[08500/00]  02:42.511  HAP:39:enter uart_esc task_main  0277  uart_esc_main.cpp
[08500/02]  02:42.511  HAP:38:task_main_trampoline  0178  rc_receiver_main.cpp
[08500/02]  02:42.511  HAP:61:Sleeping for 1 s; (1000000 us).   0001  console line:
[08500/02]  02:42.511  HAP:38:enter rc_receiver task_main  0184  rc_receiver_main.cpp
[08500/00]  02:42.512  configuring UART for 2-wire mode, DAL id: 0x2001008  0859  DalUart.c
[08500/02]  02:42.512  HAP:39:uart_esc_main parameters_update  0150  uart_esc_main.cpp
[08500/02]  02:42.512  HAP:39:UART_ESC_MODEL 2  0155  uart_esc_main.cpp
[08500/02]  02:42.512  HAP:39:UART_ESC_BAUD 250000  0160  uart_esc_main.cpp
[08500/02]  02:42.512  HAP:39:UART_ESC_MOTOR1 4  0166  uart_esc_main.cpp
[08500/02]  02:42.512  HAP:39:UART_ESC_MOTOR2 2  0166  uart_esc_main.cpp
[08500/02]  02:42.512  HAP:39:UART_ESC_MOTOR3 1  0166  uart_esc_main.cpp
[08500/02]  02:42.512  HAP:39:UART_ESC_MOTOR4 3  0166  uart_esc_main.cpp
[08500/00]  02:42.512  configuring UART for 2-wire mode, DAL id: 0x2001005  0859  DalUart.c
[08500/02]  02:42.513  HAP:39:initialized ESC Model: ESC_210QC Device: /dev/tty-2 baudrate: 250000bps  0214  uart_esc.cpp
[08500/00]  02:42.513  HAP:39:Initializing mixer from config file in /dev/fs/mixer_config.mix  0204  uart_esc_main.cpp
[08500/02]  02:42.513  HAP:39:unable to open the specified file path  0167  file.c
[08500/02]  02:42.513  HAP:39:Unable to open mixer config file  0228  uart_esc_main.cpp
[08500/02]  02:42.513  HAP:39:mixer config file not found, successfully initialized default quad x mixer  0249  uart_esc_main.cpp
[08500/00]  02:43.511  HAP:61:PX4 Devices:  0560  vdev.cpp
[08500/00]  02:43.511  HAP:61:DF Devices:  0573  vdev.cpp
[08500/00]  02:43.511  HAP:61:   /dev/imu0  0583  vdev.cpp
[08500/00]  02:43.511  HAP:61:   /dev/baro0  0583  vdev.cpp
[08500/00]  02:43.511  HAP:61:Files:  0609  vdev.cpp
[08500/00]  02:43.512  HAP:61:Active Tasks:  0314  px4_qurt_tasks.cpp
[08500/00]  02:43.512  HAP:61:   dspal      2097663  0318  px4_qurt_tasks.cpp
[08500/00]  02:43.512  HAP:61:   hpwork     2097661  0318  px4_qurt_tasks.cpp
[08500/00]  02:43.512  HAP:61:   lpwork     2097660  0318  px4_qurt_tasks.cpp
[08500/00]  02:43.512  HAP:61:   wkr_hrt    2097659  0318  px4_qurt_tasks.cpp
[08500/00]  02:43.512  HAP:61:   qshell     2097658  0318  px4_qurt_tasks.cpp
[08500/00]  02:43.512  HAP:61:   sensors    2097657  0318  px4_qurt_tasks.cpp
[08500/00]  02:43.512  HAP:61:   commander  2097656  0318  px4_qurt_tasks.cpp
[08500/00]  02:43.512  HAP:61:   ekf2       2097654  0318  px4_qurt_tasks.cpp
[08500/00]  02:43.512  HAP:61:   mc_pos_control 2097653  0318  px4_qurt_tasks.cpp
[08500/00]  02:43.512  HAP:61:   mc_att_control 2097652  0318  px4_qurt_tasks.cpp
[08500/00]  02:43.512  HAP:61:   uart_esc_main 2097651  0318  px4_qurt_tasks.cpp
[08500/00]  02:43.512  HAP:61:   rc_receiver_main 2097650  0318  px4_qurt_tasks.cpp
[08500/00]  02:43.512  HAP:61:Devices:  0593  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/_obj_  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/qshell_req0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/sensor_accel0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/sensor_gyro0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/parameter_update0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/sensor_mag0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/input_rc0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/rc_parameter_map0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/sensor_baro0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/differential_pressure0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/vehicle_control_mode0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/actuator_controls_00  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/sensor_correction0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/sensor_selection0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/sensor_combined0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/sensor_preflight0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/led_control0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/vehicle_status0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/actuator_armed0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/safety0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/mission_result0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/geofence_result0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/manual_control_setpoint0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/offboard_control_mode0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/vehicle_global_position0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/vehicle_local_position0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/vehicle_attitude0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/vehicle_land_detected0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/vehicle_gps_position0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/vehicle_command0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/battery_status0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/subsystem_info0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/position_setpoint_triplet0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/system_power0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/vtol_vehicle_status0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/cpuload0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/vehicle_status_flags0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/commander_state0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/airspeed0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/optical_flow0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/distance_sensor0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/vehicle_vision_position0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/vehicle_vision_attitude0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/ekf2_timestamps0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/control_state0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/home_position0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/vehicle_attitude_setpoint0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/vehicle_rates_setpoint0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/multirotor_motor_limits0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/rc_channels0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/mc_att_ctrl_status0  0599  vdev.cpp
[08500/00]  02:43.512  HAP:61:   /obj/actuator_outputs0  0599  vdev.cpp
[08500/00]  02:46.700  HAP:42:EKF aligned, (pressure height, IMU buf: 15, OBS buf: 14)  0067  control.cpp
[08500/02]  02:48.541  HAP:38:RC signal lost for 6029 ms  0240  rc_receiver_main.cpp
[08500/02]  02:51.696  HAP:42:EKF baro hgt timeout - reset to baro  0547  control.cpp
[08500/02]  02:54.075  HAP:38:RC signal lost for 11562 ms  0240  rc_receiver_main.cpp
[08500/02]  02:59.388  HAP:42:EKF baro hgt timeout - reset to baro  0547  control.cpp
[08500/02]  02:59.608  HAP:38:RC signal lost for 17096 ms  0240  rc_receiver_main.cpp
 
 
My linux-core log as follow:
root@linaro-developer:/home/linaro# ./px4 mainapp.config
sh: 1: cannot create /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor: Directory nonexistent
commands file: mainapp.config
 
______  __   __    ___ 
| ___ \ \ \ / /   /   |
| |_/ /  \ V /   / /| |
|  __/   /   \  / /_| |
| |     / /^\ \ \___  |
\_|     \/   \/     |_/
 
px4 starting.
 
* MAV_BROADCAST: curr: 0 -> new: 1
INFO  [mavlink] mode: Normal, data rate: 2880 B/s on udp port 14556 remote port 14550
INFO  [mavlink] mode: Normal, data rate: 2880 B/s on udp port 14557 remote port 14558
Sleeping for 1 s; (1000000 us).
pxh> INFO  [mavlink] using network interface wlan0, IP: 192.168.1.128
INFO  [mavlink] with broadcast IP: 192.168.1.255
INFO  [mavlink] using network interface wlan0, IP: 192.168.1.128
INFO  [mavlink] with broadcast IP: 192.168.1.255
 
 
Hope for your reply!  Thank you!

 

  • Up0
  • Down0
James Wilson Moderator
Join Date: 11 Apr 14
Posts: 175
Posted: Thu, 2017-09-14 19:05

My apologies for not replying sooner.

Did you calibrate the sensors, including the IMU, which would prevent you from arming for flight?

Jim W.

  • Up0
  • Down0
pyh
Join Date: 17 Mar 16
Posts: 13
Posted: Thu, 2017-09-14 19:41

Hi Jim W.,thank you for reply.I found my IMU data is error,because the sensor is error.I had use another Snapdragon flight for test,and the imu data is right.

Thank you!

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.