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:
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
- 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
orBuild -> 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
- Add all
- Browse to
- Click OK to close the dialog
- Find the following system references using the Search Bar and click "Add" to add the selected references to the project.
- Click References -> Edit References
- Open Project Options
- if the build succeeds without errors, continue with
Build -> Build ALL F8
Right click on the project folder and click Run
- open mono project, double click on *.csproj file
- Right-click references folder
- Search for System.Data
- Add, close Dialog