Project

General

Profile

Revision cc558a8d

IDcc558a8d1299b6a5034be4ea7035b58fe09581b8

Added by Alex Zirbel over 12 years ago

Modified the Behaviors to take a scoutname.

Scoutname now specifies which scout the behavior will affect. Scoutname must be passed to the constructors of each control module (some of which are now in need of modification), so that they can publish to the correct topic.

I also modified the constants file so that it is no longer exported. We should consider making this a full class with static exported functions (or a namespace).

View differences:

scout/libscout/src/ButtonControl.h
35 35
 * @author Priyanka Deo
36 36
 * @author Leon Zhang
37 37
 **/
38
#include "libscout/constants.h"
39 38
#include "buttons/button_event.h"
39
#include "constants.h"
40 40

  
41 41
#ifndef _LIBBUTTONS_H_
42 42
#define _LIBBUTTONS_H_

Also available in: Unified diff