Mini-Pixhawk no Sensor data

Hello all,

I’m having an issue with my Mini-Pixhawk. I’m running a Matlab Simulink 2016 model on the Pixhawk and I tested it with easier models and it worked. However, when I run this model I do not get any sensor data. It seems that some sensors are turned off and for some parameters no data is logged. I’m thinking that the problem originates in the rc.txt file which is needed to turn on each application on the Pixhawk. This rc.txt file is placed on the For example, it seems that the Kalman Filter on the Pixhawk is not running, how do I turn it on? Where can I find more information on how to turn on the sensors with commands in the rc.txt file?

Thank you,

Juan

If the rc.txt was intended for the original pixhawk it won’t work for the pixhawk mini (different sensors).

If you can post the rc.txt I can point out the parts that would need to change.

Hi,

I’m having the same issue as Juan.

Here is my rc.txt:

usleep 1000
uorb start
usleep 1000
nshterm /dev/ttyACM0 &
usleep 1000
px4io start
usleep 1000
#commander start
usleep 1000
#mavlink start -d /dev/ttyS1 -b 115200
#usleep 5000
#dataman start
#usleep 1000
#navigator start
usleep 1000
sh /etc/init.d/rc.sensors
#usleep 1000
#sh /etc/init.d/rc.logging
usleep 1000
ll40ls start pwm
usleep 1000
pwm_input start
usleep 1000
attitude_estimator_q start
usleep 1000
#position_estimator_inav start
local_position_estimator start
#usleep 1000
gps start -d /dev/ttyS3 -m all
usleep 1000
mtd start
usleep 1000
param load /fs/mtd_params
usleep 1000
rgbled start
usleep 1000
#tone_alarm start
#try adding -d /dev/tty-4 to gps start
px4_simulink_app start
exit

Thanks in advance,

Tom

I have tried everything but it really doesn’t like the pixhawk mini…
Any idea guys?

I’m not sure, but if you ping me on PX4 slack we could try debugging in real time. Once we get it working again we can update the documentation. We could also include a predefined airframe configuration that does this and skip the rc.txt.