Project

General

Profile

Revision d7e1b0d8

IDd7e1b0d8a6d4b841ca55adff0513ec80e10bb728
Parent 5925bbbb
Child bc943bf6

Added by Alex Zirbel almost 11 years ago

Attempting to use Odometry. Added a better Odometry::wait, but all is not fixed yet.

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