AlphaBotLib.HiQ
1.0.1
dotnet add package AlphaBotLib.HiQ --version 1.0.1
NuGet\Install-Package AlphaBotLib.HiQ -Version 1.0.1
<PackageReference Include="AlphaBotLib.HiQ" Version="1.0.1" />
paket add AlphaBotLib.HiQ --version 1.0.1
#r "nuget: AlphaBotLib.HiQ, 1.0.1"
// Install AlphaBotLib.HiQ as a Cake Addin #addin nuget:?package=AlphaBotLib.HiQ&version=1.0.1 // Install AlphaBotLib.HiQ as a Cake Tool #tool nuget:?package=AlphaBotLib.HiQ&version=1.0.1
AlphaBot2 Control Library for .NET 7
Overview
This .NET 7 class library provides convenient interfaces and abstractions for controlling various components of the AlphaBot2 robot. It simplifies the integration of AlphaBot2 components into your .NET applications.
Components
Buzzer
The Buzzer
class enables the control of the onboard buzzer, allowing you to produce beep sounds easily.
Camera
The Camera
class provides functionality for streaming and capturing photos from the AlphaBot2's onboard camera.
Light
The Light
class facilitates the control of LED lights on the AlphaBot2. Note that this class relies on a 3rd party library, which must be separately installed on the Raspberry Pi. Additionally, running the program as a sudo
user is required for the lights to function in this initial version.
Motor
The Motor
class allows you to control the motors of the AlphaBot2, providing high-level abstractions for motor operations.
TR Sensor
The TRSensor
class offers functionality to read data from the TR sensor on the AlphaBot2.
Getting Started
To use this library in your .NET project, you can install it via NuGet. Open the NuGet Package Manager Console and run the following command:
dotnet add package AlphaBotLib.HiQ
Usage
To get started with using the AlphaBot2 Control Library, follow these steps:
- Install the NuGet package in your project.
- Create an instance of the desired component class (e.g.,
**Buzzer**
,**Camera**
). - Utilize the provided methods and properties to control and interact with the AlphaBot2 components.
Feel free to explore the example application in the WAYFS-AlphaBot repository for a practical demonstration.
License
This library is licensed under the MIT License.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net7.0
- digitalhigh.rpi-ws281x-csharp (>= 1.2.0)
- Microsoft.AspNetCore.WebSockets (>= 2.2.1)
- MMALSharp (>= 0.6.0)
- System.Device.Gpio (>= 2.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.