# GPS not working

Source: https://forum.modalai.com/topic/2063/gps-not-working
Category: Development Drones (https://forum.modalai.com/category/44/development-drones)
Tags: sentinel
Posted: 2023-04-12 16:03:19 UTC by Andre Moura
Replies: 48 · Views: 29636

## Andre Moura · 2023-04-12 16:03:19 UTC

Hello,

I'm testing the sentinel drone for outdoor flight and we have no GPS data on QGroundControl.

The light for GPS fixed is blinking, indicating that the sensor is getting signal and being fixed.

This is the list of voxl-services running:

![image.png](https://forum.modalai.com/assets/uploads/files/1681314234893-image.png) 

Some things that appear to be wrong:

* NUTTX console is not responding to any commands, on QGC through Wi-Fi;

* When I tried to upload the parameters file "voxl-4-params/params/v1.12/ekf2_outdoor_gps_mag.params" there were no problems, but I still have no GPS and when I tried to upload "voxl-4-params/params/v1.14/EKF2_helpers/outdoor_gps_baro.params" the following error appears in QGC: "Parameters are missing from firmware. (...) Missing params: 1:EKF2_EV_CTRL, 1:EKF2_GPS_CTRL, 1:EKF2_HGT_REF, 1:SYS_HAS_GPS".

Would appreciate any help solving this issue. Thank you!

## Reply by Eric Katzfey (ModalAI staff) · 2023-04-12 16:50:33 UTC

@andremoura The VOXL2 version of PX4 is different than what you get on a standard Pixhawk style flight controller (e.g. flight core). On VOXL2 the implementation is split between the application processor (running Linux) and the Sensors DSP (Running Qualcomm's Qurt RTOS). So Nuttx is not used at all on VOXL2 PX4. However, there are still ways to interact with PX4 via the console.

## Reply by Eric Katzfey (ModalAI staff) · 2023-04-12 16:54:12 UTC

@andremoura One way to interact with PX4 on VOXL2 is using PX4 command aliases. For example, if you want to run the command `listener sensor_gps` to see if the GPS unit is publishing GPS data then you could use an adb shell to enter the following command alias `px4-listener sensor_gps` and it will show you the latest published data from the GPS sensor or say never published.

## Reply by Andre Moura · 2023-04-12 17:29:47 UTC

I tested the "px4-listener sensor_gps" command, as you proposed and the output was "never published", even though the GPS is fixed.

I also tried "px4-gps status" and got "INFO [gps] not running". Then I also tried px4-gps stop and start, but no difference in the status.

## Reply by Eric Katzfey (ModalAI staff) · 2023-04-13 15:43:44 UTC (in reply to Andre Moura)

@andremoura The GPS unit will come up and get a fix on it's own after it has been powered on so that doesn't indicate anything about the health of the connection to the flight controller. If the result of `px4-listener sensor_gps` is never published then there is likely a problem with your connection to the GPS unit. The GPS driver on VOXL2 runs on the DSP, not on the applications processor so you have to use `qshell` to interact with it. So, for status, you would use `px4-qshell gps status`. Have you made any changes to the Sentinel hardware or is it exactly the same as it was shipped?

## Reply by Andre Moura · 2023-04-13 16:24:00 UTC (in reply to Eric Katzfey)

@Eric-Katzfey The sentinel is as it was on arrival 2 days ago, no hardware changes.

We ran ```px4-shell gps status``` and got:
```
voxl2:~$ px4-qshell gps status
INFO  [qshell] Send cmd: 'gps status'
INFO  [qshell] qshell return value timestamp: 801929670, local time: 801931434
```

## Reply by Eric Katzfey (ModalAI staff) · 2023-04-13 16:50:25 UTC (in reply to Andre Moura)

@andremoura Okay, that's not very useful. Let's try something else. First of all can you post the contents of the file `/etc/systemd/system/voxl-px4.service`? Then, stop the service from autostarting voxl-px4 with the commands `systemctl disable voxl-px4` and `sync`. Then reboot the drone. When you adb back in to the drone you can run `voxl-inspect-services` to verify that voxl-px4 isn't running. Then you can start voxl-px4 manually from the command line with `voxl-px4` and then post all of the output from that.

## Reply by Andre Moura · 2023-04-13 17:12:26 UTC (in reply to Eric Katzfey)

@Eric-Katzfey After manually stopping and starting the ```voxl-px4``` service, it has been working on startup.
Very strange, since when I first noticed the GPS issue, the service was running from startup but not receiving any data (as seen on my console print). However, now it seems to work every time we shut down and power on the drone.

Thank you for your help!

## Reply by Eric Katzfey (ModalAI staff) · 2023-04-13 17:48:52 UTC (in reply to Andre Moura)

@andremoura Okay, that's unexpected. Oh well, at least it is working now! Let me know if it starts to give trouble again.

## Reply by Andre Moura · 2023-04-14 15:06:09 UTC (in reply to Eric Katzfey)

@Eric-Katzfey Unfortunately the GPS is not working as expected. Yesterday we were momentarily able to get between 9-12 satellites, which I think is a little low. With that number of satellites, we were not able to get GPS lock on the drone, QGC displayed an error related to GPS accuracy too low. Even after allowing to arm without GPS lock and flying at about 15 m, the number of satellites didn't change and we couldn't even put the drone in position mode, because of not being GPS locked. 

What we did to be able to even get those satellites was ```systemctl disable voxl-px4``` , ```systemctl disable voxl-mavlink-server```, rebooted the drone and, in two different ssh shells, ran both services manually. 

Today, using this approach, I'm not even able to get any satellites at all. All the following tests were done with the ```ekf2_outdoor_gps_mag.params``` configuration file from your Gitlab.

The output from ```voxl-px4``` was:
```
voxl2:~$ voxl-px4
Found DSP signature file
INFO  [px4] mlockall() enabled. PX4's virtual address space is locked into RAM.
INFO  [px4] assuming working directory is rootfs, no symlinks needed.

______  __   __    ___ 
| ___ \ \ \ / /   /   |
| |_/ /  \ V /   / /| |
|  __/   /   \  / /_| |
| |     / /^\ \ \___  |
\_|     \/   \/     |_/

px4 starting.

INFO  [px4] Calling startup script: /bin/sh /etc/modalai/voxl-px4.config 0
Running on M0054
INFO  [muorb] SLPI: Creating qurt thread hpwork

INFO  [muorb] SLPI: Successfully created px4 task PX4_hpwork with tid 82
INFO  [muorb] SLPI: Creating qurt thread lpwork

INFO  [muorb] SLPI: Successfully created px4 task PX4_lpwork with tid 81
INFO  [muorb] SLPI: Creating qurt thread wkr_hrt

INFO  [muorb] SLPI: Successfully created px4 task PX4_wkr_hrt with tid 80
INFO  [muorb] SLPI: Creating qurt thread client_sync_thread

INFO  [muorb] SLPI: Successfully created px4 task PX4_client_sync_thread with tid 79
INFO  [muorb] SLPI: Creating qurt thread wq_manager

INFO  [muorb] SLPI: Successfully created px4 task PX4_wq_manager with tid 78
INFO  [muorb] SLPI: Creating qurt thread qshell

INFO  [muorb] SLPI: Successfully created px4 task PX4_qshell with tid 77
INFO  [qshell] Send cmd: 'icm42688p start -s'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: icm42688p start -s
INFO  [muorb] SLPI: Creating qurt thread wq_SPI1

INFO  [muorb] SLPI: Successfully created px4 task PX4_wq_SPI1 with tid 76
INFO  [muorb] SLPI: *** SPI Device ID 0x26000a 2490378
INFO  [uorb] Advertising remote topic sensor_accel
INFO  [uorb] Marking DeviceNode(parameter_server_set_used_request) as advertised in process_remote_topic
INFO  [muorb] SLPI: Marking DeviceNode(parameter_server_set_used_response) as advertised in process_remote_to
INFO  [uorb] Advertising remote topic sensor_gyro
INFO  [uorb] Advertising remote topic imu_server
INFO  [muorb] SLPI: on SPI bus 1
INFO  [muorb] SLPI: icm42688p #0 on SPI bus 1 (devid=0x0)
INFO  [muorb] SLPI: 

INFO  [muorb] SLPI: Ok executing command: icm42688p start -s
INFO  [muorb] SLPI: Sending qshell retval with timestamp 23323798, current timestamp 23323799
INFO  [uorb] Advertising remote topic qshell_retval
INFO  [qshell] qshell return value timestamp: 23323798, local time: 23327958
INFO  [muorb] SLPI: Marking DeviceNode(parameter_client_reset_request) as advertised in process_remote_topic
ERROR [muorb] SLPI: Cannot reset all parameters on client side
INFO  [uorb] Marking DeviceNode(parameter_client_reset_response) as advertised in process_remote_topic
INFO  [muorb] SLPI: Advertising remote topic parameter_update
INFO  [muorb] SLPI: Marking DeviceNode(parameter_client_set_value_request) as advertised in process_remote_to
INFO  [uorb] Marking DeviceNode(parameter_client_set_value_response) as advertised in process_remote_topic
INFO  [logger] logger started (mode=all)
Starting Holybro magnetometer
INFO  [qshell] Send cmd: 'ist8310 start -R 10 -X -b 1'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: ist8310 start -R 10 -X -b 1
INFO  [muorb] SLPI: Creating qurt thread wq_I2C1

INFO  [muorb] SLPI: Successfully created px4 task PX4_wq_I2C1 with tid 75
INFO  [muorb] SLPI: *** I2C Device ID 0x60e09 396809
INFO  [muorb] SLPI: ist8310 #0 on I2C bus 1 (external)

INFO  [muorb] SLPI: Ok executing command: ist8310 start -R 10 -X -b 1
INFO  [muorb] SLPI: Sending qshell retval with timestamp 26405496, current timestamp 26405497
INFO  [qshell] qshell return value timestamp: 26405496, local time: 26406391
Starting Holybro LED driver
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: rgbled_ncp5623c start -X -b 1 -f 400 -a 56
INFO  [muorb] SLPI: *** I2C Device ID 0x7b3809 8075273
INFO  [qshell] Send cmd: 'rgbled_ncp5623c start -X -b 1 -f 400 -a 56'
INFO  [muorb] SLPI: rgbled_ncp5623c #0 on I2C bus 1 (external)

INFO  [muorb] SLPI: Ok executing command: rgbled_ncp5623c start -X -b 1 -f 400 -a 56
INFO  [muorb] SLPI: Sending qshell retval with timestamp 26445017, current timestamp 26445018
INFO  [qshell] qshell return value timestamp: 26445017, local time: 26445673
INFO  [qshell] Send cmd: 'icp10100 start -I -b 5'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: icp10100 start -I -b 5
INFO  [muorb] SLPI: Creating qurt thread wq_I2C5

INFO  [muorb] SLPI: Successfully created px4 task PX4_wq_I2C5 with tid 74
INFO  [muorb] SLPI: *** I2C Device ID 0x9c6329 10249001
INFO  [muorb] SLPI: probe probe succeeded. data = 0x1 0x48
INFO  [muorb] SLPI: icp10100 #0 on I2C bus 5

INFO  [muorb] SLPI: Ok executing command: icp10100 start -I -b 5
INFO  [muorb] SLPI: Sending qshell retval with timestamp 26486020, current timestamp 26486021
INFO  [qshell] qshell return value timestamp: 26486020, local time: 26487682
INFO  [uorb] Advertising remote topic sensor_mag
INFO  [qshell] Send cmd: 'modalai_esc start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: modalai_esc start
INFO  [muorb] SLPI: Creating qurt thread wq_hp_default

INFO  [muorb] SLPI: Successfully created px4 task PX4_wq_hp_default with tid 73
INFO  [uorb] Advertising remote topic sensor_baro
INFO  [uorb] Advertising remote topic test_motor
INFO  [muorb] SLPI: Ok executing command: modalai_esc start
INFO  [muorb] SLPI: Sending qshell retval with timestamp 26546800, current timestamp 26546801
INFO  [muorb] SLPI: Opened UART ESC device
INFO  [qshell] qshell return value timestamp: 26546800, local time: 26548152
INFO  [qshell] Send cmd: 'mixer load /dev/uart_esc quad_x.main.mix'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: mixer load /dev/uart_esc quad_x.main.mix
INFO  [muorb] SLPI: Creating qurt thread wq_rate_ctrl

INFO  [muorb] SLPI: Successfully created px4 task PX4_wq_rate_ctrl with tid 71
INFO  [muorb] SLPI: Ok executing command: mixer load /dev/uart_esc quad_x.main.mix
INFO  [muorb] SLPI: Sending qshell retval with timestamp 26609932, current timestamp 26609933
INFO  [qshell] qshell return value timestamp: 26609932, local time: 26611050
INFO  [uorb] Advertising remote topic actuator_outputs
INFO  [uorb] Advertising remote topic multirotor_motor_limits
INFO  [qshell] Send cmd: 'voxlpm start -X -b 2'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: voxlpm start -X -b 2
INFO  [muorb] SLPI: Creating qurt thread wq_I2C2

INFO  [muorb] SLPI: Successfully created px4 task PX4_wq_I2C2 with tid 4169
INFO  [muorb] SLPI: *** I2C Device ID 0x784411 7881745
INFO  [uorb] Advertising remote topic battery_status
INFO  [muorb] SLPI: voxlpm #0 on I2C bus 2 (external)

INFO  [muorb] SLPI: Ok executing command: voxlpm start -X -b 2
INFO  [muorb] SLPI: Sending qshell retval with timestamp 26674290, current timestamp 26674291
INFO  [qshell] qshell return value timestamp: 26674290, local time: 26675325
INFO  [uorb] Advertising remote topic power_monitor
Starting Holybro GPS
INFO  [qshell] Send cmd: 'gps start -d 7 -b 115200'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: gps start -d 7 -b 115200
INFO  [muorb] SLPI: Creating qurt thread gps

INFO  [muorb] SLPI: Successfully created px4 task PX4_gps with tid 70
INFO  [muorb] SLPI: Ok executing command: gps start -d 7 -b 115200
INFO  [muorb] SLPI: Sending qshell retval with timestamp 26712883, current timestamp 26712884
INFO  [qshell] qshell return value timestamp: 26712883, local time: 26713903
INFO  [qshell] Send cmd: 'px4io detect'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: px4io detect
INFO  [muorb] SLPI: serial port fd 2
ERROR [muorb] SLPI: px4io read failed
ERROR [muorb] SLPI: px4io io_reg_get(0,0,1): data error -5
ERROR [muorb] SLPI: IO not installed
ERROR [muorb] SLPI: Detection attempt 2 failed
ERROR [muorb] SLPI: Detection attempt 1 failed
ERROR [muorb] SLPI: Detection attempt 0 failed
ERROR [muorb] SLPI: Failed to execute command: px4io detect
INFO  [muorb] SLPI: Sending qshell retval with timestamp 26777758, current timestamp 26777759
INFO  [qshell] cmd returned with: -17
INFO  [qshell] qshell return value timestamp: 26777758, local time: 26778378
ERROR [qshell] Command failed
M0065 not detected, starting Spektrum RC driver
INFO  [qshell] Send cmd: 'spektrum_rc start -d 8'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: spektrum_rc start -d 8
INFO  [muorb] SLPI: Creating qurt thread spektrum_rc_main

INFO  [muorb] SLPI: Successfully created px4 task PX4_spektrum_rc_main with tid 67
INFO  [muorb] SLPI: Ok executing command: spektrum_rc start -d 8
INFO  [muorb] SLPI: Sending qshell retval with timestamp 26822566, current timestamp 26822566
INFO  [qshell] qshell return value timestamp: 26822566, local time: 26823292
INFO  [qshell] Send cmd: 'sensors start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: sensors start
INFO  [muorb] SLPI: Creating qurt thread wq_nav_and_controllers

INFO  [muorb] SLPI: Successfully created px4 task PX4_wq_nav_and_controllers with tid 66
INFO  [muorb] SLPI: Ok executing command: sensors start
INFO  [muorb] SLPI: Sending qshell retval with timestamp 27885493, current timestamp 27885494
INFO  [uorb] Advertising remote topic vehicle_angular_acceleration
INFO  [uorb] Advertising remote topic vehicle_angular_velocity
INFO  [qshell] qshell return value timestamp: 27885493, local time: 27890054
INFO  [muorb] SLPI: Creating qurt thread wq_INS0

INFO  [muorb] SLPI: Successfully created px4 task PX4_wq_INS0 with tid 65
INFO  [uorb] Advertising remote topic vehicle_imu
INFO  [uorb] Advertising remote topic vehicle_imu_status
INFO  [uorb] Advertising remote topic sensors_status_imu
INFO  [uorb] Advertising remote topic vehicle_acceleration
INFO  [uorb] Advertising remote topic vehicle_air_data
INFO  [uorb] Advertising remote topic sensor_selection
INFO  [uorb] Advertising remote topic sensor_combined
INFO  [qshell] Send cmd: 'ekf2 start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: ekf2 start
INFO  [muorb] SLPI: Ok executing command: ekf2 start
INFO  [muorb] SLPI: Sending qshell retval with timestamp 28080230, current timestamp 28080231
INFO  [qshell] qshell return value timestamp: 28080230, local time: 28081490
INFO  [uorb] Advertising remote topic ekf2_timestamps
INFO  [qshell] Send cmd: 'mc_pos_control start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: mc_pos_control start
INFO  [muorb] SLPI: Ok executing command: mc_pos_control start
INFO  [muorb] SLPI: Sending qshell retval with timestamp 28141872, current timestamp 28141873
INFO  [qshell] qshell return value timestamp: 28141872, local time: 28143606
INFO  [qshell] Send cmd: 'mc_att_control start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: mc_att_control start
INFO  [muorb] SLPI: Ok executing command: mc_att_control start
INFO  [muorb] SLPI: Sending qshell retval with timestamp 28193889, current timestamp 28193890
INFO  [qshell] qshell return value timestamp: 28193889, local time: 28194908
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: mc_rate_control start
INFO  [qshell] Send cmd: 'mc_rate_control start'
INFO  [muorb] SLPI: Ok executing command: mc_rate_control start
INFO  [muorb] SLPI: Sending qshell retval with timestamp 28277320, current timestamp 28277321
INFO  [qshell] qshell return value timestamp: 28277320, local time: 28277781
INFO  [qshell] Send cmd: 'mc_hover_thrust_estimator start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: mc_hover_thrust_estimator start
INFO  [muorb] SLPI: Ok executing command: mc_hover_thrust_estimator start
INFO  [muorb] SLPI: Sending qshell retval with timestamp 28316740, current timestamp 28316741
INFO  [qshell] qshell return value timestamp: 28316740, local time: 28317757
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [qshell] Send cmd: 'land_detector start multicopter'
INFO  [muorb] SLPI: qshell gotten: land_detector start multicopter
INFO  [muorb] SLPI: Ok executing command: land_detector start multicopter
INFO  [muorb] SLPI: Sending qshell retval with timestamp 28355231, current timestamp 28355232
INFO  [qshell] qshell return value timestamp: 28355231, local time: 28356012
INFO  [uorb] Advertising remote topic vehicle_land_detected
INFO  [muorb] SLPI: 28570980: reset position to last known position
INFO  [muorb] SLPI: 28570980: reset velocity to zero
INFO  [uorb] Advertising remote topic vehicle_local_position
INFO  [uorb] Advertising remote topic vehicle_odometry
INFO  [uorb] Advertising remote topic estimator_states
INFO  [uorb] Advertising remote topic estimator_status
INFO  [uorb] Advertising remote topic estimator_status_flags
INFO  [uorb] Advertising remote topic estimator_innovations
INFO  [uorb] Advertising remote topic estimator_innovation_test_ratios
INFO  [uorb] Advertising remote topic estimator_innovation_variances
INFO  [dataman] Unknown restart, data manager file '/data/px4/dataman' size is 11798680 bytes
INFO  [muorb] SLPI: Advertising remote topic position_setpoint_triplet
INFO  [commander] LED: open /dev/led0 failed (22)
INFO  [muorb] SLPI: Advertising remote topic led_control
INFO  [muorb] SLPI: Advertising remote topic tune_control
INFO  [PreFlightCheck] Failed EKF health preflight check while waiting for filter to settle
INFO  [muorb] SLPI: Advertising remote topic vehicle_control_mode
INFO  [muorb] SLPI: Advertising remote topic vehicle_status
INFO  [muorb] SLPI: Advertising remote topic actuator_armed
INFO  [uorb] Advertising remote topic rate_ctrl_status
INFO  [uorb] Advertising remote topic actuator_controls_0
INFO  [muorb] SLPI: Advertising remote topic commander_state
INFO  [muorb] SLPI: Advertising remote topic vehicle_status_flags
INFO  [muorb] SLPI: Advertising remote topic vehicle_command
INFO  [commander] Handling Commander command 176
INFO  [muorb] SLPI: Advertising remote topic vehicle_command_ack
INFO  [mavlink] mode: Onboard, data rate: 100000 B/s on udp port 14556 remote port 14557
INFO  [muorb] SLPI: Marking DeviceNode(vehicle_command) as advertised in process_remote_topic
INFO  [uorb] Advertising remote topic estimator_sensor_bias
INFO  [px4] Startup script returned successfully
pxh> INFO  [muorb] SLPI: Advertising remote topic telemetry_status
INFO  [muorb] SLPI: 34702200: EKF aligned, (baro hgt, IMU buf: 11, OBS buf: 8)
INFO  [uorb] Advertising remote topic vehicle_attitude
INFO  [uorb] Advertising remote topic vehicle_attitude_setpoint
INFO  [uorb] Advertising remote topic vehicle_rates_setpoint
```

Inside the pxh console, we ran the ```gps status``` command and got:

```
INFO  [gps] not running
Command 'gps' failed, returned -1.
```

I find this strange since when we ran the ```voxl-px4``` service it had the start command for the gps. Since gps was not running, I decided to test again the gps start by doing ```gps stop``` and then ```gps start -d 7 -b 115200```, that appeared on the output of ```voxl-px4``. The console output was:
```
ERROR [gps] GPS: failed to open serial port: 7 err: 2
```

We also tried the same with ```qshell```.
 ```qshell gps status``` outputted:
```
pxh> qshell gps status
INFO  [qshell] Send cmd: 'gps status'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: gps status
INFO  [muorb] SLPI: Main GPS
INFO  [muorb] SLPI: protocol: UBX
INFO  [muorb] SLPI: status: NOT OK, port: 6, baudrate: 115200
INFO  [muorb] SLPI: sat info: disabled
INFO  [muorb] SLPI: rate reading: 		     0 B/s
INFO  [muorb] SLPI: Ok executing command: gps status
INFO  [muorb] SLPI: Sending qshell retval with timestamp 318302556, current timestamp 318302557
INFO  [qshell] qshell return value timestamp: 318302556, local time: 318308860
```
We also tried to stop and run it again with ```qshell gps stop``` and ```qshell gps start```.

After this, the output of ```qshell gps status``` was:
```
pxh> qshell gps status
INFO  [qshell] Send cmd: 'gps status'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: gps status
INFO  [muorb] SLPI: Main GPS
INFO  [muorb] SLPI: protocol: UBX
INFO  [muorb] SLPI: status: OK, port: 6, baudrate: 115200
INFO  [muorb] SLPI: sat info: disabled
INFO  [muorb] SLPI: rate reading: 		   695 B/s
INFO  [muorb] SLPI: rate position: 		  5.00 Hz
INFO  [muorb] SLPI: rate velocity: 		  5.00 Hz
INFO  [muorb] SLPI: rate publication:		  5.00 Hz
INFO  [muorb] SLPI: rate RTCM injection:	  0.00 Hz
INFO  [muorb] SLPI:  sensor_gps_s

INFO  [muorb] SLPI: 	timestamp: 405957015  (0.197956 seconds ago)

INFO  [muorb] SLPI: 	time_utc_usec: 0

INFO  [muorb] SLPI: 	lat: 0

INFO  [muorb] SLPI: 	lon: 0

INFO  [muorb] SLPI: 	alt: -17000

INFO  [muorb] SLPI: 	alt_ellipsoid: 0

INFO  [muorb] SLPI: 	s_variance_m_s: 1000.0001

INFO  [muorb] SLPI: 	c_variance_rad: 3.1416

INFO  [muorb] SLPI: 	eph: 4294967.5000

INFO  [muorb] SLPI: 	epv: 3772217.5000

INFO  [muorb] SLPI: 	hdop: 99.9900

INFO  [muorb] SLPI: 	vdop: 99.9900

INFO  [muorb] SLPI: 	noise_per_ms: 93

INFO  [muorb] SLPI: 	jamming_indicator: 30

INFO  [muorb] SLPI: 	vel_m_s: 0.0000

INFO  [muorb] SLPI: 	vel_n_m_s: 0.0000

INFO  [muorb] SLPI: 	vel_e_m_s: 0.0000

INFO  [muorb] SLPI: 	vel_d_m_s: 0.0000

INFO  [muorb] SLPI: 	cog_rad: 0.0000

INFO  [muorb] SLPI: 	timestamp_time_relative: 0

INFO  [muorb] SLPI: 	heading: -nan

INFO  [muorb] SLPI: 	heading_offset: 0.0000

INFO  [muorb] SLPI: 	fix_type: 0

INFO  [muorb] SLPI: 	jamming_state: 0

INFO  [muorb] SLPI: 	vel_ned_valid: False

INFO  [muorb] SLPI: 	satellites_used: 0

INFO  [muorb] SLPI: Ok executing command: gps status
INFO  [muorb] SLPI: Sending qshell retval with timestamp 406155973, current timestamp 406155974
INFO  [qshell] qshell return value timestamp: 406155973, local time: 406158054
```

Any ideia of what the problem could be?

I also noticed the following errors on the ```voxl-px4``` output:
```
ERROR [muorb] SLPI: px4io read failed
ERROR [muorb] SLPI: px4io io_reg_get(0,0,1): data error -5
ERROR [muorb] SLPI: IO not installed
ERROR [muorb] SLPI: Detection attempt 2 failed
ERROR [muorb] SLPI: Detection attempt 1 failed
ERROR [muorb] SLPI: Detection attempt 0 failed
ERROR [muorb] SLPI: Failed to execute command: px4io detect
```
Is this normal?

Thank you.

## Reply by Eric Katzfey (ModalAI staff) · 2023-04-14 15:20:02 UTC (in reply to Andre Moura)

@andremoura Yes, the errors related to px4io detection are expected since you do not have a px4io unit attached to the drone. And yes, you have to interact with things on the DSP (where the GPS driver runs) with `qshell` as you already figured out. Do you have any other Sentinel drones that you can compare against? Or other types of drones with GPS to compare against? When you are able to get 9 to 12 satellites what does `qshell gps status` show? It does appear to be wired up correctly as sometimes it is obviously communicating with the GPS unit.

## Reply by Eric Katzfey (ModalAI staff) · 2023-04-14 15:22:02 UTC (in reply to Andre Moura)

@andremoura It looks like there are at least 2 different issues here. One is that when you do see it working it has poor performance and doesn't get a lock. That is why I wanted to compare against other drones or other GPS units. If other units are working fine and this one isn't then maybe it's a faulty unit. If they all have poor performance then maybe it's something about the test location.

## Reply by Eric Katzfey (ModalAI staff) · 2023-04-14 15:25:52 UTC (in reply to Andre Moura)

@andremoura The other issue appears to be that you don't always get the driver to communicate with the GPS unit on startup. The start line in `/etc/modalai/voxl-px4.config` is `qshell gps start -d 7 -b 115200`. When you did `qshell gps stop` and then `qshell gps start` was it started with `qshell gps start -d 7 -b 115200` or just `qshell gps start`?

## Reply by Andre Moura · 2023-04-14 16:13:17 UTC (in reply to Eric Katzfey)

@Eric-Katzfey We don't have any other Sentinel drones. We have other drones with GPS, that detect at least the same or higher number of satellites but they all are able to GPS lock.

When we had that number of satellites, the ```qshell gps status``` seemed ok with number of satellites, latitude and longitude, but we aren't able to replicate that test right now because of bad weather conditions.

## Reply by Andre Moura · 2023-04-14 16:16:55 UTC (in reply to Eric Katzfey)

@Eric-Katzfey I will test the Sentinel drone on a new better location next week, if weather gets better, and I will get back to you.

## Reply by Andre Moura · 2023-04-14 16:21:16 UTC (in reply to Eric Katzfey)

@Eric-Katzfey GPS mostly hasn't beeen working on startup again.

We started it with ```qshell gps start```, but we also tested ```qshell gps start -d 7 -b 115200```. Both commands only worked a few times, we are not able to consistently start the GPS, having to stop and start again the service a few times before it works.

## Reply by Eric Katzfey (ModalAI staff) · 2023-04-14 16:27:31 UTC (in reply to Andre Moura)

@andremoura Is the LED on top of the unit (multicolor LED) coming on?

## Reply by Andre Moura · 2023-04-14 16:30:02 UTC (in reply to Eric Katzfey)

@Eric-Katzfey said in [GPS not working](/post/9658):
> @andremoura Is the LED on top of the unit (multicolor LED) coming on?

Yes, every time ```voxl-px4``` is running.

## Reply by Eric Katzfey (ModalAI staff) · 2023-04-14 16:42:21 UTC (in reply to Andre Moura)

@andremoura Okay, good. Holybro changed some of the components in their unit at one point and if that LED wasn't coming on it could indicate that it was one of the older units. But since it is on that indicates to me that it is the correct version of the Holybro unit.

## Reply by Andre Moura · 2023-04-14 16:45:56 UTC

@Eric-Katzfey Ok, new find! It seems that when ```voxl-px4``` runs, the GPS service isn't able to start immediately, but if we wait a for a bit and start it manually, it works.

Seems like something isn't ready to start immediately after ```voxl-px4```.

## Reply by Eric Katzfey (ModalAI staff) · 2023-04-14 16:53:25 UTC (in reply to Andre Moura)

@andremoura Interesting! Okay, how do you accomplish that? Do you mean you are stopping the service and then starting voxl-px4 later manually or you are leaving voxl-px4 service enabled but commenting out the gps start line in `/etc/modalai/voxl-px4.config`?

## Reply by Andre Moura · 2023-04-14 17:22:34 UTC (in reply to Eric Katzfey)

@Eric-Katzfey We are stopping the GPS service manually (```qshell gps stop```) and then starting it later manually (```qshell gps start```), not the ```voxl-px4```.

Do you want us to do the same test with commenting the gps start line in ```/etc/modalai/voxl-px4.config```?

## Reply by Eric Katzfey (ModalAI staff) · 2023-04-14 17:29:39 UTC (in reply to Andre Moura)

@andremoura Actually, can you try removing the `-d 7 -b 115200` from the gps start line in `/etc/modalai/voxl-px4.config` and see if that changes anything? Thanks for trying all this stuff out!

## Reply by Andre Moura · 2023-04-17 14:47:01 UTC (in reply to Eric Katzfey)

@Eric-Katzfey Hello, today I tested removing ```-d 7 -b 115200``` from ```/etc/modalai/voxl-px4.config``` and it seems like the GPS service is working correctly on startup. I'm still going to test if I can get more fixed satellites and GPS lock on a new location with more open space and then get back to this post with more information.

## Reply by Andre Moura · 2023-04-17 15:42:03 UTC (in reply to Eric Katzfey)

@Eric-Katzfey On the new location, we were able to get GPS lock after fixing 12 satellites, which allowed for take-off. During flight we reached 19 satellites at one point. Getting GPS lock with this sensor is a bit challenging, our previous location didn't have that many obstructions, but everything seems to be working.

## Reply by Eric Katzfey (ModalAI staff) · 2023-04-17 16:02:21 UTC (in reply to Andre Moura)

@Andre-Moura Thanks for all of the testing! We really appreciate it, this is all great feedback! It seems that Holybro may have changed the default configuration of the units and that could be why it wasn't coming up properly.

## Reply by daniel · 2023-04-19 09:25:19 UTC (in reply to Andre Moura)

@Andre-Moura We have same issue here but we try to remove -d 7 -b 115200 from /etc/modalai/voxl-px4.config is still not working. Did you modify thr code like this?
![efbb3413-b105-4c9e-9c2e-0f2349389742-image.png](https://forum.modalai.com/assets/uploads/files/1681896174229-efbb3413-b105-4c9e-9c2e-0f2349389742-image.png) 

Removing the 115200 baud rate is still not see GPS log.
![ad127a05-5515-4a8f-9e1b-af96fd7a9625-image.png](https://forum.modalai.com/assets/uploads/files/1681896310086-ad127a05-5515-4a8f-9e1b-af96fd7a9625-image.png)

## Reply by Andre Moura · 2023-04-21 17:03:00 UTC (in reply to daniel)

@daniel I think that's all I did, but here is my ```/etc/modalai/voxl-px4.config```, in case you want to look for any differences:

```
#!/bin/sh
# PX4 commands need the 'px4-' prefix in bash.
# (px4-alias.sh is expected to be in the PATH)
. px4-alias.sh

# Figure out what platform we are running on.

# Eventually there will be a utility called voxl-platform that will
# return the platform tag or an error code. This utility is not yet
# ubiquitous so it may be that it isn't available. Trying to call a
# non existent program will generate an error code by the OS. If the
# program exists and doesn't return an error code then use the results.
PLATFORM=`/usr/bin/voxl-platform 2> /dev/null`
RETURNCODE=$?
if [ $RETURNCODE -ne 0 ]; then
    # If we couldn't get the platform from the voxl-platform utility then check
    # /etc/version to see if there is an M0052 substring in the version string. If so,
    # then we assume that we are on M0052. Otherwise assume M0054.
    VERSIONSTRING=$(</etc/version)
    M0052SUBSTRING="M0052"
    if [[ "$VERSIONSTRING" == *"$M0052SUBSTRING"* ]]; then
        PLATFORM="M0052"
    else
        PLATFORM="M0054"
    fi
fi

# We can only run on M0052 or M0054 so exit with error if that is not the case
if [ $PLATFORM = "M0052" ]; then
    /bin/echo "Running on M0052"
    if [ "$RC" == "CRSF" ]; then
        /bin/echo "Error, crossfire not supported on M0052!"
        exit 0
    fi
elif [ $PLATFORM = "M0054" ]; then
    /bin/echo "Running on M0054"
else
    /bin/echo "Error, cannot determine platform!"
    exit 0
fi

uorb start
muorb start

# In order to just exit after starting the uorb / muorb modules define
# the environment variable MINIMAL_PX4. (e.g. export MINIMAL_PX4=1)
# This is useful for testing / debug where you may want to start drivers
# and modules manually from the px4 command shell
if [ ! -z $MINIMAL_PX4 ]; then
    /bin/echo "Running minimal script"
    exit 0
fi

# Sleep a little here. A lot happens when the uorb and muorb start
# and we need to make sure that it all completes successfully to avoid
# any possible race conditions.
/bin/sleep 1

# IMU (accelerometer / gyroscope)
# Start this first because it gets the high rate interrupts coming in to the
# DSP. Without this the DSP will oversleep and miss critical timeouts.
# TODO: Why is that the case?
if [ "$IMU" == "ROTATE_IMU_YAW_180" ]; then
    /bin/echo "Starting IMU driver with yaw 180 rotation"
    qshell icm42688p start -s -R 4
else
    qshell icm42688p start -s
fi

/bin/sleep 1

# Load in all of the parameters that have been saved in the file
param load

# Start logging and use timestamps for log files when possible.
# Add the "-e" option to start logging immediately. Default is
# to log only when armed
logger start -t

# We do not change the value of SYS_AUTOCONFIG but if it does not
# show up as used then it is not reported to QGC and we get a
# missing parameter error.
param touch SYS_AUTOCONFIG

# Start all of the device drivers on DSP

# Magnetometer
if [ "$GPS" == "MATEK" ]; then
    # Use this line for the magnetometer in the Matek Systems M8Q-5883 module
    /bin/echo "Starting Mateksys M8Q-5883 magnetometer"
    qshell qmc5883l start -R 10 -X -b 1
elif [ "$GPS" == "HERE3" ]; then
    # Use this line for the magnetometer in the Here3 GPS module
    /bin/echo "Starting Here3 ak09916 magnetometer"
    qshell ak09916 start -R 2 -X
else
    # Use this line for the magnetometer in the Holybro GPS module
    /bin/echo "Starting Holybro magnetometer"
    qshell ist8310 start -R 10 -X -b 1
fi

# LED driver for the Pixhawk 4 GPS module
# Older units have i2c address 0x39 (57) and newer ones 0x38 (56)
# M0054 only supports the newer one. M0052 can support either.
if [ $PLATFORM = "M0052" ]; then
    qshell rgbled_ncp5623c start -X -b 1 -f 400 -a 57
fi
if [ "$GPS" == "HOLYBRO" ]; then
    /bin/echo "Starting Holybro LED driver"
    qshell rgbled_ncp5623c start -X -b 1 -f 400 -a 56
elif [ "$GPS" == "HERE3" ]; then
    # Use this line for the Here3 GPS module LED controller
    /bin/echo "Starting Here3 LED"
    qshell rgbled start -X -f 400
fi

# Barometer
qshell icp10100 start -I -b 5

# ESC driver
# We start this even if there is a PX4IO module. If there is
# a PX4IO (M0065) module it will be plugged into the RC port
# and so this driver will output commands on an empty port.
qshell modalai_esc start
qshell mixer load /dev/uart_esc quad_x.main.mix

# APM power monitor
qshell voxlpm start -X -b 2

# On M0052 the GPS and RC drivers run on the apps processor
if [ $PLATFORM = "M0052" ]; then
    # Pixhawk 4 GPS module
    gps start -d /dev/ttyHS2

    # RC input may be coming via either an external M0065 (aka px4io) module
    # or a directly attached Spektrum receiver. First see if the M0065 is detected.
    px4io detect
    PX4IO_STATUS=$?
    /bin/echo "PX4IO detect returned value $PX4IO_STATUS"
    if [ $PX4IO_STATUS -eq 0 ]; then
        /bin/echo "Found M0065, starting px4io"
        # On M0052 px4io only supports RC input, not PWM output
        px4io start
    else
        /bin/echo "M0065 not detected, starting Spektrum RC driver"
        spektrum_rc start -d /dev/ttyHS1
    fi
# On M0054 the GPS and RC drivers run on SLPI DSP
else
    if [ "$GPS" == "MATEK" ]; then
        # Use this gps start line instead for Matek Systems M8Q-5883 module
        /bin/echo "Starting Mateksys M8Q-5883 GPS"
        qshell gps start
    elif [ "$GPS" == "HERE3" ]; then
        # Use this line for the Here3 GPS module
        /bin/echo "Starting Here3 GPS"
        qshell gps start
    else
        # Only the newer Holybro unit is supported on M0054
        /bin/echo "Starting Holybro GPS"
        qshell gps start
    fi

    # If RC is TBS Crossfire then start its driver.
    # Otherwise, it could be either a directly connected Spektrum receiver
    # or an external M0065 (aka px4io) module.
    if [ "$RC" == "CRSF_MAV" ]; then
        /bin/echo "Starting TBS crossfire RC - MAV Mode"
        qshell tbs_crossfire start -m -p 7 -b 115200
    elif [ "$RC" == "CRSF_RAW" ]; then
        /bin/echo "Starting TBS crossfire RC - CRSF Mode"
        qshell tbs_crossfire start -c -p 7 -b 250000
    else
        qshell px4io detect
        PX4IO_STATUS=$?
        if [ $PX4IO_STATUS -eq 0 ]; then
            /bin/echo "Found M0065, starting px4io"
            # On M0054 we also support PWM output from M0065 (aka PX4IO)
            # If there are no pwm escs then that connector will be empty.
            qshell px4io start
            qshell px4io recovery
            qshell mixer load /dev/px4io quad_x_io.main.mix

            sleep 1
            qshell pwm rate -c 1234 -r 400
			qshell pwm disarmed -c 1234 -p 900
			qshell pwm min -c 1234 -p 1060
			qshell pwm max -c 1234 -p 2000
            qshell pwm failsafe -c 1234 -p -1 -d /dev/px4io
        else
            /bin/echo "M0065 not detected, starting Spektrum RC driver"
            qshell spektrum_rc start -d 8
        fi
    fi
fi

/bin/sleep 1

# Start all of the processing modules on DSP

qshell sensors start
qshell ekf2 start
qshell mc_pos_control start
qshell mc_att_control start
qshell mc_rate_control start
qshell mc_hover_thrust_estimator start
qshell land_detector start multicopter

/bin/sleep 1

# Start all of the processing modules on the applications processor

rc_update start

dataman start

navigator start

commander start
commander mode manual

# This is needed for altitude and position hold modes
flight_mode_manager start

# Start our service to update system time from GPS
modalai_gps_timer start

# As of 1.4.11 mavlink configuration has been changed!!! All communications are
# now done via the mavlink server and voxl-vision-px4!!!
param set MAV_BROADCAST 0

if [ "$RC" == "CRSF_MAV" ]; then
    # Slow everything way down if we are using TBS Crossfire
    mavlink start -a -x -u 14556 -o 14557 -r 10000 -n lo -m minimal

    /bin/sleep 1
else
    mavlink start -x -u 14556 -o 14557 -r 100000 -n lo -m onboard

    /bin/sleep 1

    # slow down some of the fastest streams in onboard mode
    mavlink stream -u 14556 -s HIGHRES_IMU -r 10
    mavlink stream -u 14556 -s ATTITUDE -r 10
    mavlink stream -u 14556 -s ATTITUDE_QUATERNION -r 10
    # speed up rc_channels
    mavlink stream -u 14556 -s RC_CHANNELS -r 50

    /bin/sleep 1
fi

if [ $PLATFORM = "M0052" ]; then
    # Start up the IMU server to support VIO. This is done differently on M0054
    imu_server start
fi

mavlink boot_complete

# For now we use a mavlink bridge for TBS Crossfire support
if [ "$RC" == "CRSF_MAV" ]; then
    mavlink_bridge start
fi

# Optional MSP OSD driver for DJI goggles
# This is only supported on M0054 (with M0125 accessory board)
if [ $PLATFORM = "M0054" ]; then
    if [ "$OSD" == "OSD" ]; then
        /bin/echo "Starting OSD driver"
        msp_osd start -d /dev/ttyHS1
    fi
fi

```

If your config is like this and it still doesn't work, maybe @Eric-Katzfey can help you better.

## Reply by daniel · 2023-04-25 07:48:15 UTC (in reply to Andre Moura)

@Andre-Moura Thank You! We fixed our GPS setting problem.

## Reply by JustinDev23 · 2023-04-26 18:16:17 UTC

@daniel what ended up being your fix? I was seeing the same issues yesterday with our Sentinel trying to do GPS only outdoor flights.  It wouldn't ARM due to the GPS Speed Accuracy. Flashing blue for a minute or two and then turning green after what i assumed was VIO getting healthy.

@Eric-Katzfey I don't want to use the Sentinel VIO so was hoping there was a GPS Only No VIO params file. It seems like the one posted on the git is still looking at VIO.

## Reply by James Strawson (ModalAI staff) · 2023-04-26 18:37:10 UTC

you will likely want to configure px4 params to suit your exact use case, e.g. some people will want it to arm without a gps lock, some won't. As a starting point we have "helper" files that can be loaded through QGC that set up the handful of relevant PX4 params for indoor vs outdoor flight

Here is the outdoor helper for px4 1.12:
https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-px4-params/-/blob/master/params/v1.12/ekf2_outdoor_gps_mag.params

And the helpers for PX4 1.14:
https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-px4-params/-/tree/master/params/v1.14/EKF2_helpers

## Reply by JustinDev23 · 2023-04-26 18:44:01 UTC (in reply to James Strawson)

@James-Strawson Awesome, thanks I am going to load the outdoor params. Just didn't know if someone had already blessed us all with a known good config.

## Reply by JustinDev23 · 2023-04-27 14:33:12 UTC (in reply to James Strawson)

@James-Strawson If i stop and disable the VIO server will that still allow GPS to pass through? I am getting good satellite and HDOP but the GPS never transitions from flashing blue to green with the ekf2_outdoor_gps_baro params. it is causing the platform to not allow me to put it in POSCTL. I do not intend to do GPS denied flights at this time and am trying to focus on outdoor 5G flights for a while to build confidence in our GCS software interactions with VOXL.

## Reply by Eric Katzfey (ModalAI staff) · 2023-04-27 15:20:28 UTC (in reply to JustinDev23)

@JustinDev23 These parameter settings won't affect the ability of the GPS receiver to get a lock. It is an independent unit and not affected by VIO in any way.

## Reply by JustinDev23 · 2023-04-27 15:31:02 UTC (in reply to Eric Katzfey)

@Eric-Katzfey, thanks for the response and clarifying.

I had a 3D Fix but wasnt able to switch from Manual to Position.  I have worked on other projects with Ardupilot mission planner and it could blend or use best from different sources.  I wasnt sure exactly how your implementation of GPS and VIO were working together on feeding positional data to the PX4 autopilot.

## Reply by Andre Moura · 2023-04-27 15:36:41 UTC (in reply to JustinDev23)

@JustinDev23 You can have GPS fix and not have GPS lock on the PX4. Have you checked the number of satellites on QGC? From my experience, GPS lock (required to switch to Position mode) is achieved with 12 satellites or more.
Maybe test the drone on a new location with more open space, that did the trick for me.

## Reply by JustinDev23 · 2023-04-27 17:10:04 UTC (in reply to Andre Moura)

@Andre-Moura sat and hdop have not been an issue on QGC. ekf2_req_nsats is set to 6 and i have had no obstructions and in open space.

GPS Horizontal Pos Error too high with 9 sats and 1.4 hdop

## Reply by JustinDev23 · 2023-04-27 17:19:58 UTC (in reply to JustinDev23)

And if it is not that it is GPS Speed Accuracy too low

I would hate to disable those checks but i feel like it is something else that is causing this to occur. 

@Eric-Katzfey Is there a flow chart for what all is feeding position information to PX4 from VOXL2?

## Reply by tom (ModalAI staff) · 2023-04-27 18:44:44 UTC

@JustinDev23 This is the closest to what you're looking for: https://docs.modalai.com/voxl-px4-developer-guide/

## Reply by JustinDev23 · 2023-04-28 13:11:12 UTC (in reply to tom)

@tom Thanks! Looks like what i needed.

## Reply by Captain 7th · 2024-07-01 16:33:58 UTC (in reply to Eric Katzfey)

@Eric-Katzfey I have the same issue. I tried the method that you mentioned, not only voxl-px4 is not working now, but also I got this error:
Sending initialization request
Got topic data before configuration complete
Got topic data before configuration complete
Got topic data before configuration complete
Got topic data before configuration complete
Got topic data before configuration complete
Got topic data before configuration complete
Got topic data before configuration complete
Got topic data before configuration complete
Got topic data before configuration complete
Got topic data before configuration complete
Got topic data before configuration complete
Got topic data before configuration complete
Got topic data before configuration complete
INFO  [muorb] SLPI: muorb aggregator thread running
INFO  [muorb] muorb protobuf initalize method succeeded
INFO  [muorb] succesfully did ADVERTISE_TEST_TYPE
INFO  [muorb] SLPI: Creating pthread test_MUORB

INFO  [muorb] SLPI: Successfully created px4 task PX4_test_MUORB with tid 2097656
INFO  [muorb] succesfully did SUBSCRIBE_TEST_TYPE
INFO  [muorb] SLPI: Creating pthread test_MUORB

INFO  [muorb] SLPI: Successfully created px4 task PX4_test_MUORB with tid 2097655
INFO  [muorb] succesfully did TOPIC_TEST_TYPE
INFO  [muorb] SLPI: Creating pthread test_MUORB

INFO  [muorb] SLPI: Successfully created px4 task PX4_test_MUORB with tid 2097654
INFO  [muorb] succesfully did UNSUBSCRIBE_TEST_TYPE
INFO  [muorb] SLPI: Creating pthread test_MUORB

INFO  [muorb] SLPI: Successfully created px4 task PX4_test_MUORB with tid 2097653
INFO  [muorb] muorb test passed
INFO  [muorb] SLPI: Advertising remote topic log_message

______  __   __    ___ 
| ___ \ \ \ / /   /   |
| |_/ /  \ V /   / /| |
|  __/   /   \  / /_| |
| |     / /^\ \ \___  |
\_|     \/   \/     |_/

px4 starting.

INFO  [px4] startup script: /bin/sh /usr/bin/voxl-px4-start 0
INFO  [parameters] Starting param sync THREAD

*************************
GPS: HOLYBRO
RC: SPEKTRUM
OSD: DISABLE
EXTRA STEPS:
	
*************************

INFO  [muorb] SLPI: Starting param sync THREAD
Running on M0054
INFO  [muorb] SLPI: before starting the qshell_entry task
INFO  [muorb] SLPI: Creating pthread qshell

INFO  [muorb] SLPI: Successfully created px4 task PX4_qshell with tid 2097652
INFO  [muorb] SLPI: qshell entry.....
INFO  [muorb] SLPI: after starting the qshell_entry task
INFO  [muorb] SLPI: Init app map initialized
INFO  [param] selected parameter default file /data/px4/param/parameters
INFO  [muorb] SLPI: Marking DeviceNode(parameter_client_reset_request) as advertised in process_remote_topic
INFO  [uORB] Marking DeviceNode(parameter_client_reset_response) as advertised in process_remote_topic
INFO  [muorb] SLPI: Advertising remote topic parameter_update
INFO  [muorb] SLPI: Marking DeviceNode(parameter_client_set_value_request) as advertised in process_remote_to
INFO  [uORB] Marking DeviceNode(parameter_server_set_used_request) as advertised in process_remote_topic
INFO  [muorb] SLPI: Marking DeviceNode(parameter_server_set_used_response) as advertised in process_remote_to
INFO  [uORB] Marking DeviceNode(parameter_client_set_value_response) as advertised in process_remote_topic
INFO  [parameters] BSON document size 3022 bytes, decoded 3022 bytes (INT32:43, FLOAT:98)
INFO  [logger] logger started (mode=all)
Starting IMU driver with no rotation
INFO  [qshell] Send cmd: 'icm42688p start -s'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: icm42688p start -s
INFO  [muorb] SLPI:   arg0 = 'icm42688p'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [muorb] SLPI:   arg2 = '-s'

INFO  [muorb] SLPI: *** SPI Device ID 0x26000a 2490378
INFO  [uORB] Advertising remote topic sensor_accel
INFO  [uORB] Advertising remote topic sensor_gyro
INFO  [muorb] SLPI: ICM42688P::probe successful!
INFO  [muorb] SLPI: on SPI bus 1
INFO  [muorb] SLPI: >>> ICM42688P this: 3176e460
INFO  [muorb] SLPI: icm42688p #0 on SPI bus 1
INFO  [muorb] SLPI: 

INFO  [muorb] SLPI: Ok executing command: icm42688p start -s
INFO  [uORB] Advertising remote topic qshell_retval
INFO  [muorb] SLPI: >>> ICM42688P this: 3176e460
INFO  [qshell] qshell return value timestamp: 63895427, local time: 63898740
INFO  [muorb] SLPI: >>> ICM42688P this: 3176e460
INFO  [muorb] SLPI: Register interrupt b21d3164 e620e69c 3176e460
INFO  [uORB] Advertising remote topic sensor_gyro_fifo
INFO  [uORB] Advertising remote topic sensor_accel_fifo
INFO  [uORB] Advertising remote topic imu_server
INFO  [muorb] SLPI: >>> ICM42688P this: 3176e460
INFO  [qshell] Send cmd: 'icp101xx start -I -b 5'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: icp101xx start -I -b 5
INFO  [muorb] SLPI:   arg0 = 'icp101xx'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [muorb] SLPI:   arg2 = '-I'

INFO  [muorb] SLPI:   arg3 = '-b'

INFO  [muorb] SLPI:   arg4 = '5'

INFO  [muorb] SLPI: *** I2C Device ID 0xb76329 12018473
INFO  [muorb] SLPI: icp101xx #0 on I2C bus 5
INFO  [muorb] SLPI:  address 0x63
INFO  [muorb] SLPI: 

INFO  [muorb] SLPI: Ok executing command: icp101xx start -I -b 5
INFO  [qshell] qshell return value timestamp: 64943196, local time: 64943952
Starting Holybro magnetometer
INFO  [qshell] Send cmd: 'ist8310 start -R 10 -X -b 1'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: ist8310 start -R 10 -X -b 1
INFO  [muorb] SLPI:   arg0 = 'ist8310'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [muorb] SLPI:   arg2 = '-R'

INFO  [muorb] SLPI:   arg3 = '10'

INFO  [muorb] SLPI:   arg4 = '-X'

INFO  [muorb] SLPI:   arg5 = '-b'

INFO  [muorb] SLPI:   arg6 = '1'

INFO  [muorb] SLPI: *** I2C Device ID 0x60e09 396809
INFO  [muorb] SLPI: ist8310 #0 on I2C bus 1
INFO  [muorb] SLPI:  (external)
INFO  [muorb] SLPI:  address 0xE
INFO  [muorb] SLPI:  rotation 10
INFO  [muorb] SLPI: 

INFO  [muorb] SLPI: Ok executing command: ist8310 start -R 10 -X -b 1
INFO  [qshell] qshell return value timestamp: 64990484, local time: 64992712
INFO  [qshell] Send cmd: 'gps start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: gps start
INFO  [muorb] SLPI:   arg0 = 'gps'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [muorb] SLPI: Creating pthread gps

INFO  [muorb] SLPI: Successfully created px4 task PX4_gps with tid 2097648
INFO  [muorb] SLPI: Ok executing command: gps start
INFO  [qshell] qshell return value timestamp: 65023088, local time: 65025096
Starting Holybro LED driver
INFO  [qshell] Send cmd: 'rgbled_ncp5623c start -X -b 1 -f 400 -a 56'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: rgbled_ncp5623c start -X -b 1 -f 400 -a 56
INFO  [muorb] SLPI:   arg0 = 'rgbled_ncp5623c'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [muorb] SLPI:   arg2 = '-X'

INFO  [muorb] SLPI:   arg3 = '-b'

INFO  [muorb] SLPI:   arg4 = '1'

INFO  [muorb] SLPI:   arg5 = '-f'

INFO  [muorb] SLPI:   arg6 = '400'

INFO  [muorb] SLPI:   arg7 = '-a'

INFO  [muorb] SLPI:   arg8 = '56'

INFO  [muorb] SLPI: *** I2C Device ID 0x7b3809 8075273
INFO  [muorb] SLPI: rgbled_ncp5623c #0 on I2C bus 1
INFO  [muorb] SLPI:  (external)
INFO  [muorb] SLPI:  address 0x38
INFO  [muorb] SLPI: 

INFO  [muorb] SLPI: Ok executing command: rgbled_ncp5623c start -X -b 1 -f 400 -a 56
INFO  [qshell] qshell return value timestamp: 65062554, local time: 65063907
INFO  [uORB] Advertising remote topic sensor_mag
INFO  [qshell] Send cmd: 'modal_io start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: modal_io start
INFO  [muorb] SLPI:   arg0 = 'modal_io'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [uORB] Advertising remote topic actuator_outputs
INFO  [uORB] Advertising remote topic sensor_baro
INFO  [muorb] SLPI: Ok executing command: modal_io start
INFO  [muorb] SLPI: Opened UART ESC device
INFO  [qshell] qshell return value timestamp: 65169377, local time: 65171079
INFO  [uORB] Advertising remote topic actuator_outputs_debug
INFO  [uORB] Advertising remote topic esc_status
Starting Spektrum RC
INFO  [qshell] Send cmd: 'spektrum_rc start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: spektrum_rc start
INFO  [muorb] SLPI:   arg0 = 'spektrum_rc'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [muorb] SLPI: Creating pthread spektrum_rc_main

INFO  [muorb] SLPI: Successfully created px4 task PX4_spektrum_rc_main with tid 2097645
INFO  [muorb] SLPI: Ok executing command: spektrum_rc start
INFO  [qshell] qshell return value timestamp: 66215910, local time: 66216633
INFO  [qshell] Send cmd: 'voxlpm start -X -b 2'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: voxlpm start -X -b 2
INFO  [muorb] SLPI:   arg0 = 'voxlpm'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [muorb] SLPI:   arg2 = '-X'

INFO  [muorb] SLPI:   arg3 = '-b'

INFO  [muorb] SLPI:   arg4 = '2'

INFO  [muorb] SLPI: *** I2C Device ID 0xd24411 13779985
INFO  [muorb] SLPI: Set i2c address 0x6a, fd 3
INFO  [muorb] SLPI: Set i2c address 0x44, fd 3
INFO  [uORB] Advertising remote topic battery_status
INFO  [muorb] SLPI: voxlpm #0 on I2C bus 2
INFO  [muorb] SLPI:  (external)
INFO  [muorb] SLPI:  address 0x44
INFO  [muorb] SLPI: 

INFO  [muorb] SLPI: Ok executing command: voxlpm start -X -b 2
INFO  [uORB] Advertising remote topic power_monitor
INFO  [qshell] qshell return value timestamp: 67272854, local time: 67275718
INFO  [qshell] Send cmd: 'sensors start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: sensors start
INFO  [muorb] SLPI:   arg0 = 'sensors'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [uORB] Advertising remote topic sensor_selection
INFO  [uORB] Advertising remote topic sensors_status_imu
INFO  [uORB] Advertising remote topic vehicle_acceleration
INFO  [uORB] Advertising remote topic vehicle_angular_velocity
INFO  [uORB] Advertising remote topic sensor_combined
INFO  [uORB] Advertising remote topic vehicle_air_data
INFO  [uORB] Advertising remote topic vehicle_gps_position
INFO  [uORB] Advertising remote topic vehicle_magnetometer
INFO  [uORB] Advertising remote topic sensor_preflight_mag
INFO  [uORB] Advertising remote topic vehicle_imu
INFO  [uORB] Advertising remote topic vehicle_imu_status
INFO  [muorb] SLPI: Ok executing command: sensors start
INFO  [uORB] Advertising remote topic sensors_status_mag
INFO  [qshell] qshell return value timestamp: 67434965, local time: 67437421
INFO  [uORB] Advertising remote topic sensors_status_baro
INFO  [qshell] Send cmd: 'ekf2 start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: ekf2 start
INFO  [muorb] SLPI:   arg0 = 'ekf2'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [uORB] Advertising remote topic vehicle_attitude
INFO  [uORB] Advertising remote topic vehicle_local_position
INFO  [uORB] Advertising remote topic estimator_event_flags
INFO  [uORB] Advertising remote topic estimator_innovation_test_ratios
INFO  [uORB] Advertising remote topic estimator_innovation_variances
INFO  [uORB] Advertising remote topic estimator_innovations
INFO  [uORB] Advertising remote topic estimator_sensor_bias
INFO  [uORB] Advertising remote topic estimator_states
INFO  [uORB] Advertising remote topic estimator_status_flags
INFO  [uORB] Advertising remote topic estimator_status
INFO  [muorb] SLPI: Ok executing command: ekf2 start
INFO  [qshell] qshell return value timestamp: 67750482, local time: 67753672
INFO  [uORB] Advertising remote topic ekf2_timestamps
INFO  [uORB] Advertising remote topic vehicle_odometry
INFO  [uORB] Advertising remote topic estimator_aid_src_baro_hgt
INFO  [uORB] Advertising remote topic estimator_aid_src_fake_pos
INFO  [uORB] Advertising remote topic estimator_aid_src_fake_hgt
INFO  [uORB] Advertising remote topic estimator_aid_src_mag_heading
INFO  [uORB] Advertising remote topic estimator_aid_src_mag
INFO  [uORB] Advertising remote topic estimator_aid_src_gravity
INFO  [qshell] Send cmd: 'mc_pos_control start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: mc_pos_control start
INFO  [muorb] SLPI:   arg0 = 'mc_pos_control'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [uORB] Advertising remote topic takeoff_status
INFO  [muorb] SLPI: Ok executing command: mc_pos_control start
INFO  [qshell] qshell return value timestamp: 67859638, local time: 67861554
INFO  [qshell] Send cmd: 'mc_att_control start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: mc_att_control start
INFO  [muorb] SLPI:   arg0 = 'mc_att_control'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [muorb] SLPI: Ok executing command: mc_att_control start
INFO  [qshell] qshell return value timestamp: 67918747, local time: 67920290
INFO  [qshell] Send cmd: 'mc_rate_control start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: mc_rate_control start
INFO  [muorb] SLPI:   arg0 = 'mc_rate_control'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [uORB] Advertising remote topic rate_ctrl_status
INFO  [muorb] SLPI: Ok executing command: mc_rate_control start
INFO  [qshell] qshell return value timestamp: 68027813, local time: 68030404
INFO  [qshell] Send cmd: 'mc_hover_thrust_estimator start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: mc_hover_thrust_estimator start
INFO  [muorb] SLPI:   arg0 = 'mc_hover_thrust_estimator'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [muorb] SLPI: Ok executing command: mc_hover_thrust_estimator start
INFO  [qshell] qshell return value timestamp: 68087592, local time: 68089224
INFO  [qshell] Send cmd: 'mc_autotune_attitude_control start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: mc_autotune_attitude_control start
INFO  [muorb] SLPI:   arg0 = 'mc_autotune_attitude_control'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [uORB] Advertising remote topic autotune_attitude_control_status
INFO  [muorb] SLPI: Ok executing command: mc_autotune_attitude_control start
INFO  [qshell] qshell return value timestamp: 68137157, local time: 68138847
INFO  [qshell] Send cmd: 'land_detector start multicopter'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: land_detector start multicopter
INFO  [muorb] SLPI:   arg0 = 'land_detector'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [muorb] SLPI:   arg2 = 'multicopter'

INFO  [muorb] SLPI: Ok executing command: land_detector start multicopter
INFO  [qshell] qshell return value timestamp: 68188877, local time: 68189722
INFO  [uORB] Advertising remote topic vehicle_land_detected
INFO  [qshell] Send cmd: 'manual_control start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: manual_control start
INFO  [muorb] SLPI:   arg0 = 'manual_control'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [muorb] SLPI: Ok executing command: manual_control start
INFO  [uORB] Advertising remote topic manual_control_setpoint
INFO  [qshell] qshell return value timestamp: 68237903, local time: 68239705
INFO  [qshell] Send cmd: 'control_allocator start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: control_allocator start
INFO  [muorb] SLPI:   arg0 = 'control_allocator'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [uORB] Advertising remote topic control_allocator_status
INFO  [uORB] Marking DeviceNode(control_allocator_status) as advertised in process_remote_topic
INFO  [uORB] Advertising remote topic actuator_motors
INFO  [uORB] Advertising remote topic actuator_servos
INFO  [uORB] Advertising remote topic actuator_servos_trim
INFO  [muorb] SLPI: Ok executing command: control_allocator start
INFO  [qshell] qshell return value timestamp: 68577984, local time: 68579385
INFO  [qshell] Send cmd: 'rc_update start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: rc_update start
INFO  [muorb] SLPI:   arg0 = 'rc_update'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [muorb] SLPI: Ok executing command: rc_update start
INFO  [qshell] qshell return value timestamp: 68873945, local time: 68874998
INFO  [qshell] Send cmd: 'commander start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: commander start
INFO  [muorb] SLPI:   arg0 = 'commander'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [muorb] SLPI: Creating pthread commander

INFO  [muorb] SLPI: Successfully created px4 task PX4_commander with tid 2097641
INFO  [uORB] Advertising remote topic led_control
INFO  [muorb] SLPI: LED: open /dev/led0 failed (22)
INFO  [muorb] SLPI: Ok executing command: commander start
INFO  [uORB] Advertising remote topic tune_control
INFO  [qshell] qshell return value timestamp: 69104924, local time: 69107190
INFO  [uORB] Advertising remote topic event
INFO  [uORB] Advertising remote topic health_report
INFO  [uORB] Advertising remote topic failsafe_flags
INFO  [uORB] Advertising remote topic actuator_armed
INFO  [uORB] Advertising remote topic vehicle_control_mode
INFO  [uORB] Advertising remote topic vehicle_thrust_setpoint
INFO  [uORB] Advertising remote topic vehicle_torque_setpoint
INFO  [uORB] Advertising remote topic vehicle_rates_setpoint
INFO  [uORB] Advertising remote topic vehicle_status
INFO  [uORB] Advertising remote topic failure_detector_status
INFO  [uORB] Advertising remote topic vehicle_local_position_setpoint
INFO  [uORB] Advertising remote topic vehicle_attitude_setpoint
INFO  [qshell] Send cmd: 'commander mode manual'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: commander mode manual
INFO  [muorb] SLPI:   arg0 = 'commander'

INFO  [muorb] SLPI:   arg1 = 'mode'

INFO  [muorb] SLPI:   arg2 = 'manual'

INFO  [uORB] Advertising remote topic vehicle_command
INFO  [muorb] SLPI: Ok executing command: commander mode manual
INFO  [qshell] qshell return value timestamp: 69148498, local time: 69150136
INFO  [uORB] Advertising remote topic vehicle_command_ack
INFO  [uORB] Marking DeviceNode(vehicle_attitude_setpoint) as advertised in process_remote_topic
INFO  [qshell] Send cmd: 'param_set_selector start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: param_set_selector start
INFO  [muorb] SLPI:   arg0 = 'param_set_selector'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [muorb] SLPI: Ok executing command: param_set_selector start
INFO  [qshell] qshell return value timestamp: 69186104, local time: 69187696
INFO  [qshell] Send cmd: 'flight_mode_manager start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: flight_mode_manager start
INFO  [muorb] SLPI:   arg0 = 'flight_mode_manager'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [uORB] Marking DeviceNode(vehicle_command) as advertised in process_remote_topic
INFO  [muorb] SLPI: Ok executing command: flight_mode_manager start
INFO  [qshell] qshell return value timestamp: 69346243, local time: 69347753
INFO  [uORB] Advertising remote topic actuator_controls_status_0
INFO  [dataman] data manager file '/data/px4/dataman' size is 7866640 bytes
INFO  [muorb] SLPI: Advertising remote topic transponder_report
INFO  [muorb] SLPI: Advertising remote topic rtl_time_estimate
INFO  [muorb] SLPI: Advertising remote topic position_setpoint_triplet
INFO  [mavlink] mode: Onboard, data rate: 100000 B/s on udp port 14556 remote port 14557
INFO  [muorb] SLPI: Advertising remote topic telemetry_status
INFO  [mavlink] partner IP: 127.0.0.1
INFO  [muorb] SLPI: Advertising remote topic vehicle_visual_odometry
INFO  [muorb] SLPI: Advertising remote topic obstacle_distance
INFO  [muorb] SLPI: Advertising remote topic offboard_control_mode
INFO  [muorb] SLPI: Advertising remote topic timesync_status
INFO  [uORB] Advertising remote topic estimator_aid_src_ev_hgt
INFO  [uORB] Advertising remote topic estimator_aid_src_ev_pos
INFO  [uORB] Advertising remote topic estimator_aid_src_ev_vel
INFO  [uORB] Advertising remote topic estimator_aid_src_ev_yaw
INFO  [mavlink] mode: Normal, data rate: 100000 B/s on udp port 14558 remote port 14559
INFO  [muorb] SLPI: Marking DeviceNode(telemetry_status) as advertised in process_remote_topic
INFO  [mavlink] partner IP: 127.0.0.1
INFO  [mavlink] MAVLink only on localhost (set param MAV_{i}_BROADCAST = 1 to enable network)
INFO  [px4] Startup script returned successfully
INFO  [muorb] SLPI: u-blox firmware version: SPG 3.01
INFO  [muorb] SLPI: u-blox protocol version: 18.00
INFO  [muorb] SLPI: u-blox module: NEO-M8N-0
INFO  [uORB] Advertising remote topic sensor_gps
INFO  [muorb] SLPI: Advertising remote topic ping
INFO  [uORB] Advertising remote topic mavlink_log
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
WARN  [uORB] orb_advertise_multi: failed to set queue size

## Reply by Captain 7th · 2024-07-01 16:36:06 UTC (in reply to Eric Katzfey)

@Eric-Katzfey 
I tried this method, but it still is not working! Here is the console:
```
Sending initialization request
Got topic data before configuration complete
Got topic data before configuration complete
Got topic data before configuration complete
Got topic data before configuration complete
Got topic data before configuration complete
Got topic data before configuration complete
Got topic data before configuration complete
Got topic data before configuration complete
Got topic data before configuration complete
Got topic data before configuration complete
Got topic data before configuration complete
Got topic data before configuration complete
Got topic data before configuration complete
INFO  [muorb] SLPI: muorb aggregator thread running
INFO  [muorb] muorb protobuf initalize method succeeded
INFO  [muorb] succesfully did ADVERTISE_TEST_TYPE
INFO  [muorb] SLPI: Creating pthread test_MUORB

INFO  [muorb] SLPI: Successfully created px4 task PX4_test_MUORB with tid 2097656
INFO  [muorb] succesfully did SUBSCRIBE_TEST_TYPE
INFO  [muorb] SLPI: Creating pthread test_MUORB

INFO  [muorb] SLPI: Successfully created px4 task PX4_test_MUORB with tid 2097655
INFO  [muorb] succesfully did TOPIC_TEST_TYPE
INFO  [muorb] SLPI: Creating pthread test_MUORB

INFO  [muorb] SLPI: Successfully created px4 task PX4_test_MUORB with tid 2097654
INFO  [muorb] succesfully did UNSUBSCRIBE_TEST_TYPE
INFO  [muorb] SLPI: Creating pthread test_MUORB

INFO  [muorb] SLPI: Successfully created px4 task PX4_test_MUORB with tid 2097653
INFO  [muorb] muorb test passed
INFO  [muorb] SLPI: Advertising remote topic log_message

______  __   __    ___ 
| ___ \ \ \ / /   /   |
| |_/ /  \ V /   / /| |
|  __/   /   \  / /_| |
| |     / /^\ \ \___  |
\_|     \/   \/     |_/

px4 starting.

INFO  [px4] startup script: /bin/sh /usr/bin/voxl-px4-start 0
INFO  [parameters] Starting param sync THREAD

*************************
GPS: HOLYBRO
RC: SPEKTRUM
OSD: DISABLE
EXTRA STEPS:
	
*************************

INFO  [muorb] SLPI: Starting param sync THREAD
Running on M0054
INFO  [muorb] SLPI: before starting the qshell_entry task
INFO  [muorb] SLPI: Creating pthread qshell

INFO  [muorb] SLPI: Successfully created px4 task PX4_qshell with tid 2097652
INFO  [muorb] SLPI: qshell entry.....
INFO  [muorb] SLPI: after starting the qshell_entry task
INFO  [muorb] SLPI: Init app map initialized
INFO  [param] selected parameter default file /data/px4/param/parameters
INFO  [muorb] SLPI: Marking DeviceNode(parameter_client_reset_request) as advertised in process_remote_topic
INFO  [uORB] Marking DeviceNode(parameter_client_reset_response) as advertised in process_remote_topic
INFO  [muorb] SLPI: Advertising remote topic parameter_update
INFO  [muorb] SLPI: Marking DeviceNode(parameter_client_set_value_request) as advertised in process_remote_to
INFO  [uORB] Marking DeviceNode(parameter_server_set_used_request) as advertised in process_remote_topic
INFO  [muorb] SLPI: Marking DeviceNode(parameter_server_set_used_response) as advertised in process_remote_to
INFO  [uORB] Marking DeviceNode(parameter_client_set_value_response) as advertised in process_remote_topic
INFO  [parameters] BSON document size 3022 bytes, decoded 3022 bytes (INT32:43, FLOAT:98)
INFO  [logger] logger started (mode=all)
Starting IMU driver with no rotation
INFO  [qshell] Send cmd: 'icm42688p start -s'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: icm42688p start -s
INFO  [muorb] SLPI:   arg0 = 'icm42688p'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [muorb] SLPI:   arg2 = '-s'

INFO  [muorb] SLPI: *** SPI Device ID 0x26000a 2490378
INFO  [uORB] Advertising remote topic sensor_accel
INFO  [uORB] Advertising remote topic sensor_gyro
INFO  [muorb] SLPI: ICM42688P::probe successful!
INFO  [muorb] SLPI: on SPI bus 1
INFO  [muorb] SLPI: >>> ICM42688P this: 3176e460
INFO  [muorb] SLPI: icm42688p #0 on SPI bus 1
INFO  [muorb] SLPI: 

INFO  [muorb] SLPI: Ok executing command: icm42688p start -s
INFO  [uORB] Advertising remote topic qshell_retval
INFO  [muorb] SLPI: >>> ICM42688P this: 3176e460
INFO  [qshell] qshell return value timestamp: 63895427, local time: 63898740
INFO  [muorb] SLPI: >>> ICM42688P this: 3176e460
INFO  [muorb] SLPI: Register interrupt b21d3164 e620e69c 3176e460
INFO  [uORB] Advertising remote topic sensor_gyro_fifo
INFO  [uORB] Advertising remote topic sensor_accel_fifo
INFO  [uORB] Advertising remote topic imu_server
INFO  [muorb] SLPI: >>> ICM42688P this: 3176e460
INFO  [qshell] Send cmd: 'icp101xx start -I -b 5'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: icp101xx start -I -b 5
INFO  [muorb] SLPI:   arg0 = 'icp101xx'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [muorb] SLPI:   arg2 = '-I'

INFO  [muorb] SLPI:   arg3 = '-b'

INFO  [muorb] SLPI:   arg4 = '5'

INFO  [muorb] SLPI: *** I2C Device ID 0xb76329 12018473
INFO  [muorb] SLPI: icp101xx #0 on I2C bus 5
INFO  [muorb] SLPI:  address 0x63
INFO  [muorb] SLPI: 

INFO  [muorb] SLPI: Ok executing command: icp101xx start -I -b 5
INFO  [qshell] qshell return value timestamp: 64943196, local time: 64943952
Starting Holybro magnetometer
INFO  [qshell] Send cmd: 'ist8310 start -R 10 -X -b 1'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: ist8310 start -R 10 -X -b 1
INFO  [muorb] SLPI:   arg0 = 'ist8310'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [muorb] SLPI:   arg2 = '-R'

INFO  [muorb] SLPI:   arg3 = '10'

INFO  [muorb] SLPI:   arg4 = '-X'

INFO  [muorb] SLPI:   arg5 = '-b'

INFO  [muorb] SLPI:   arg6 = '1'

INFO  [muorb] SLPI: *** I2C Device ID 0x60e09 396809
INFO  [muorb] SLPI: ist8310 #0 on I2C bus 1
INFO  [muorb] SLPI:  (external)
INFO  [muorb] SLPI:  address 0xE
INFO  [muorb] SLPI:  rotation 10
INFO  [muorb] SLPI: 

INFO  [muorb] SLPI: Ok executing command: ist8310 start -R 10 -X -b 1
INFO  [qshell] qshell return value timestamp: 64990484, local time: 64992712
INFO  [qshell] Send cmd: 'gps start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: gps start
INFO  [muorb] SLPI:   arg0 = 'gps'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [muorb] SLPI: Creating pthread gps

INFO  [muorb] SLPI: Successfully created px4 task PX4_gps with tid 2097648
INFO  [muorb] SLPI: Ok executing command: gps start
INFO  [qshell] qshell return value timestamp: 65023088, local time: 65025096
Starting Holybro LED driver
INFO  [qshell] Send cmd: 'rgbled_ncp5623c start -X -b 1 -f 400 -a 56'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: rgbled_ncp5623c start -X -b 1 -f 400 -a 56
INFO  [muorb] SLPI:   arg0 = 'rgbled_ncp5623c'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [muorb] SLPI:   arg2 = '-X'

INFO  [muorb] SLPI:   arg3 = '-b'

INFO  [muorb] SLPI:   arg4 = '1'

INFO  [muorb] SLPI:   arg5 = '-f'

INFO  [muorb] SLPI:   arg6 = '400'

INFO  [muorb] SLPI:   arg7 = '-a'

INFO  [muorb] SLPI:   arg8 = '56'

INFO  [muorb] SLPI: *** I2C Device ID 0x7b3809 8075273
INFO  [muorb] SLPI: rgbled_ncp5623c #0 on I2C bus 1
INFO  [muorb] SLPI:  (external)
INFO  [muorb] SLPI:  address 0x38
INFO  [muorb] SLPI: 

INFO  [muorb] SLPI: Ok executing command: rgbled_ncp5623c start -X -b 1 -f 400 -a 56
INFO  [qshell] qshell return value timestamp: 65062554, local time: 65063907
INFO  [uORB] Advertising remote topic sensor_mag
INFO  [qshell] Send cmd: 'modal_io start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: modal_io start
INFO  [muorb] SLPI:   arg0 = 'modal_io'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [uORB] Advertising remote topic actuator_outputs
INFO  [uORB] Advertising remote topic sensor_baro
INFO  [muorb] SLPI: Ok executing command: modal_io start
INFO  [muorb] SLPI: Opened UART ESC device
INFO  [qshell] qshell return value timestamp: 65169377, local time: 65171079
INFO  [uORB] Advertising remote topic actuator_outputs_debug
INFO  [uORB] Advertising remote topic esc_status
Starting Spektrum RC
INFO  [qshell] Send cmd: 'spektrum_rc start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: spektrum_rc start
INFO  [muorb] SLPI:   arg0 = 'spektrum_rc'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [muorb] SLPI: Creating pthread spektrum_rc_main

INFO  [muorb] SLPI: Successfully created px4 task PX4_spektrum_rc_main with tid 2097645
INFO  [muorb] SLPI: Ok executing command: spektrum_rc start
INFO  [qshell] qshell return value timestamp: 66215910, local time: 66216633
INFO  [qshell] Send cmd: 'voxlpm start -X -b 2'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: voxlpm start -X -b 2
INFO  [muorb] SLPI:   arg0 = 'voxlpm'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [muorb] SLPI:   arg2 = '-X'

INFO  [muorb] SLPI:   arg3 = '-b'

INFO  [muorb] SLPI:   arg4 = '2'

INFO  [muorb] SLPI: *** I2C Device ID 0xd24411 13779985
INFO  [muorb] SLPI: Set i2c address 0x6a, fd 3
INFO  [muorb] SLPI: Set i2c address 0x44, fd 3
INFO  [uORB] Advertising remote topic battery_status
INFO  [muorb] SLPI: voxlpm #0 on I2C bus 2
INFO  [muorb] SLPI:  (external)
INFO  [muorb] SLPI:  address 0x44
INFO  [muorb] SLPI: 

INFO  [muorb] SLPI: Ok executing command: voxlpm start -X -b 2
INFO  [uORB] Advertising remote topic power_monitor
INFO  [qshell] qshell return value timestamp: 67272854, local time: 67275718
INFO  [qshell] Send cmd: 'sensors start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: sensors start
INFO  [muorb] SLPI:   arg0 = 'sensors'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [uORB] Advertising remote topic sensor_selection
INFO  [uORB] Advertising remote topic sensors_status_imu
INFO  [uORB] Advertising remote topic vehicle_acceleration
INFO  [uORB] Advertising remote topic vehicle_angular_velocity
INFO  [uORB] Advertising remote topic sensor_combined
INFO  [uORB] Advertising remote topic vehicle_air_data
INFO  [uORB] Advertising remote topic vehicle_gps_position
INFO  [uORB] Advertising remote topic vehicle_magnetometer
INFO  [uORB] Advertising remote topic sensor_preflight_mag
INFO  [uORB] Advertising remote topic vehicle_imu
INFO  [uORB] Advertising remote topic vehicle_imu_status
INFO  [muorb] SLPI: Ok executing command: sensors start
INFO  [uORB] Advertising remote topic sensors_status_mag
INFO  [qshell] qshell return value timestamp: 67434965, local time: 67437421
INFO  [uORB] Advertising remote topic sensors_status_baro
INFO  [qshell] Send cmd: 'ekf2 start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: ekf2 start
INFO  [muorb] SLPI:   arg0 = 'ekf2'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [uORB] Advertising remote topic vehicle_attitude
INFO  [uORB] Advertising remote topic vehicle_local_position
INFO  [uORB] Advertising remote topic estimator_event_flags
INFO  [uORB] Advertising remote topic estimator_innovation_test_ratios
INFO  [uORB] Advertising remote topic estimator_innovation_variances
INFO  [uORB] Advertising remote topic estimator_innovations
INFO  [uORB] Advertising remote topic estimator_sensor_bias
INFO  [uORB] Advertising remote topic estimator_states
INFO  [uORB] Advertising remote topic estimator_status_flags
INFO  [uORB] Advertising remote topic estimator_status
INFO  [muorb] SLPI: Ok executing command: ekf2 start
INFO  [qshell] qshell return value timestamp: 67750482, local time: 67753672
INFO  [uORB] Advertising remote topic ekf2_timestamps
INFO  [uORB] Advertising remote topic vehicle_odometry
INFO  [uORB] Advertising remote topic estimator_aid_src_baro_hgt
INFO  [uORB] Advertising remote topic estimator_aid_src_fake_pos
INFO  [uORB] Advertising remote topic estimator_aid_src_fake_hgt
INFO  [uORB] Advertising remote topic estimator_aid_src_mag_heading
INFO  [uORB] Advertising remote topic estimator_aid_src_mag
INFO  [uORB] Advertising remote topic estimator_aid_src_gravity
INFO  [qshell] Send cmd: 'mc_pos_control start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: mc_pos_control start
INFO  [muorb] SLPI:   arg0 = 'mc_pos_control'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [uORB] Advertising remote topic takeoff_status
INFO  [muorb] SLPI: Ok executing command: mc_pos_control start
INFO  [qshell] qshell return value timestamp: 67859638, local time: 67861554
INFO  [qshell] Send cmd: 'mc_att_control start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: mc_att_control start
INFO  [muorb] SLPI:   arg0 = 'mc_att_control'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [muorb] SLPI: Ok executing command: mc_att_control start
INFO  [qshell] qshell return value timestamp: 67918747, local time: 67920290
INFO  [qshell] Send cmd: 'mc_rate_control start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: mc_rate_control start
INFO  [muorb] SLPI:   arg0 = 'mc_rate_control'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [uORB] Advertising remote topic rate_ctrl_status
INFO  [muorb] SLPI: Ok executing command: mc_rate_control start
INFO  [qshell] qshell return value timestamp: 68027813, local time: 68030404
INFO  [qshell] Send cmd: 'mc_hover_thrust_estimator start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: mc_hover_thrust_estimator start
INFO  [muorb] SLPI:   arg0 = 'mc_hover_thrust_estimator'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [muorb] SLPI: Ok executing command: mc_hover_thrust_estimator start
INFO  [qshell] qshell return value timestamp: 68087592, local time: 68089224
INFO  [qshell] Send cmd: 'mc_autotune_attitude_control start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: mc_autotune_attitude_control start
INFO  [muorb] SLPI:   arg0 = 'mc_autotune_attitude_control'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [uORB] Advertising remote topic autotune_attitude_control_status
INFO  [muorb] SLPI: Ok executing command: mc_autotune_attitude_control start
INFO  [qshell] qshell return value timestamp: 68137157, local time: 68138847
INFO  [qshell] Send cmd: 'land_detector start multicopter'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: land_detector start multicopter
INFO  [muorb] SLPI:   arg0 = 'land_detector'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [muorb] SLPI:   arg2 = 'multicopter'

INFO  [muorb] SLPI: Ok executing command: land_detector start multicopter
INFO  [qshell] qshell return value timestamp: 68188877, local time: 68189722
INFO  [uORB] Advertising remote topic vehicle_land_detected
INFO  [qshell] Send cmd: 'manual_control start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: manual_control start
INFO  [muorb] SLPI:   arg0 = 'manual_control'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [muorb] SLPI: Ok executing command: manual_control start
INFO  [uORB] Advertising remote topic manual_control_setpoint
INFO  [qshell] qshell return value timestamp: 68237903, local time: 68239705
INFO  [qshell] Send cmd: 'control_allocator start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: control_allocator start
INFO  [muorb] SLPI:   arg0 = 'control_allocator'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [uORB] Advertising remote topic control_allocator_status
INFO  [uORB] Marking DeviceNode(control_allocator_status) as advertised in process_remote_topic
INFO  [uORB] Advertising remote topic actuator_motors
INFO  [uORB] Advertising remote topic actuator_servos
INFO  [uORB] Advertising remote topic actuator_servos_trim
INFO  [muorb] SLPI: Ok executing command: control_allocator start
INFO  [qshell] qshell return value timestamp: 68577984, local time: 68579385
INFO  [qshell] Send cmd: 'rc_update start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: rc_update start
INFO  [muorb] SLPI:   arg0 = 'rc_update'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [muorb] SLPI: Ok executing command: rc_update start
INFO  [qshell] qshell return value timestamp: 68873945, local time: 68874998
INFO  [qshell] Send cmd: 'commander start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: commander start
INFO  [muorb] SLPI:   arg0 = 'commander'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [muorb] SLPI: Creating pthread commander

INFO  [muorb] SLPI: Successfully created px4 task PX4_commander with tid 2097641
INFO  [uORB] Advertising remote topic led_control
INFO  [muorb] SLPI: LED: open /dev/led0 failed (22)
INFO  [muorb] SLPI: Ok executing command: commander start
INFO  [uORB] Advertising remote topic tune_control
INFO  [qshell] qshell return value timestamp: 69104924, local time: 69107190
INFO  [uORB] Advertising remote topic event
INFO  [uORB] Advertising remote topic health_report
INFO  [uORB] Advertising remote topic failsafe_flags
INFO  [uORB] Advertising remote topic actuator_armed
INFO  [uORB] Advertising remote topic vehicle_control_mode
INFO  [uORB] Advertising remote topic vehicle_thrust_setpoint
INFO  [uORB] Advertising remote topic vehicle_torque_setpoint
INFO  [uORB] Advertising remote topic vehicle_rates_setpoint
INFO  [uORB] Advertising remote topic vehicle_status
INFO  [uORB] Advertising remote topic failure_detector_status
INFO  [uORB] Advertising remote topic vehicle_local_position_setpoint
INFO  [uORB] Advertising remote topic vehicle_attitude_setpoint
INFO  [qshell] Send cmd: 'commander mode manual'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: commander mode manual
INFO  [muorb] SLPI:   arg0 = 'commander'

INFO  [muorb] SLPI:   arg1 = 'mode'

INFO  [muorb] SLPI:   arg2 = 'manual'

INFO  [uORB] Advertising remote topic vehicle_command
INFO  [muorb] SLPI: Ok executing command: commander mode manual
INFO  [qshell] qshell return value timestamp: 69148498, local time: 69150136
INFO  [uORB] Advertising remote topic vehicle_command_ack
INFO  [uORB] Marking DeviceNode(vehicle_attitude_setpoint) as advertised in process_remote_topic
INFO  [qshell] Send cmd: 'param_set_selector start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: param_set_selector start
INFO  [muorb] SLPI:   arg0 = 'param_set_selector'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [muorb] SLPI: Ok executing command: param_set_selector start
INFO  [qshell] qshell return value timestamp: 69186104, local time: 69187696
INFO  [qshell] Send cmd: 'flight_mode_manager start'
INFO  [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
INFO  [muorb] SLPI: qshell gotten: flight_mode_manager start
INFO  [muorb] SLPI:   arg0 = 'flight_mode_manager'

INFO  [muorb] SLPI:   arg1 = 'start'

INFO  [uORB] Marking DeviceNode(vehicle_command) as advertised in process_remote_topic
INFO  [muorb] SLPI: Ok executing command: flight_mode_manager start
INFO  [qshell] qshell return value timestamp: 69346243, local time: 69347753
INFO  [uORB] Advertising remote topic actuator_controls_status_0
INFO  [dataman] data manager file '/data/px4/dataman' size is 7866640 bytes
INFO  [muorb] SLPI: Advertising remote topic transponder_report
INFO  [muorb] SLPI: Advertising remote topic rtl_time_estimate
INFO  [muorb] SLPI: Advertising remote topic position_setpoint_triplet
INFO  [mavlink] mode: Onboard, data rate: 100000 B/s on udp port 14556 remote port 14557
INFO  [muorb] SLPI: Advertising remote topic telemetry_status
INFO  [mavlink] partner IP: 127.0.0.1
INFO  [muorb] SLPI: Advertising remote topic vehicle_visual_odometry
INFO  [muorb] SLPI: Advertising remote topic obstacle_distance
INFO  [muorb] SLPI: Advertising remote topic offboard_control_mode
INFO  [muorb] SLPI: Advertising remote topic timesync_status
INFO  [uORB] Advertising remote topic estimator_aid_src_ev_hgt
INFO  [uORB] Advertising remote topic estimator_aid_src_ev_pos
INFO  [uORB] Advertising remote topic estimator_aid_src_ev_vel
INFO  [uORB] Advertising remote topic estimator_aid_src_ev_yaw
INFO  [mavlink] mode: Normal, data rate: 100000 B/s on udp port 14558 remote port 14559
INFO  [muorb] SLPI: Marking DeviceNode(telemetry_status) as advertised in process_remote_topic
INFO  [mavlink] partner IP: 127.0.0.1
INFO  [mavlink] MAVLink only on localhost (set param MAV_{i}_BROADCAST = 1 to enable network)
INFO  [px4] Startup script returned successfully
INFO  [muorb] SLPI: u-blox firmware version: SPG 3.01
INFO  [muorb] SLPI: u-blox protocol version: 18.00
INFO  [muorb] SLPI: u-blox module: NEO-M8N-0
INFO  [uORB] Advertising remote topic sensor_gps
INFO  [muorb] SLPI: Advertising remote topic ping
INFO  [uORB] Advertising remote topic mavlink_log
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
WARN  [uORB] orb_advertise_multi: failed to set queue size

```

## Reply by Eric Katzfey (ModalAI staff) · 2024-07-01 20:12:01 UTC (in reply to Captain 7th)

@Captain-7th Are you saying that the GPS is not working? I don't see anything in the included logs to indicate that GPS is not working.

## Reply by Captain 7th · 2024-07-02 14:43:40 UTC (in reply to Eric Katzfey)

@Eric-Katzfey Dear Eric, 

The log shows that the voxl-px4 is does not get completed and it crashes after a while:

```
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
INFO  [muorb] SLPI: Connection to ground station lost	
INFO  [muorb] SLPI: GCS connection regained	
WARN  [uORB] orb_advertise_multi: failed to set queue size
```
what are these errors? after these messages, I couldn't run again the voxl-px4 again! so I decided the follow this way:

After reading some posts, I decided to upgrade the SDK version to the latest. I tried to upgrade the SDK from 1.0.0 to 1.3.0. Then running "apt update && apt upgrade" 

Then, followed some hints from you that you mentioned in some other post. I found the /usr/bin/voxl-px4-start file and added these commands at the end of the file:

1. qshell gps stop
2. /bin/sleep 1
3. qshell gps start -b 9600

Then, in my browser (HTTP://ip.address), it shows 255 satellites, but the GPS is still blinking in red color (should it be blue color?) Also, I checked the QGS app, it does not show the number of satellites and the drone location on the map. (I am in an indoor env, but I put the drone very close to the open window.)

## Reply by Eric Katzfey (ModalAI staff) · 2024-07-02 17:05:01 UTC (in reply to Captain 7th)

@Captain-7th The connection to ground station has nothing to do with GPS. That is probably something related to your wireless network link. So I still don't see why you think GPS wasn't working.

## Reply by Captain 7th · 2024-07-02 17:50:11 UTC (in reply to Eric Katzfey)

@Eric-Katzfey Could you please tell me when the GPS is working, should it start blinking blue or red? Currently, mine is red! Please also let me know how I can check my GPS is working properly or not.

## Reply by Eric Katzfey (ModalAI staff) · 2024-07-02 18:41:30 UTC (in reply to Captain 7th)

@Captain-7th That LED is a general PX4 status LED. If it is red it could indicate any number of different problems. It is not specifically tied to the GPS.

## Reply by Captain 7th · 2024-07-03 10:00:45 UTC (in reply to Eric Katzfey)

@Eric-Katzfey Thanks for the reply. Can you guide me on how can I check what are the problems?

Also, I have a wifi problem. Can you help me with that? My question is here: https://forum.modalai.com/topic/3600/how-to-set-up-the-voxl-wifi-station-mode-for-hidden-networks?_=1719998452051

## Reply by Eric Katzfey (ModalAI staff) · 2024-07-03 16:31:32 UTC (in reply to Captain 7th)

@Captain-7th Please check the new forum post where you ask all these questions again.
