Skip to content

SuitBots/GreenhouseRobot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Greenhouse Robot

You'll need Oblong's Greenhouse SDK to run this.

Building

Assuming Greenhouse is installed per usual, run make.

Use

Edit robot.cpp. In the setup function, after the new robot is created, you can call any of the following functions:

robot -> Wait (time); // wait for this long
robot -> SetMotors (left_motor, right_motor); // Set the motors
robot -> IRPower (); // -1 for not found, 0-255 otherwise
robot -> IRDirection (); // -1 for not found, 1 - 9 left-to-right otherwise

The robot has a tank drive.

About

A small Greenhouse program to learn how to program robots

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages