Revision d7e1b0d8 scout/libscout/src/Behavior.cpp

View differences:

scout/libscout/src/Behavior.cpp
118 118
void Behavior::wait(float duration)
119 119
{
120 120
    ros::Rate r(WAIT_HZ);
121
    int ticks = int(duration * 100);
121
    int ticks = int(duration * WAIT_HZ);
122 122
    for (int i = 0; i < ticks; i++)
123 123
    {
124 124
        spinOnce();

Also available in: Unified diff