This repository contains a few tools and a interface for on-robot deployment. The interface should at one point be able to act as a middle-man between the on-robot host, and the server. Communication with the robot is currently at a working stage.
Besides from the interface, this repository contains
- a setup tool, for simple on-robot configuration
- a command-line tool, for demonstration and testing purposes of the host interface.
Everything is made in Rust, which besides from being memory safe and fast, also offers an easy way to cross-compile to the Raspberry-Pi.
- Install the Rust programming language
- Clone repository using:
git clone https://github.com/TheSoftwareFactory/pulurobot-robot.git
- Enter directory
pulurobot-robotcd pulurobot-robot - Build package, which will also fetch any dependencies
cargo build
To start the setup tool run:
cargo run --bin setupThis will create a configuration file if none was found, for setting up the connection to the robot.
Note: It is necessary to be connected to the same network as the robot.
To start the command-line client run:
cargo run --bin consoleA promt will appear, and the following commands should be available:
Terminates the program
Prints the help message containing available commands
Streams information broadcasted by the robot (Still needs work). Press Enter to stop the stream.
Will unlock the wheels of the robot, to be able to freely move it around
Will tell the robot to stop whatever it is currently doing
Saves robots current coordinates as location A or B
Will try to route to location A or B respectively
- Improve
listenwith more commands, e.g. the140(Robot state) code. - Communication with server
- Improve error handling.