The Machine

In a previous post, I mentioned that I had acquired a FEZ Domino. I then started the project of building a robotic platform from it and improving it over time. So here is the beginning of The Machine.

Components

I bought a few components from RobotShop to start the construction of The Machine:

I also used a Logitech Dual Action USB game controller to control the robot. The Fez Domino supports joysticks, keyboards, and mice, so no driver needed.

[Read More]

I received my Fez Domino

After a few weeks of waiting, I received my Fez Domino ordered via RobotShop!

snapshot-3

This microcontroller running on the .Net Micro Framework (NETMF) is designed in the same format as the Arduino, allowing the use of its “shields”.

While waiting to play with it and give you my feedback, you can check out the following sites:

Pyxis 2–An OS for the .Net Micro Framework

Pyxis 2 is an OS running on the .Net Micro Framework (NETMF). It can theoretically run on any NETMF platform, but it is currently configured only for GHI Electronics (Tinyclr.com) products.

To learn more, read the NETMF team blog or visit the official site. The code is available as open source at pyxis2.codeplex.com. Here is a video to whet your appetite:

Pyxis 2 Beta Released!

Reference Documentation

In the November edition of MSDN Magazine, Peter Gruenbaum explains how to write good reference documentation for APIs in his article titled “A Coder’s Guide to Writing API Documentation”.

My attention was particularly drawn to Figures 2 and 3, which explain how to comment while maintaining consistency throughout the API. I have reproduced them here:

Figure 2: Reference Documentation Style

TypeGuidelineExamples
ClassStart with a word like “Represents”“Represents a user’s photo album.”
Methods and functionsStart with a verb“Returns the number of contacts for the specified area.”

“Pauses the video.”
PropertiesUse a noun or start with verbs such as “Gets” or “Gets and sets”“The user’s tasks.”

“Gets and sets a collection of the user’s tasks.”
EventsStart with a phrase such as “Raised when” or “Occurs when”“Raised when the response from server is received.”
XML elementsUse a noun-based phrase“The city’s postal code.”
Boolean valuesFor Boolean properties, start with “Indicates whether”; for Boolean return values on methods and functions, start with “Returns whether”“Indicates whether the control is visible.”

“Returns whether two regions intersect.”

Figure 3: Reference Documentation Example

[Read More]

Back from Nepal

After 4 weeks of vacation, I am now back home. It must be said that it is not necessarily a restful vacation to go to the other side of the world and reach the foot of the highest peak in the world!

4 weeks without contact with a computer (ok ok, 2 minutes to say that we were still alive), it feels rather strange! And did you know that all along the climb to the Everest base camp they have installed cell towers? So it’s not surprising to come across a Sherpa in full conversation with his mobile phone!

[Read More]