Skip to content

zeeshanbasar/ZEMZEVoptimalBarrier

Repository files navigation

ZEMZEVoptimalBarrier

working PoC of ZEM/ZEV-based, fuel optimal, collision avoidance and planetary landing algorithm

UPDATE: 29-09-2022

  • testable code with multiple barrier shapes
  • the constant l4 can be adjusted on case-by-case basis to avoid going through the barrier
  • negative l4 may allow the trajectory to come back inside
  • works against all possible cases

UPDATE: 30-09-2022

  • it turns out the algo has good (except for a few corner cases) fuel optimality
  • the odd bounce off issue doesnt happend anymore, idk how; dont ask, dont care
  • uploading the working code, plus a few test cases and test case generation file

UPDATE: 13-10-2022

  • fixed the issue where trajectory was bouncing off the higher level, instead of allowable lower level
    • replaced 2-norm with inf-norm
  • moved the barrier 5 down by 500m; did it to make the barrier similar to the one in Gong et al. (2022)
  • so for smaller tf the trjaectories are much, much smoother, but the acceleration demand is obviously very high

UPDATE: 15-10-2022

  • some beauty edits, removed unnecessary codes
  • for bf == 5 (2-step, flat top), all barrier calculations are now done by MATLAB
    • all constants are now based on barrier definitions
  • added guidelines for selecting l2, and l1.

UPDATE: 26-10-2022

  • corrected the actual guidance law
  • added thrust plots, added N=300 test file
  • several beauty edits to the plots
  • turns out l2 >> l1 works to a certain extent in giving an accurate thrust bound
  • the issue of croner cases where the traj hits right at the corner of barrier
    • what is to be done of it remains to be seen
  • how to quantitatively choose the a_max?
    • how does the position of crit point, and velocity affects it?

UPDATE 28-12-2022

  • final code (final.m, odefin.m)
  • cleaned all the nonsense
  • uploaded the IFAC submission

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages