As always thanks for the APM  and GCS programs!

I understand  APM 2.xxx software is Beta.

Just making sure I'm not making an obvious mistake.

Also posted in APM ISSUES section.

 

Just wondering if anyone else is having lockup issues with the latest version of HK GCS?  VER 1.2.75

What I mean by lock up is after starting the program and establishing a wireless link the program completely freezes, it will not accept any type of input from the computer. This happens within 1 minute  after the link is established. After trying to close the program windows diplays "HappyKillmore's Ground Station is not responding".

I have loaded and reloaded the GCS program, apm software, Xbee firmware on etc., on both a Vista and an XP machines.

The program appears to work fine via the USB connection.

I am able to successfully connect via xbees using APM 1.02 and earlier versions of HKS GCS.

 

The GCS included in ArduPilotMega Planner 0.4.20 seems to work properly.

 

 

HK GCS  VER 1.2.75

APM 2.0.12 (BAT Mon, compass, airspeed, UBLOX all enabled)

900mhz xbees (from diy drones store)

WIN VISTA and XP

 

Any ideas? I have run out.

Views: 226

Reply to This

Replies to This Discussion

I am having the same problem with the HK GCS. It seems to have been a problem in the last couple of versions. I run fine for a while and then it just freezes and I have to kill the software.

Sorry, no solution for you, just solidarity!

James,

 

Thank you for repling.

 

HK's  GCS really adds a whole new dimension(s) to the ardu pilot mega!

 

FWIW,,

 

It appears that I have the GCS working again.

I uninstalled the program completely and removed any reference to HK_CGS from the registry. Then reloaded it.

Then I reset the xbee baud rates to 38400 and also changed APM Port3 to 38400.

At this point Bat Mon, airspeed (Blue needle) GPS locked and #of SATS (no hdop yet) are all working!

I am also able to write waypoints etc via the Xbees.

The only issue I am experiencing now relates to the throttle display on the Battery&Throttle instrument and throttle section on the Status page.

With the throttle stick at idle,  53% is displayed.

In the servos page channel 3 IN and OUT  show 1024 and change appropriately with stick movement ;to the high side of 1958.

What I have found is that the 53% is coming from channel #1 (aileron) input.

If I move the aileron stick the throttle display changes, for example when the stick is displaced to the left the throttle displays -8% and if displaced to the right 110%.

Any help or ideas are welcome!

 

So no lockups when you did that?

 

I have not been completely uninstalling and then reinstalling. I guess that is PC helpdesk 101 so I will try that now and see if my problem goes away.

1.2.75 was a mess. Please download 1.2.76 and let me know if it fixes your problems!?!?

Thanks for the response HK,

 

I am still having RC channel one value being displayed in the throttle values as described earlier.

 

Thank You

Can you post your APM_Config.h file. I just tested with a servo tester connected to IN0 and nothing changed on throttle. I put it on IN2 and it changed throttle as expected.

Here you go, Just as a side note I just changed back to the 57600 baud setting and in effect reloaded  APM 2.0.12, did the apm factory reset,  radio setup etc.

I have also included screen shots of the SERVO tab and SERIAL monitor with the program in use.

 

---------------------------------------------------------------------------------------------------------------------------------------


 // -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

// This file is just a placeholder for your configuration file.  If you wish to change any of the setup parameters from
// their default values, place the appropriate #define statements here.

// For example if you wanted the Port 3 baud rate to be 38400 you would add a statement like the one below (uncommented)
//#define SERIAL3_BAUD        38400
//#define GCS_PROTOCOL        GCS_PROTOCOL_NONE


// You may also put an include statement here to point at another configuration file.  This is convenient if you maintain
// different configuration files for different aircraft or HIL simulation.  See the examples below
//#include "APM_Config_mavlink_hil.h"
//#include "Skywalker.h"

// The following are the recommended settings for Xplane simulation. Remove the leading "/* and trailing "*/" to enable:

/*
#define HIL_PROTOCOL        HIL_PROTOCOL_MAVLINK
#define HIL_MODE            HIL_MODE_ATTITUDE
#define HIL_PORT            0
#define GCS_PROTOCOL        GCS_PROTOCOL_MAVLINK
#define GCS_PORT            3
*/



//////////////////////////////////////////////////////////////////////////////
// AIRSPEED_SENSOR
// AIRSPEED_RATIO
//
#ifndef AIRSPEED_SENSOR
# define AIRSPEED_SENSOR        ENABLED
#endif
#ifndef AIRSPEED_RATIO
# define AIRSPEED_RATIO            1.9936        // Note - this varies from the value in ArduPilot due to the difference in ADC resolution
#endif

//////////////////////////////////////////////////////////////////////////////
// Battery monitoring
//
#ifndef BATTERY_EVENT
# define BATTERY_EVENT            ENABLED
#endif
#ifndef BATTERY_TYPE
# define BATTERY_TYPE            0
#endif
#ifndef LOW_VOLTAGE
# define LOW_VOLTAGE            9.6
#endif
#ifndef VOLT_DIV_RATIO
# define VOLT_DIV_RATIO            3.56
#endif

//////////////////////////////////////////////////////////////////////////////
//  MAGNETOMETER
#ifndef MAGNETOMETER
# define MAGNETOMETER            ENABLED
#endif
#ifndef MAG_ORIENTATION
# define MAG_ORIENTATION        AP_COMPASS_COMPONENTS_DOWN_PINS_FORWARD
#endif


/////////////////////////////////////////////////////////////////////////////
// GCS_PROTOCOL
// GCS_PORT
//
#ifndef GCS_PROTOCOL
# define GCS_PROTOCOL        GCS_PROTOCOL_MAVLINK
#endif
#ifndef GCS_PORT
# define GCS_PORT            3
#endif

#ifndef MAV_SYSTEM_ID
# define MAV_SYSTEM_ID        1
#endif


//////////////////////////////////////////////////////////////////////////////
// Serial port speeds.
//
#ifndef SERIAL0_BAUD
# define SERIAL0_BAUD            115200
#endif
#ifndef SERIAL3_BAUD
# define SERIAL3_BAUD            57600
#endif

 

Attachments:

Sorry for the double post but here is a screen shot with AIL RC Channel #1 fully displaced. Notice the change in throttle display bearing in mind that the Throttle RC channel #3 is  stillretarded to idle.

Attachments:

Ah...got it. Click File, Settings and on the General Tab, select CH#3 for "Throttle Channel." The default might not match the APM's settings.

Fixed it!

Slightly embarrassed.

Thanks again for the awesome program and especially your time.

Once the wind diminishes I will flight test it.

Have lunch on me

Thanks Joe! I changed the "default" throttle channel to #3....so others might not have this same problem...

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