Electronic Design

PC-Bot with .NET

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

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.