Project

General

Profile

Revision faa11f08

IDfaa11f08b06bf7e31069ba66d6bd28a308a5b730
Parent 360e3b6c
Child c15f2677

Added by Priya almost 4 years ago

Changed it so that all behaviors are not instantiated immediately. Also changed pause so it does not spam (0, 0) motor speeds.

View differences:

scout/libscout/src/Behavior.cpp
66 66
Behavior::~Behavior()
67 67
{
68 68
  motors->set_sides(0, 0, MOTOR_ABSOLUTE);
69
  ROS_INFO("I get called");
70
  spinOnce();
71
  loop_rate->sleep();
69 72
  delete wl_receiver;
70 73
  delete loop_rate;
71 74
}

Also available in: Unified diff