Project

General

Profile

Revision bb64f5e5

IDbb64f5e5de169ff810c3db30f6fca00db59b8d09
Parent 259aaff8
Child f3bfb5b5

Added by Priya about 11 years ago

Added a ScoutPosition struct with some functions and Changed the odometry code to use it.

View differences:

scout/libscout/src/test_behaviors/Odometry_new.cpp
8 8
                Behavior(scoutname, "odometry", sensors)
9 9
{
10 10
  name = scoutname;
11
  scout_pos = new posi;
11
  scout_pos = new pos;
12 12

  
13 13
  encoder_readings scout_enc = encoders->query();
14 14
  motor_fl_ticks_last = motor_bl_ticks_last = scout_enc.fl_ticks;

Also available in: Unified diff