PC-Bot with .NET

July 17, 2007
Whitebox Robotic’s PC-Bot supports a range of software platforms including Microsoft’s .NET framework. Technology Editor Bill Wong takes a look at the .NET controls.

This is the first of a series of articles examining software platforms that work with Whitebox Robotic’s PC-Bot including .NET components, Microsoft’s Robotics Studio (See DK Targets Emerging Robotics Market) and the open source Player Stage project. The .NET components are specific to the PC-Bot like the BRIAN control program Real Robots: White Box Robotics PC-BOT While the latter provides immediate control of the PC-Bot, it tends to be used for basic testing of the hardware. Likewise, the .NET components provide basic access to the hardware. They do not provide a framework like the Robotics Studio or Player Stage but the components are simpler and easier to start with. Likewise, they can be used to build different robotic software frameworks. The two articles that will follow this look at the Robotics Studio and Player Stage. These have drivers that are comparable to the .NET components examined here but they are just part of a larger framework designed to simplify complex robotic applications. This article concentrates on the .NET components. PC-Bot.NET Components Whitebox Robotics provides five .NET components, which can be integrated into an application using Microsoft’s Visual Studio 2005. The components include: M3 Drive Sensor Message Toolbar The M3 .NET component is the real control system. It provides access to the features of the M3 control hardware in the PC-Bot. The others provide useful user interface features that work with the M3 control. The M3 component can drive the wheel motors, read the odometer and the sensors attached to the M3 hardware. The latter include the Sharp IR sensors that ring the PC-Bot. They come in 80cm and 150cm versions. The values are from the ADC (analog-to-digital converter) inputs connected to the analog IR sensors. The Drive, Sensor, and Message controls provide a graphical presentation designed to work with applications like the samples provided. These are linked to the M3 control that actually provides feedback from the sensors and activates the drive motors. Finally, the Toolbar provides another interactive link to the M3 control. In particular, it allows the user interface to connect and disconnect with the PC-Bot. It can also calibrate and reset the PC-Bot. The latter is very handy software kill switch. Whitebox Robotics provides a pair of DLLs (dynamic link libraries) for the controls. These can be distributed with an application. The single, online document is short but more than sufficient to describe the functionality of the .NET controls. The .NET components were easy to get up-and-running with Visual Studio but that is when the real work starts. The sample application highlights the basics and it may be more than sufficient for many developers especially those migrating robotic applications or frameworks from other platforms. For others, it is a way to learn about the capabilities of the PC-Bot and how to control them without having to figure out the complexities of Microsoft’s other platform, the Microsoft Robotics Studio. Related Links Microsoft Microsoft SourceForge Whitebox Robotics

Sponsored Recommendations

What are the Important Considerations when Assessing Cobot Safety?

April 16, 2024
A review of the requirements of ISO/TS 15066 and how they fit in with ISO 10218-1 and 10218-2 a consideration the complexities of collaboration.

Wire & Cable Cutting Digi-Spool® Service

April 16, 2024
Explore DigiKey’s Digi-Spool® professional cutting service for efficient and precise wire and cable management. Custom-cut to your exact specifications for a variety of cable ...

DigiKey Factory Tomorrow Season 3: Sustainable Manufacturing

April 16, 2024
Industry 4.0 is helping manufacturers develop and integrate technologies such as AI, edge computing and connectivity for the factories of tomorrow. Learn more at DigiKey today...

Connectivity – The Backbone of Sustainable Automation

April 16, 2024
Advanced interfaces for signals, data, and electrical power are essential. They help save resources and costs when networking production equipment.

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!