How to convert between Decimal Degrees & Minutes (DDM) to Decimal Degrees (DD). I always prefer to represent latitude and longitude as full decimal degrees (DD), I find it much simpler and you can do calculations with the values. However, other people and devices love to use the slightly (to me) esoteric Decimal Degrees and […]
Author Archive for: admin
This author has not written his bio yet.
But we are proud to say that admin contributed 13 entries already.
Entries by admin
Anybody who works with images often have probably come across .Net Bitmaps (System.Drawing.Bitmap) with their staggeringly slow GetPixel() and SetPixel() methods. Now, if you are going to work directly with images then you’re probably in the wrong place if you are using C# and .Net. However, sometimes you may want to do a small amount […]
I couldn’t get KDevelop to stop at breakpoints even on simple ‘hello world’ C++ projects. It appeared that CMAKE_BUILD_TYPE was being correctly set and GDB worked fine from the command-line, but from within kdevelop breakpoints were never respected! I think the problem stemmed from the Cache Value for CMAKE_BUILD_TYPE being empty, this value can be […]
To sleep in your shell script in units of 1 second – sleep will see you right. However what if you want to sleep for less than one second, say for 200ms? On some newer system you can do something like this and everything is fine: sleep .2 However when I try this on my […]
If you’re receiving errors like the following when trying to build a project in Visual Studio 2017 using the Paho C client: Error C2238 unexpected token(s) preceding ‘;’ Then there is a quick fix, the problem seems to revolve around the following for DLLImport & DLLExport in the Paho header files: #if defined(WIN32) || defined(WIN64) […]
The point cloud library (PCL) is a fantastic resource for working with point clouds, however it is a large library and it can take a while to effectively find your way around it. The octree construct is very useful for working with point clouds, but again it can take a while to learn how to […]
If you get this compile error: Error C2988 unrecognizable template declaration/definition When you: #include from the Point Cloud Library (PCL) in Visual Studio 2017, then either throw the following in before the #include, like this: // #define BOOST_TYPEOF_EMULATION #include or upgrade your version of Visual Studio 2017 (I haven’t tested this yet myself!) Not sure […]
Phil Harvey’s ExifTool is a fantastic software tool for displaying and interacting with image Exif data, however by default it doesn’t display maker notes and I always forget the command line options to persuade it to list them, so here it is – the -u option gets exiftool to display ‘unknown’ tags and theses include […]
In some cases both the MikroC i2c functions I2C1_Wr() and I2C1_Rd() can hang or lockup indefinitely until the PIC is reset. This can happen if the I2C bus isn’t properly terminated, for example if a connection breaks or similar (broken wire or solder joint etc). Having your PIC lockup during operation is generally not very […]
We were very pleased to hear the thecorknews.ie won the ‘Best Online Publication’ award at the 2014 Irish Web Awards yesterday. Congratulations to The Cork News team! We are especially proud as we helped Pride Design build the site some years ago. It was technically quite a challenging website to build but as always Drupal […]
Address: 43 Churchgate, Wicklow, Co. Wicklow, Ireland.
Telephone: +353 87 2236429
email: [email protected]
- Code to calculate heading / bearing from two GPS latitude and longitude Points
- Code Example: Convert Decimal Degrees and Minutes (DDM) to Decimal Degrees (DD)
- Simple Wrapper of boost::asio for receiving UDP datagrams
- mktime() always uses local time zone and converts from UTC
- Estimate Solar Azimuth and Elevation given GPS position and time.
- Creating time_t value from a UTC date and time in C
- Speed up Encoding of JPEG images on Embedded System
- libjpeg example – encode JPEG to memory buffer instead of file