Skip to content

AvansICT/ICT1.2-Empty-Robot-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ICT1.2 - Empty Robot Project

This repository is a minimal starter project for students building a robot application.

It contains a quick example in Program.cs prints a greeting and toggles an LED:

Console.WriteLine("Hello Robot!");

Led redLed = new Led(5); // kies wel de juiste pin!
redLed.SetOn();

What this project contains

-- Minimal .NET project targeting net8.0.

Getting started

  1. Prerequisites
  • .NET 8 SDK (to match net8.0 target)
  • Visual Studio Code (recommended)
  • Install the Avans-StatisticalRobot VS Code extension to connect to the robot
  1. Build

From the project root run:

dotnet build RobotProject.csproj
  1. Run

Use the VS Code extension to deploy to the robot

Notes and tips for students

  • Make sure you connect to the robot before attempting hardware-specific code. Use the Avans-StatisticalRobot extension for VS Code.
  • Start by experimenting with sensors and actuators to learn the hardware APIs.
  • When moving from experiments to a real application, design a simple class structure and avoid putting everything into Program.cs. A small class diagram helps.
  • If you need MQTT communication, add the required NuGet package and the SimpleMQTTclient to the project.
  • The Led example uses a pin number — choose the correct pin for your robot hardware before turning things on.

More information

Good luck and have fun building your robot!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5

Languages