Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Refactore/bbt position control #1403

Open
wants to merge 10 commits into
base: development
Choose a base branch
from

Commits on Jun 22, 2022

  1. Add Tracy Profiler

    mamiksik committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    ce12c7a View commit details
    Browse the repository at this point in the history
  2. Remove old path planning and tracking

    Since BBT was implemented there was a lot of dead code in the repo. Note
    that method setRobotPositions was not removed yet. Removing it
    causes linking issues (wtf?)
    mamiksik committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    f617d7e View commit details
    Browse the repository at this point in the history
  3. Refactor collision detection

    - Since old collision detector is removed, world objects can be renamed to collision detector
      (a way better name imho)
    - Collision Detector now precomputes the positions of all robots at the start of each tick,
      to (theoretically) save time when performing collision checks (lookup vs computation)
    
    Next the Position Control has to be refactored!
    mamiksik committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    17bd3ec View commit details
    Browse the repository at this point in the history
  4. Refactor path planning and path tracking

    There are 2 main reasons for this change:
    1) The previous path planning was slow
    2) The previous implementation was spaghetti
    
    The new implementation speeds up the position control significantly (60 ticks per second with -0g)
    
    All the details are recorded in docstrings, but main idea of the new implementation was to separate
    better separate concerts(path tracking x path planning x position control). For example path tracking
    is now stateful and there is instance for each robot separately.
    mamiksik committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    891b1e9 View commit details
    Browse the repository at this point in the history
  5. Add Tracy Profiler Marks

    mamiksik committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    13f5915 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2022

  1. Configuration menu
    Copy the full SHA
    4718d83 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    866402d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0f1902c View commit details
    Browse the repository at this point in the history
  4. Refactor PIDTracking

    mamiksik committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    0db1e5d View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2022

  1. Refactor trackPathForwardAngle

    Small change to remove unnecessary variable
    mamiksik committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    6025c63 View commit details
    Browse the repository at this point in the history