Functions
code.c File Reference
#include <avr/io.h>
#include <avr/interrupt.h>
#include <util/delay.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include <usart.h>
#include <led.h>
#include <stepper.h>
#include <encoder.h>
#include <servo.h>
#include <scheduler.h>
#include <publisher.h>
Include dependency graph for code.c:

Go to the source code of this file.

Functions

int main ()
void pan_command ()
 AVR includes.
void StopMovement ()
void tilt_command ()

Detailed Description

Main code of the microcontroller.

Version:
1.0
Author:
Julio Sagardoy

Definition in file code.c.


Function Documentation

int main ( )

main routine

Definition at line 128 of file code.c.

void pan_command ( )

AVR includes.

Standard includes Own includes Processes pan movement command, which is composed by target position and latency between steps.

compute steps to jump

compute rotation direction, recall 0 is CCW and 1 CW in this setup, seen from top

Definition at line 38 of file code.c.

void StopMovement ( )

Definition at line 120 of file code.c.

void tilt_command ( )

Processes tilt movement command, which is composed by target position and latency between steps.

Definition at line 83 of file code.c.



cob_3d_mapping_demonstrator
Author(s): Georg Arbeiter
autogenerated on Wed Aug 26 2015 11:03:46