Skip to content

Commit

Permalink
docs/Simulator_Overview add content, images, custom css
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellovell committed Oct 26, 2024
1 parent 4de7190 commit 7c92adc
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { defineConfig } from 'vitepress'
import DefaultTheme from './theme'

// https://vitepress.dev/reference/site-config
export default defineConfig({
Expand All @@ -16,7 +17,7 @@ export default defineConfig({
{ text: 'Development Guide', link: '/Development_Guide' }
],

sidebar: [
sidebar: [
{
text: 'Documentation',
items: [
Expand Down
6 changes: 6 additions & 0 deletions docs/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
img {
display: block;
float: none;
margin-left: auto;
margin-right: auto;
}
5 changes: 5 additions & 0 deletions docs/.vitepress/theme/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// .vitepress/theme/index.js
import DefaultTheme from 'vitepress/theme'
import './custom.css'

export default DefaultTheme
36 changes: 36 additions & 0 deletions docs/Simulator_Overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,39 @@ Augmented proportional navigation adds a feedthrough term proportional to the ag
$$ \vec{a}_n = K \left( \dot{\lambda} v + \frac{1}{2} \vec{a}_T \right) $$
where $\vec{a}_T$ is the target’s acceleration.
APN is equivalent to true PN if the target is not accelerating.


### Interceptor Assignment

**Threat-based assignment**

![Threat-based assignment](./images/threat_based_assignment.png){width=40%}

When submunitions are dispensed (e.g., Micromissiles from Hydra-70s), they are assigned a threat to intercept.

Assignment by calculated threat value is done by:
1. Sorting (descending) by # of assigned interceptors
2. Sorting (ascending) by threat value

The threat value is:
$$
V_{threat} = \frac{1}{d_{t\rightarrow p}} * \|v_t\|
$$

Where:
- $\|v_t\|$ - Threat's velocity
- $d_{t\rightarrow p}$ - Distance from threat to defense point

### Intercept evasion tactics

![Intercept evasion tactics](./images/intercept_evasion.png){width=60%}

When interceptors get too close to their intended target, the threat performs an evasive maneuver to waste the interceptor's velocity and remaining energy:

1. The threat accelerates to its maximum speed
2. The threat turns at the maximum normal acceleration, so that its velocity is normal to the interceptor's velocity
3. The interceptor must turn too and thus sacrifice speed

If the threat is too close to the Y=0 floor, it will perform a linear combination of:
1. Turning to evade the interceptor
2. Turning parallel to the surface
Binary file added docs/images/intercept_evasion.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/threat_based_assignment.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7c92adc

Please sign in to comment.