Categories
Uncategorized

Calories Burnt Calculation for Walking or Running in Java

Its surprisingly difficult to find a calorie calculation for Java for performing a number of steps at a certain speed. Based on the Compendium of Physical Activities (https://sites.google.com/site/compendiumofphysicalactivities/corrected-mets )  and using Corrected METS, I have converted the formulas on their website into Java code! I found the website particularly difficult to read as it did not […]

Categories
android network printing printing sockets

Simple Printing in Android to a Network Printer

So for a few days I have been researching how to send a document to a network printer without using any third party libraries in android. This sounds like a simple task but by default Android doesn’t offer this service, sure there are loads of apps that can do it but this took me a […]

Categories
DSS manifest lego mindstorm NXT MRDS robotics

Basic Controls of Lego Mindstorm NXT 2.0

So after the past two days of trying countless tutorials on the web, I decided to sift through the Microsoft articles to see if I could understand their code, and what happened? Success.I managed to look at the Drive by wire tutorial on Microsoft (http://msdn.microsoft.com/en-us/library/bb483053.aspx).Basically I first created a DSS Service 4.0 in VS2010, added […]

Categories
lego mindstorm NXT MRDS robotics

Problems with Microsoft Robotics Studio 4.0 Beta 2 and Lego Mindstorm NXT 2.0

This year I am studying my Honours in IT at the University of Johannesburg, South Africa. I decided to take on the task of programming the Lego Mindstorm robot in MRDS, it seemed relatively easy but believe me its complicated. I have tried a few tutorials but I am having problems making the Robot actually […]