Espritmodel.com Telemetry Radio
Reply
Thread Tools
Old Nov 29, 2012, 04:51 PM
Way to many airplanes!
Canada, QC
Joined Oct 2009
5,452 Posts
Quote:
Originally Posted by avt View Post
The problem is I'm afraid to leave this very fragile soldering job on the board as is.
Thin coat of expoxy glue over that will fix things permanently. Sure enough, if something goes awefully wrong, then, you're screwed (though removing the epoxy is not impossible). No matter what, it's still better than not flying it because you're worrying about a loose connection.
RealGambler is online now Find More Posts by RealGambler
Reply With Quote
Sign up now
to remove ads between posts
Old Nov 30, 2012, 12:20 AM
avt
Hell Flyer
Israel
Joined Nov 2006
1,185 Posts
Quote:
Originally Posted by RealGambler View Post
Thin coat of expoxy glue over that will fix things permanently. Sure enough, if something goes awefully wrong, then, you're screwed (though removing the epoxy is not impossible). No matter what, it's still better than not flying it because you're worrying about a loose connection.
Good thinking. That's exactly what I'll do.
Thanks.
avt is offline Find More Posts by avt
Reply With Quote
Old Dec 09, 2012, 01:52 PM
Registered User
Joined Jun 2010
83 Posts
I have this really strange problem with a few of my PAL cameras:

As you can see the OSD text shows in 2 places, it also flickers a bit. The camera image (showing it's internal OSD) however is fine.

I also connected an OSD with original firmware, and it has the same issue.

These cameras work fine with the more expensive OSDs that have a chip like the MAX7456 that actually processes the entire image.

Has anyone been able to fix this yet?
Baggus is offline Find More Posts by Baggus
Reply With Quote
Old Dec 09, 2012, 08:39 PM
mutski
Fairbanks, AK
Joined Jan 2011
1,143 Posts
G-OSD flashed! Here's what I learned.

It was a full-day struggle, but I managed to flash my G-OSD to cl-osd. I still have to wire it into the video system on my EasyStar II before I'll know if it worked. All I can say now is that the solid LED power indicator has changed to a flashing LED power indicator.

The biggest complication was that my G-OSD apparently has the ATMEGA88PA chip, which was not recognized by AvrDude. That's fixed as described here http://www.avrfreaks.net/index.php?n...topic&p=769081 I had to find the avrdude.conf file (it's here C:\WinAVR-20100110\bin), open with Notepad, locate the Atmega88 section within the .conf file, copy it and paste it in as a new section, and change the identifiers and signature as described in the avrfreaks post above. Figuring the changes wasn't easy (I'm not a programmer), so to help others, here's how it looks - changes are in BOLD (note the "f" in the signature line):

#------------------------------------------------------------
# ATmega88PA
#------------------------------------------------------------

part
id = "m88pa";
desc = "ATMEGA88PA";
has_debugwire = yes;
flash_instr = 0xB6, 0x01, 0x11;
eeprom_instr = 0xBD, 0xF2, 0xBD, 0xE1, 0xBB, 0xCF, 0xB4, 0x00,
0xBE, 0x01, 0xB6, 0x01, 0xBC, 0x00, 0xBB, 0xBF,
0x99, 0xF9, 0xBB, 0xAF;
stk500_devcode = 0x73;
# avr910_devcode = 0x;
signature = 0x1e 0x93 0x0f;
pagel = 0xd7;
bs2 = 0xc2;
chip_erase_delay = 9000;

***********************************
Once those changes are in place, the command to flash the G-OSD is:
arvdude.exe –p m88pa –c usbasp –U flash:w:cl-osd.hex –U eeprom:w:cl-od.eep
mutski is offline Find More Posts by mutski
Last edited by mutski; Dec 10, 2012 at 01:51 AM.
Reply With Quote
Old Dec 11, 2012, 03:18 AM
mutski
Fairbanks, AK
Joined Jan 2011
1,143 Posts
CL-OSD help please!

I've flashed my new G-OSD with CL-OSD, and now I see nothing in the display but the circle for the Home arrow.

I have the Fatshark Predator glasses with the included camera, supposedly NTSC. I have just one battery connected to the G-OSD at present. I have also connected the GPS module and DORA for rssi display, both connected to a Y harness plugged into the data port on my AR6115 rx. I have a 600mw Immersion Vtx.

If I go into the config.h file and set #define COLORSYSTEM_NTSC //** I can see the circle for the Home arrow, but the vertical hold is off - I actually see a column of circles moving upward. I can also see shadows of the data flickering by across the rest of the screen.

If I comment out //#define COLORSYSTEM_NTSC //** (ie set to PAL), I see a stable screen with the Home arrow circle but no data display.

I'd be grateful if anyone can help me find the solution to this!

Here is my present config.h file:

************************************************** *************************************

/*cl-osd - A simple open source osd for e-osd and g-osd
Copyright (C) 2011 Carl Ljungström

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.*/


#ifndef SETUP_H_
#define SETUP_H_

#include "hardware.h"
#include <avr/io.h>

//NOTE: Most options can be disabled by commenting them out.
//This is done by inserting // at the start of the line.
//Some options depend on others so you might get an error if you mess around too much. :-)

// ------------------ MAIN CONFIGS -------------------------------------------------

// ----------- MAIN FEATURES --------------
//(Comment to disable)
#ifdef HARDWARE_SUPPORT_GPS
#define GPS_ENABLED
#endif //HARDWARE_SUPPORT_GPS
#ifdef GPS_ENABLED
#define GRAPICSENABLED
#endif //GPS_ENABLED
#define TEXT_ENABLED
#define TIME_ENABLED
#define ADC_ENABLED
//#define STATISTICS_ENABLED
#define ALARM_ENABLED
#define SENSORS_ENABLED

// ----------- ALARMS --------------
//Alarms (Comment to disable)
#define ALARM_BATT1_LOW 11.40 //Warn if below this level (in volt)
#define ALARM_BATT2_LOW 11.40 //Warn if below this level (in volt)
#define ALARM_RSSI_LOW 50 //Warn if below this level (in %)
#define ALARM_SPEED_HIGH 55 //Warn if above this level (in kmph/mph)
#define ALARM_ALTITUDE_LOW 50 //Warn if below this level (in meters/feet)
#define ALARM_ALTITUDE_HIGH 400 //Warn if above this level (in meters/feet)
#define ALARM_DISTANCE_HIGH 5280 //Warn if below this level (in meters/feet)
//#define ALARM_CURRENT_HIGH 50 //Warn if above this level (in Ampere)
//#define ALARM_POWER_USAGE_HIGH 5000 //Warn if above this level (in mAh)

// ----------- SENSORS --------------
// Enabled sensors
//#define SENSOR_BATTERY_PERCENTAGE_ENABLED
#define SENSOR_RSSI_ENABLED
//#define SENSOR_COMPASS_ENABLED
//#define SENSOR_CURRENT_ENABLED

// Battery voltage sensor
#define SENSOR_VOLTAGE_1_ENABLED
#define SENSOR_VOLTAGE_2_ENABLED

// Battery percentage sensor
#ifdef SENSOR_BATTERY_PERCENTAGE_ENABLED
#define SENSOR_BATTERY_PERCENTAGE_INPUT ANALOG_IN_1
#define SENSOR_CELL_LOW_VOLTAGE 3.8 //(Max two digits after the dot)
#define SENSOR_CELL_HIGH_VOLTAGE 4.2
#define SENSOR_CELL_COUNT 3
#endif //SENSOR_BATTERY_PERCENTAGE_ENABLED

// RSSI sensor
#ifdef SENSOR_RSSI_ENABLED
#ifdef ANALOG_IN_3
#define SENSOR_RSSI_INPUT ANALOG_IN_3
#else
#define SENSOR_RSSI_INPUT ANALOG_IN_2
#endif
#define SENSOR_RSSI_MAX_VOLTAGE 5.0 //(Max two digits after the dot)
#define SENSOR_RSSI_MIN_VOLTAGE 1.2
//#define SENSOR_RSSI_REVERSED // If a low voltage value means high signal strength and vice versa, then enable this. (Thanks BlueAngel2000)
#endif //SENSOR_RSSI_ENABLED

// Compass sensor
#ifdef SENSOR_COMPASS_ENABLED
#define SENSOR_COMPASS_INPUT ANALOG_IN_2
#define SENSOR_COMPASS_MIN_VOLTAGE 0.00 //(Max two digits after the dot)
#define SENSOR_COMPASS_MAX_VOLTAGE 5.00
#endif

// Current sensor (Settings for ACS758LCB-100U-PFF-T, might need to tweak a bit.)
#ifdef SENSOR_CURRENT_ENABLED
// Peacefullhill says to use analog 2 since RSSI is less stable. Not tested by me.
#ifdef ANALOG_IN_3
#define SENSOR_CURRENT_INPUT ANALOG_IN_3
#else
#define SENSOR_CURRENT_INPUT ANALOG_IN_2
#endif

// If your sensor is defined in mV/A and a 0A value us this calculation: (Thanks to kai)
// Max amp = Amp at max level.
// Min voltage = 0A voltage.
// Max voltage = (0A voltage) + (max amp) * ((mV/A) / 1000) = Max voltage
// For example we have a sensor with 40mV/A and 0.6V at 0A with max 100 Amps:
// Max amp = 100, Min voltage = 0.60, Max value = 0.6 + 100 * (40 / 1000) = 4.60
#define SENSOR_CURRENT_MIN_VOLTAGE 0.50 //(Max two digits after the dot)
#define SENSOR_CURRENT_MAX_VOLTAGE 4.00
#define SENSOR_CURRENT_MAX_AMPS 100 //AMP
#endif

// ----------- OTHER --------------

#ifdef TEXT_ENABLED
//#define TEXT_INVERTED_ENABLED //Make text transparent and background white.
//#define TEXT_SMALL_ENABLED //Enable small text. Might be buggy!
#define TEXT_USE_SPECIAL_CHARS //Use chars with non-ascii symbols.
//#define TEXT_COMPASS_ENABLED //Enable compass when no statistics is shown.
#endif //TEXT_ENABLED

// Unit system
#define IMPERIAL_SYSTEM //Feet, mph etc...
//#define METRIC_SYSTEM //Meter, hm/h etc...

// Home pos set
// Note: Use at least one or you will never get a home pos!
// Comment out unwanted to disable
//#define HOME_SET_AT_FIX // Home position is set when GPS gets satellited fix.
#define HOME_AUTO_SET //Home position is set when a certain speed is exceeded.
#define HOME_SET_WITH_BUTTON //Home position is set when the little button on OSD is long pressed.
#define HOME_SET_FIX_COUNT 10 //Config for _SET_AT_FIX: After 10 successfully fixes, home is set.
#define HOME_FIX_MIN_SPEED 10 //Config for _AUTO_SET: More than 10 km/h sets home.
#define HOME_SET_MIN_SATS 4 //Config for _SET_AT_FIX: Set home only when more than 4 satellites. (Thanks to Yury Smirnov)

//GPS
#define GPS_GOOGLE_FORMAT
//#define GPS_DIYD //Use DIYD/APM binary protocol (Thanks to David Collett)
#define GPS_CAL_GOOGLE_LAT 7382 //Local calibration of Google GPS Lat (Truglodite)
#define GPS_CAL_GOOGLE_LON 4728 //Local calibration of Google GPS Long (Truglodite)
#define GPS_POS_ALWAYS_SHOWN_ENABLED // Always show gps position.

//Pre and post flight info
#define STATISTICS_MIN_SPEED_SHOW 3 //Under this speed the statistics will show.
#define STATISTICS_DELAY_SHOW 10 //It takes ten secs before the statistics is shown. (Higher is better for multicopters!)

//User data
#define TEXT_CALL_SIGN "KL3OL" //Set this to your call sign.

//VBI (Only for evaluation and development, not finished!)
//#define VBI_TESTING_ENABLED

//Time
#define TIME_HOUR_ENABLED //Enable time to show and count hours.

// Color system (Thanks to chatch15117)
#define COLORSYSTEM_NTSC

//BUG fix for GOSDII GPS (gps unit sends km/h instead of knots)
//#define GOSDII_GPS_SPEED_BUGFIX

//Screen and sensor refresh rate (Don't set too high!)
#define SCREEN_AND_SENSOR_UPDATES_PER_SEC 1

// ----------------- INTERNAL CONFIGS ---------------------------------------------

// ----------- CHECK SANITY --------------
#if (defined(IMPERIAL_SYSTEM) && defined(METRIC_SYSTEM)) || (!defined(IMPERIAL_SYSTEM) && !defined(METRIC_SYSTEM))
#error "Select one and only one unit system!"
#endif

#if (defined(SENSOR_VOLTAGE_2_ENABLED) && (ANALOG_IN_NUMBER <= 2) && defined(SENSOR_RSSI_ENABLED))
#error "Can't use both RSSI and voltage 2 at the same time on this board."
#endif

#if (defined(GPS_POS_ALWAYS_SHOWN_ENABLED) && defined(TEXT_COMPASS_ENABLED))
#error "Can't use both TEXT_COMPASS_ENABLED and TEXT_GPS_POS_ALWAYS_SHOWN_ENABLED at the same time without changing the code!"
#endif

// ----------- TEXT --------------
#ifndef TEXT_SMALL_ENABLED
#ifdef COLORSYSTEM_NTSC
#define TEXT_LINE_MAX_CHARS 32
#else //PAL
#define TEXT_LINE_MAX_CHARS 33
#endif //COLORSYSTEM_NTSC
#else
#define TEXT_LINE_MAX_CHARS 30
#endif //TEXT_SMALL_ENABLED
#define TEXT_CHAR_HEIGHT 8

#define TEXT_LINES 6
#ifdef COLORSYSTEM_NTSC
#define TEXT_TRIG_LINES_LIST 25, 50, 135, 180, 210, 235 // Must be rising line numbers!
#else //PAL
#define TEXT_TRIG_LINES_LIST 50, 66, 170, 205, 255, 280 // Must be rising line numbers!
#endif //COLORSYSTEM_NTSC

#define TEXT_INVERTED_OFF 0
#define TEXT_INVERTED_ON 1
#define TEXT_INVERTED_FLIP 2

#ifndef TEXT_SMALL_ENABLED
#define TEXT_SIZE_LARGE_MULT 2
#define TEXT_SIZE_SMALL_MULT 1
#define TEXT_LINE_TEXT_SIZES TEXT_SIZE_SMALL_MULT, TEXT_SIZE_LARGE_MULT, TEXT_SIZE_SMALL_MULT, TEXT_SIZE_SMALL_MULT, TEXT_SIZE_LARGE_MULT, TEXT_SIZE_SMALL_MULT
#endif //TEXT_SMALL_ENABLED

// ----------- GRAPHICS --------------
#define GRAPHICS_SIZE 24 // Multiple of 8
#define GRAPHICS_WIDTH_REAL GRAPHICS_SIZE
#define GRAPHICS_WIDTH (GRAPHICS_SIZE/8)
#define GRAPHICS_HEIGHT GRAPHICS_SIZE
#ifdef COLORSYSTEM_NTSC
#define GRAPHICS_LINE 80
#define GRAPHICS_OFFSET 45
#else //PAL
#define GRAPHICS_LINE 105
#define GRAPHICS_OFFSET 46
#endif //COLORSYSTEM_NTSC
#define GRAPHICS_MID (GRAPHICS_SIZE/2)-1

// ----------- UPDATE LINE --------------
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
#ifdef COLORSYSTEM_NTSC
#define UPDATE_LINE 85
#else //PAL
#define UPDATE_LINE 110
#endif //COLORSYSTEM_NTSC

// ----------- TEXT UNITS --------------
#ifdef METRIC_SYSTEM
#define TEXT_LENGTH_UNIT "M"
#else
#define TEXT_LENGTH_UNIT "F"
#endif //METRIC_SYSTEM

#ifdef METRIC_SYSTEM
#define TEXT_SPEED_UNIT "KM/H"
#else
#define TEXT_SPEED_UNIT "MPH"
#endif //METRIC_SYSTEM

// ----------- SENSORS --------------

// Battery
#define BATT_MIN_VOLTAGE SENSOR_CELL_LOW_VOLTAGE*SENSOR_CELL_COUNT
#define BATT_MAX_VOLTAGE SENSOR_CELL_HIGH_VOLTAGE*SENSOR_CELL_COUNT
#define BATT_MIN_VOLTAGE_INT (uint16_t)(BATT_MIN_VOLTAGE*100)
#define BATT_MAX_VOLTAGE_INT (uint16_t)(BATT_MAX_VOLTAGE*100)

// RSSI conversion
#define RSSI_MIN_VOLTAGE_INT (uint16_t)(SENSOR_RSSI_MIN_VOLTAGE*100)
#define RSSI_MAX_VOLTAGE_INT (uint16_t)(SENSOR_RSSI_MAX_VOLTAGE*100)

// Compass
#define COMPASS_MIN_VOLTAGE_INT (uint16_t)(SENSOR_COMPASS_MIN_VOLTAGE*100)
#define COMPASS_MAX_VOLTAGE_INT (uint16_t)(SENSOR_COMPASS_MAX_VOLTAGE*100)

// Current sensor
#define CURRENT_MIN_VOLTAGE_INT (uint16_t)(SENSOR_CURRENT_MIN_VOLTAGE*100)
#define CURRENT_MAX_VOLTAGE_INT (uint16_t)(SENSOR_CURRENT_MAX_VOLTAGE*100)

// ----------- GPS --------------
#define GPS_BAUD 4800
#define GPS_UBRR (F_CPU/16/GPS_BAUD-1)
#define GPS_MAX_CHARS 11

// ----------- OTHER --------------

// Alarm conversion
#define ALARM_BATT1_LOW_INT (uint16_t)(ALARM_BATT1_LOW*100)
#define ALARM_BATT2_LOW_INT (uint16_t)(ALARM_BATT2_LOW*100)

// CPU speed
#define F_CPU 24000000UL

//Other
#define NULL 0


#endif /* SETUP_H_ */
mutski is offline Find More Posts by mutski
Reply With Quote
Old Dec 11, 2012, 05:51 AM
Way to many airplanes!
Canada, QC
Joined Oct 2009
5,452 Posts
You have to write two files.... The second one is the text! You probably only wrote the code itself but forgot to write the second file.

Just curious: The AR6115X as a data port you can use for the DORA???
RealGambler is online now Find More Posts by RealGambler
Reply With Quote
Old Dec 11, 2012, 11:57 AM
mutski
Fairbanks, AK
Joined Jan 2011
1,143 Posts
RealGambler -

As for the Ar6115, I plugged DORA into the "bind/data" port. Check the pic http://www.wholesaletrains.com/Detai...p?ID=200854896 This is untested since I can't get any text to appear on the screen.

Im not sure what you mean by a separate text file. I do think I'm sending text, because when I use #define COLORSYSTEM_NTSC I can see rows of marks on the screen, some of which flash on and off as though the alarms are working. The text just isn't translated into any readable characters.

When I "Build CL-OSD" using Atmel Studio 6.0, that produces two files in the G-OSD file: cl-osd.hex, and cl-osd.eep. When I flash the G-OSD chip, I'm thinking that uploads both? I have been following the instructions here: http://code.google.com/p/cl-osd/wiki/Programming. What am I missing?

I'm wondering if the problem could be because I seem to have the atmega88PA chip, instead of the atmega88, or if it could be that I'm using Atmel Studio 6 instead of Atmel Studio 5?

Avrdude didn't work until I followed the instructions for the atmega88PA chip, as described in my post above. I didn't completely understand what I was doing, but I found this in a HobbyKing post, "Only major issue is that my version of the G-osd has an atmega 88PA, not a 88, as describer. I only had to add -F to the avrdude instructions and it worked fine." Hence I changed the "a" to an "f" in the signature line in the .conf file. (signature = 0x1e 0x93 0x0f. Then Avrdude recognized and flashed the chip, so I'm assuming I have the atmega88PA.
mutski is offline Find More Posts by mutski
Last edited by mutski; Dec 11, 2012 at 12:10 PM.
Reply With Quote
Old Dec 11, 2012, 06:01 PM
Way to many airplanes!
Canada, QC
Joined Oct 2009
5,452 Posts
Sorry Mutski, my previous msg was somewhat misleading, simply because I quickly typed it on my phone...

What I meant to say was: When you see the circle, but nothing else, usually, it's the second part that is missing: the EEPROM part This is where the fonts are stored, so no fonts, nothing written on screen.

But you say you use AVRDude, which, should program both if you use the recommended line:

avrdude.exe -p m88 -c usbasp -U flash:w:cl-osd.hex -U eeprom:w:cl-osd.eep (original line, but you modify it for the 88PA chip).

Normally, at this point, you should only have to reflash the eeprom part or cl-osd.eep

Again, keep in mind, I'm not a pro, but you're getting there. Other may have better advices!

About your receiver: If there's a data port, you will likely be ok. But if the RSSI doesn't work (after you fix your display), don't blame the DORA right away. Spektrum receivers are often strange with that data port. Read again to make sure it's not your receiver. (But again, it does look ok, so don't worry about it for now!)
RealGambler is online now Find More Posts by RealGambler
Reply With Quote
Old Dec 11, 2012, 08:29 PM
mutski
Fairbanks, AK
Joined Jan 2011
1,143 Posts
EUREKA!!!!!
I deleted Atmel 6.0, installed Atmel 5.0.1163 instead, flashed again and now I can see everything! Hence, the problem appears to be in Atmel 6.0 - maybe incompatible with the cl-osd files?

Unfortunately 6 degrees F and snow today, so I can't go fly. Supposed to be snow tomorrow and then -45 degrees It might be a while before I get in the air. For now, I can at least report that the voltage reading works. I turned on the Spektrum Tx and the rssi signal went from 0 to 96%. GPS reads within .27 miles of present coordinates. GREAT SIGH OF RELIEF!

The next project is to decide where to stash the pile of wire and circuit boards - tape to the outside or cut a hatch in the belly.
mutski is offline Find More Posts by mutski
Last edited by mutski; Dec 11, 2012 at 09:02 PM.
Reply With Quote
Old Dec 13, 2012, 03:45 PM
RC pilot by soul
Israel
Joined Apr 2005
2,471 Posts
Guys,

im trying to flash my G-OSD (V1) to CL-OSD and im using the Atmega 88PA code - and the flash goes well, but this is the result - only some white blur in the middle of the screen - see attached.

any idea why ?

i found this post with a solution to a similar problem:
http://www.rcgroups.com/forums/showp...&postcount=962

so i changed the fuses and now i see the OSD !

BUT, i only see the "home arrow circle" and thats it ?? any idea why ?
BTW this happend with both the latest SVN version and a much older version from a few months ago which i have saved on my computer.
i3dm is offline Find More Posts by i3dm
Last edited by i3dm; Dec 13, 2012 at 03:58 PM.
Reply With Quote
Old Dec 13, 2012, 04:01 PM
RC pilot by soul
Israel
Joined Apr 2005
2,471 Posts
Sure enough, camera was NTSC, i enabled define_colorsystem_NTSC and all is well
i3dm is offline Find More Posts by i3dm
Reply With Quote
Old Dec 13, 2012, 04:51 PM
RC pilot by soul
Israel
Joined Apr 2005
2,471 Posts
All problems solved working great.
i3dm is offline Find More Posts by i3dm
Last edited by i3dm; Dec 13, 2012 at 05:25 PM.
Reply With Quote
Old Dec 16, 2012, 11:56 PM
Registered User
Joined Dec 2012
5 Posts
I up firmware CL-OSD R111 and result :
Code:
http://www.youtube.com/watch?v=Adr8dWbzo3A
I use camera 600tv line PAL with tx video 5,8ghz, G-OSD 2 from hobbyking.
I set in config.h.
// ----------- GRAPHICS --------------
#define GRAPHICS_SIZE 24 // Multiple of 8
#define GRAPHICS_WIDTH_REAL GRAPHICS_SIZE
#define GRAPHICS_WIDTH (GRAPHICS_SIZE/8)
#define GRAPHICS_HEIGHT GRAPHICS_SIZE
#ifdef COLORSYSTEM_NTSC
#define GRAPHICS_LINE 80
#define GRAPHICS_OFFSET 45
#else //PAL
#define GRAPHICS_LINE 198
#define GRAPHICS_OFFSET 28
#endif //COLORSYSTEM_NTSC
#define GRAPHICS_MID (GRAPHICS_SIZE/2)-1


Help me !
ngvanhieu06 is offline Find More Posts by ngvanhieu06
Reply With Quote
Old Dec 17, 2012, 03:13 PM
Registered User
Joined Jul 2011
176 Posts
Quote:
Originally Posted by Atx_Heli View Post
Rob, my code is not in the repository....its in post #1916 of this thread

also, Trog...you might want to try a compile with the Statistics undefined...it has a bug in that mode for the display...I'm sorry I have since forgotten what it was....but here is the same code I put in #1916 that has been fixed for when you don't want Statistics displayed....which I don't since they are bogus due to the occasional speed and altitude outliers...I have not tried it again with Statisitcs reenabled so I dont know if my code fix in layout.h works when enable the Statistics define...it works now when it isnt at least...

since I am not playing in the repository, I didnt note what the bug was Trog, but it has to do with line 3/4 display without statistics...sorry

anyway, if you want Statistics, use the code in #1916...otherwise, this works without...

been flying a lot with it now, and am flashing another one for my SlowStick with this code...
Hi Atx_heli, Truglodite and all!
Great Job, all of you! I flashed my G-osd with truglodite Cl-osd first Mod (caliberating GPS cordinates, GPS cordinates always on) about 3-4 months ago ans since it worked flawless (except Alt was very inacurate) I didn't visit this thread lately. What a massive progress!!!
Atx_heli- I want to flash your version from post 1925 to my Gosd but I use PAL system, and preffer Metric units... Can you please guide me what and where should I change in the code to get metric units and Pal display? I'm sure it will help other non-Americans
Aditionally, I am a bit afraid about that mod you made that the GPS cordinates data will only shown bellow 200ft... What if due to some failure the aircraft loose power and fall quickly to the ground? As I seen from my experience with this board, the data refresh a little bit slow, the aircraft might fall too quickly for the GPS cordinates to appear before video signal is lost, isn't it? I preffer to have GPS cordinates visible at all times, what should I change in your code to have this? Other than that (I believe it is a matter of personal like) your version looks superior, so much better compared to the original Cl-osd version, not to mention G-osd mini II original version

Truglodite- as the pioneer of the new stage of development in this code you deserve a lot of credit, all of you guys made incredible work out of this tiny cheap OSD... I am currently writing a summary guide to CL-osd modification from Mini G osd II for my local comunity, it is just wonderfull to see this evolution since the last time I was here...
Friman is offline Find More Posts by Friman
Last edited by Friman; Dec 18, 2012 at 01:29 AM.
Reply With Quote
Old Dec 18, 2012, 05:43 AM
Registered User
Austin, TX
Joined Jan 2009
741 Posts
Quote:
Originally Posted by Friman View Post
Atx_heli- I want to flash your version from post 1925 to my Gosd but I use PAL system, and preffer Metric units... Can you please guide me what and where should I change in the code to get metric units and Pal display? I'm sure it will help other non-Americans
Aditionally, I am a bit afraid about that mod you made that the GPS cordinates data will only shown bellow 200ft...
..
to change units...look for the section //Unit system in config.h
to change video...look for and comment out "#define COLORSYSTEM_NTSC" in config.h
to have gps on all the time...in layout.h comment out the line "if (gGpsLastValidData.pos.altitude - gHomePos.altitude < 200)// only show if below 200 ft"
Atx_Heli is online now Find More Posts by Atx_Heli
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Build Log Super OSD ($90): Open Source Graphic OSD: Vario, 6xADC, Games, Datalog, Dual Video tom66 FPV Equipment 1928 May 24, 2014 11:07 AM
Discussion Open Source Remote Control System (OSRC) Gizmoman31 Radios 152 Apr 24, 2012 06:01 PM
Discussion Open source OSD for FPV UFO_MAN FPV Talk 75 Sep 07, 2011 02:03 PM
Question Open Source Octo Design Available...Looking for someonw who can cut a copy for me... Schatham421 Multirotor Talk 14 Apr 12, 2011 05:22 PM