Project

General

Profile

Revision 6e7f0a98

ID6e7f0a982e8b5aa27826dc589fbabf19bef59990

Added by Thomas Mullins over 11 years ago

Changed scout_avr's main.cpp to use rosserial

View differences:

scout_avr/src/bom.h
5 5
#include <stdint.h>
6 6
}
7 7

  
8
//#include <bom/bom.h>
8
#include <bom/bom.h>
9 9

  
10 10
// constants for direction
11
#define BOM_FRONT 0 //(bom::bom::FRONT)
12
#define BOM_BACK  1 //(bom::bom::BACK)
13
#define BOM_LEFT  2 //(bom::bom::LEFT)
14
#define BOM_RIGHT 3 //(bom::bom::RIGHT)
11
#define BOM_FRONT (bom::bom::FRONT)
12
#define BOM_BACK  (bom::bom::BACK)
13
#define BOM_LEFT  (bom::bom::LEFT)
14
#define BOM_RIGHT (bom::bom::RIGHT)
15 15

  
16 16
// timing, in us, for read of valid bits
17 17
#define MIN_LOW_PW 600

Also available in: Unified diff