#include "roomba.h"
#include <avr/io.h>
#include <avr/interrupt.h>
#include <util/delay.h>
#include "../uart/uart.h"
Go to the source code of this file.
void Roomba_Drive |
( |
int16_t |
velocity, |
|
|
int16_t |
radius |
|
) |
| |
Tells the roomba to drive with the given velocity and radius
Definition at line 50 of file roomba.c.
void Roomba_Init |
( |
void |
| ) |
|
Wakes Roomba from sleep and sets it to safe mode
Definition at line 13 of file roomba.c.
void Roomba_Play |
( |
uint8_t |
song | ) |
|
Plays the song corresponding to a song # from 0-4
Definition at line 61 of file roomba.c.
void Roomba_QueryList |
( |
uint8_t |
packet1, |
|
|
uint8_t |
packet2 |
|
) |
| |
Requests multiple packets from the Roomba
Definition at line 77 of file roomba.c.
void Roomba_Sensors |
( |
uint8_t |
packet_id | ) |
|
Requests a packet from the Roomba about a specific sensor
Definition at line 69 of file roomba.c.
void Roomba_Song |
( |
uint8_t |
n | ) |
|
Loads a song onto the Roomba
Definition at line 87 of file roomba.c.