Permalink
Commits on Jan 3, 2015
Commits on Jan 1, 2015
  1. UI: detect arrival in towards ms, stop movement

    movitto committed Jan 1, 2015
    Needed so that location stops immediately upon arrival,
    and doesn't continue moving until 'stopped' or
    'changed_strategy' server notification is received
Commits on Dec 30, 2014
  1. Fix few edge cases with axis-angle computation

    movitto committed Dec 30, 2014
      - ports fix handling similar & parallel vectors to js
      - add angle projection out out bounds detection
        (previously removed, should not have been)
  2. Towards MS: only face target if not facing

    movitto committed Dec 30, 2014
    Also a few small related tweaks to movement and tracking
  3. UI: fix acceleration so that as to be proportional to time

    movitto committed Dec 30, 2014
    Ports server side acceleration fix to client
Commits on Dec 28, 2014
  1. rotation cb: return angle_between orientations in default case

    movitto committed Dec 28, 2014
    Refactors Motel Rotation callback to define helper methods and
    to return angle_between current and orig orientations if rotation
    cannot otherwise be deduced
Commits on Dec 27, 2014
  1. Simplify towards movement strategy, update specs

    movitto committed Dec 27, 2014
    Now location will always rotate to face / move towards target.
    
    When near target, deacceleration is controlled by inverse
    orientation
Commits on Dec 25, 2014
  1. Tweaks to Towards ms, add helper methods + a few comments

    movitto committed Dec 25, 2014
    Specs also updated
  2. Add a few helper methods to movement strategy mixins

    movitto committed Dec 25, 2014
      - LinearMovement#moving_towards?
      - LinearMovement#dir_changed?
      - Rotatable#rotating?
      - TracksCoordinates#moving_towards_target?
  3. Location#rotation_to - normalize coord diff before calc rotation

    movitto committed Dec 25, 2014
    Previous unnormalized calculation resulting in incorrect
    rotations
  4. Location#direction_to - return correct dir from loc to target

    movitto committed Dec 25, 2014
    Previously direction from target to loc was being returned
Commits on Dec 14, 2014
Commits on Dec 13, 2014
  1. Flush out movement strategy specs & mixin specs

    movitto committed Dec 13, 2014
    Implements outstanding specs for most of these motel modules &
    classes. Only remaining strategies to be tested are towards
    and figure8.
    
    Also adds a 'movement' module to the motel specs meant for
    movement integration tests (with a few initial examples)
Commits on Dec 6, 2014
  1. Tackle various edge cases in motel math routines

    movitto committed Dec 5, 2014
    Adds lots of tests for edge cases and a few helper methods
Commits on Nov 30, 2014
  1. Cleanup omega-movement-plot

    movitto committed Nov 30, 2014
    Simply reorg and style fixes / improvements
Commits on Nov 29, 2014
  1. Add refresh option to omega-cosmos-retrieve

    movitto committed Nov 29, 2014
    If set process will stay alive and main loop will be run at
    specified interval
  2. Cleanup omega-cosmos-retrieve

    movitto committed Nov 29, 2014
    Mostly style fixes, also adds --asteroids flag to enable
    asteroids in output (now disabled by default)
Commits on Nov 28, 2014
  1. UI: fix broken tests

    movitto committed Nov 28, 2014
Commits on Nov 27, 2014
  1. Few small/unrelated enhancements

    movitto committed Nov 27, 2014
    - print orientation in omega-cosmos-retrieve
    
    - add helper to linear ms mixin to return acceleration direction
    
    - used stored flag as part of near target check in Towards ms