Project

General

Profile

Revision d140fd71

IDd140fd71ddd19ef38a0124cbbea1165874a5474d

Added by Yuyang over 11 years ago

Added Sensors class that abstracts away sensors from behaviors. Stops creating
duplicated sensors for each scout.

View differences:

scout/libscout/src/behaviors/Scheduler.h
30 30
  void msg_callback(const std_msgs::String::ConstPtr& msg);
31 31

  
32 32
public:
33
  Scheduler(std::string scoutname);
33
  Scheduler(std::string scoutname, Sensors* sensors);
34 34
	~Scheduler();
35 35
	
36 36
	void get_task(int robot);

Also available in: Unified diff