Project

General

Profile

Revision 3a73516c

ID3a73516cb7efbc966fcdb130af4e5c176a4ca90f
Parent ca9029b7
Child ae23d242

Added by Alex Zirbel almost 11 years ago

Added doxygen documentation to many files.

View differences:

scout/libscout/src/test_behaviors/danger_marking.cpp
26 26
#include "danger_marking.h"
27 27

  
28 28
#define THRESH 200
29
#define min(x,y) ((x < y) ? x : y)
29 30

  
30 31
using namespace std;
31 32

  
......
45 46
    while (true)
46 47
    {
47 48
        int *readings = sonar->get_sonar_readings();
48
        dist = readings[36];
49
        dist = min(readings[35], min(readings[36], readings[37]));
49 50

  
50 51
        ROS_INFO("Dist: %d.", dist);
51 52

  

Also available in: Unified diff