Project

General

Profile

Statistics
| Branch: | Revision:

root / scout / libscout / src / priya_behavior_process.cpp @ cc558a8d

History | View | Annotate | Download (1.88 KB)

# Date Author Comment
cc558a8d 01/02/2012 07:18 PM Alex Zirbel

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....

c384dc7e 01/02/2012 03:14 PM Alex Zirbel

Updated the Behavior definition and extensions.

The Behavior.cpp/h class now works and can be extended by simply implementing its run() method. However, the subclass must also be extantiated and used in an external executable. An example of this can be seen in PriyaBehavior.cpp/h, and the executable, priya_behavior_process.cpp. In the future, we should move all behaviors into a behaviors/ folder, and autogenerate the executable to be compiled....