Project

General

Profile

Revision c492be62

IDc492be629f06e3cf71fdf832ce2cd5ac1ec779f8

Added by Alex Zirbel almost 7 years ago

Updated the licensing information in many files.

This is a broken commit because I decided to do this at a bad time. Sorry! The build will be working after next commit, I promise (and I won't push till then). This commit reflects the licensing in the files after I used my auto-add/remove script.

View differences:

scout/sonar/src/sonar.cpp
1 1
/**
2
 * Copyright (c) 2007 Colony Project
2
 * Copyright (c) 2011 Colony Project
3 3
 * 
4 4
 * Permission is hereby granted, free of charge, to any person
5 5
 * obtaining a copy of this software and associated documentation
......
21 21
 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22 22
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23 23
 * OTHER DEALINGS IN THE SOFTWARE.
24
 **/
25

  
24
 */
26 25

  
27 26
/**
28 27
 * @file sonar.cpp
......
34 33
 * @author Alex Zirbel
35 34
 **/
36 35

  
37
#include "scout/sonar.h"
38
#include "ros/ros.h"
36
#include <ros/ros.h>
39 37
#include <cstdlib>
40 38

  
39
#include "sonar.h"
40

  
41 41
/**
42 42
 * @defgroup sonar Sonar
43 43
 * @brief Functions for using the sonar
......
110 110
    is_on = true;
111 111

  
112 112
    /* Initialize hardware for sonar */
113
    //Hardware init functions here
113
    // Hardware init functions here
114 114
    sonar_init();
115 115

  
116 116
    /* Initialize the sonar driver node in ROS */
......
124 124
                                                    handle_sonar_set_scan);
125 125

  
126 126
    ROS_INFO("Sonar: Ready");
127
    // Sonar reading and publishing here
127 128
    ros::spin();
128 129

  
129 130
    return 0;

Also available in: Unified diff