What message does HK wait for after requesting to connect through COM port?

I plan to (eventually) build my own GCS. So far, I've created a simple COM port rerouter (for sharing a COM port across a network) for my GCS. I will have the APM on the drone (drone is connected to PC by local wifi network) and I will have my GCS on the PC. I think I have my COM port rerouter working, but I can't really test it because HK GCS does not allow me to connect to the virtual com port (unless the APM is plugged into it, but the APM is plugged into the drone not the PC).

Whenever HK GCS attempts to connect to a APM, it outputs this to the window: $Q,0,0*51.

What does this message mean? Is it just a random string used for initialization?

And, after HK's "$Q,0,0*51" request, what command does HK need to get from the serial connection in order for HK to connect?

Thanks for any help,

Cameron Lattz

Tags: $Q,0,0*51, HK, connection, request

Views: 127

Reply to This

Replies to This Discussion

You should do more research before posting noob questions. No way ill dl your gcs.... haha

Ellis thinks that HK GCS might "discover" that the APM is connected by constantly listening for heartbeats, even if the Connect button has not yet been pressed. Is this true?

After many hours of searching, I gave up and started working on something else. Then I stumbled across this completely by accident: "MAVLink is stateless, but QGroundControl tracks if a system is alive using the heartbeat message. Therefore make sure to send a heartbeat every 60, 30, 10 or 1 second (1 Hz is recommended, but not required)." I think Ellis was correct.

RSS

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service