Always getting "Vehicle is getting ready to arm" message

#1

Hi,
I am trying to use DronecodeSDK on Raspberry Pi. I removed GPS, I am using Distance Range Finder and Px4Flow sensor. But my vehicle can not arm. Always getting “Vehicle is getting ready to arm” message.

#2

Hi, I suggest you look at the code of why it is printing “Vehicle is getting ready to arm”.

You will see that it calls: telemetry->health_all_ok(). To get more info you can do something like:

std::cout << telemetry->health() << std::endl;

Also see: https://github.com/Dronecode/DronecodeSDK/blob/develop/plugins/telemetry/include/plugins/telemetry/telemetry.h#L162-L176

#3

Hmm, I should have tought. It gives this output. I want to use drone at indoor. I removed GPS. Can I discard local,global and home position?

#4

Alright, using flow instead of GPS is not tested yet, so I’m not sure how to help here right now.
Maybe someone else has already done it?

Otherwise I can try to follow up at some point in the future.

#5

I added GPS, home_position_ok couldn’t switch to true.

#6

So you’re saying local and global position are ok but home position is not?

#7

yes, home position is not ok

#8

That is very odd, because usually you get a home position as soon as you have a global position with PX4. Is the PX4 firmware changed in any way?

Could you paste the SITL output?