Skip to content

BarrettTechnology/burt-csharp-examples

Repository files navigation

BURT C# Examples

Example programs for the BURT robot using a CoAP/UDP-based server 🤖

Examples 1 through 5 walk through how to use basic robot functionality such as activating the robot, reading command line input, commanding simple movements, and streaming state information. Examples 6 and beyond extend the concepts introduced in the first five examples to create more advanced functionality.

Table of Contents:

Prerequisites

If you are using the console provided by Barrett, the prerequisites are already installed and you can skip this section.

To install the dependencies on Ubuntu 14.04 or 16.04:

$ ./scripts/install-dependencies.sh

To see the specific dependencies/packages please look at scripts/install-dependencies.sh

Building

Project MonoDevelop Configurations

  • Launch MonoDevelop application or open project directly by double-clicking the .csproj project file: File > Open > <project-directory>.csproj
  • Attempt building the project: Build > Build All (F8)
    • if the build succeeds without errors, continue with Usage (Console Application) below.
    • if a build error exists:
      • Open Project Options
        • Project > <project-name> Options
          • Build -> General -> target Framework -> Mono / .Net 3.5 or
          • Build -> General -> target Framework -> Mono / .Net 4.0
      • Add Missing References
        • Click References -> Edit References
          • Find the following system references using the Search Bar and click "Add" to add the selected references to the project.
            • System.Data
            • System.Xml.*, e.g. System.Xml, System.Xml.Linq
          • Open .Net Assemblies Tab
            • Browse to the-project-directory/dll
              • Add all .dll files
          • Click OK to close the dialog

Building from MonoDevelop

Build -> Build ALL F8

Usage

Running an Example from MonoDevelop

Right click on the project folder and click Run

Adding Packages (optional)

  • open mono project, double click on *.csproj file
  • Right-click references folder
  • Search for System.Data
  • Add, close Dialog

About

Simple C# examples for research customers using the Burt robot created by Barrett Technology, LLC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published