Project

General

Profile

Revision cc558a8d

IDcc558a8d1299b6a5034be4ea7035b58fe09581b8
Parent 4de6257c
Child c492be62

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/Behavior.h
38 38
#define _BEHAVIOR_H_
39 39

  
40 40
#include <ros/ros.h>
41
#include <libscout/constants.h>
42 41

  
43 42
#include "MotorControl.h"
44 43
#include "HeadlightControl.h"
45 44
#include "SonarControl.h"
45
#include "constants.h"
46 46

  
47 47
class Behavior
48 48
{

Also available in: Unified diff