I am running APM 2.012 with the most current build.  I have absolutely no problems programming waypoints using the APM planner as well as using the APM planner for wireless telemetry monitoring.  The problem is that I can't connect wirelessly with HK.  I have the correct COM port selected as well as the baud rate.  It just won't connect.  I am getting very familiar with all aspects APM and APM planner but HK is still foreign to me as I haven't used it.  I wish to use it for real flights now that I have run many successful HIL simulations.  Any ideas?

 

Thanks again,

-Robb-

Tags: APM, GCS, HK, Happy, HappyKillmore, Killmore, Planner

Views: 525

Reply to This

Replies to This Discussion

Have you run the Xbee test in the CLI or with X-CTU to confirm that your Xbees are paired and communicating?

That was quick!  I know they are communicating because I can use the APM GCS Mavlink to monitor telemetry using the XBee's.  When I switch over and try the HK it won't connect.  I also cannot connect with QGround Control either but I have almost zero knowledge of how that works so I'm most likely doing something wrong there.  Thanks again Chris!

 

-Robb-

Robb: I'm not sure what you mean by the APM GCS Mavlink. Do you mean the Mission Planner?

If so, and the GCS works via the Xbee ports in the Mission Planner, the only think I can think of is that you've got the baud rate set wrong in the HK GCS. Remember that USB is 115k and Xbee is 57k.

I'll go a bit more in depth as to my setup.  I am running XPlane on my desktop computer via USB to the APM.  That is, as you said, at a baud of 115k and has no problems whatsoever.

 

While I run the HIL I connect my XBee via FTDI cable to my laptop in the other room.  I open up the APM Planner on my laptop, connect to the XBee at 57600 and it works great.  As far as the APM GCS Mavlink, if you click Action and then click GCS Mavlink under APM 2.0 that is what I'm talking about.  I have never lost a connection using this method of wireless connection.  Now, when I close the planner and open up HK I try to connect at 57600 on the same COM port.  No beans.  Does that help at all?

Yes, that helps--it sounds like your hardware is working right. All I can think is that something went wrong in your HK GCS setup and serial comms got messed up. Did you go through the regular install process, where it auto loads the necessary runtimes? I've never had trouble, so I can't replicated any of this.

You might want to ask Paul Mather ("HappyKilllmore") here; he may have seen something like this before.
Robb, Try using the Serial Data window in HK GCS and adjust the rates of data streams. I have this issue now after futzing with those during some other tests. now once launched, i must change those values in order for data streams to begin flowing.

Robb, I have the same problem too. Everything is like you described.

I asked about it in the comments section  in APM Release blog post here:

http://diydrones.com/profiles/blog/show?id=705844%3ABlogPost%3A3033...

A few people gave advice, but it didn't help.

Did anybody solve this problem?

got the same problem here, 2 Xbee 900 pro, the one on the plane send data every sec (well I assume because the orange LED is blinking) but the one on the laptop did not receve or send data (no orange DI or DO LED), I check using XCTU with the range test and they are paired no packet loss.

I use the lastest version of APM 2 and HK GCS, and my APM_config have all the paramters to use the wireless link.

 

 

I think it maybe something to do with the size and frequency of data coming out of the APM that the Xbee cannot keep up with. There is one stream of 218characters from the MavLink that could be filling the buffer up in the Xbee and resulting in the link failing.
Try connecting your PC to the serial output on the APM/Oilpan that you are using for wireless via an FTDI and see if it will work then.

Peter

When you say "APM_config have all the paramters to use the wireless link", which file (menu, option) are you referring? Tx.

The problem has finally solved! Thanks to Chris and Darren.

Just open HK GCS, then select 57600 baud rate as usual and correct com port. After that press "connect". 

Go to "Serial Data" tab and in "Serial Settings" set "Max GPS" as 1Hz. Then HK GCS defines your location and zooms into it.

That's works for me. Maybe you'll need to set some other frequencies until it becomes synchronized, nevertheless the trouble is exactly in these parametres.

Krill: Good to know--thanks for passing that along. I've added that advice to the manual.

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

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service