mirror of
https://github.com/nasa/trick.git
synced 2025-04-07 19:34:23 +00:00
more tweaks to SIM_cannon_analytic doc ans images
This commit is contained in:
parent
23f9aad55b
commit
788adec487
@ -8,7 +8,7 @@ Here we simulate the flight of a cannon ball. We want to know the position and v
|
||||
velocity, and subject to the following assumptions and limitations:
|
||||
|
||||
* The **only** force acting on the cannon ball is gravity.
|
||||
* The acceleration of gravity (g) is constant and equal to -9.81 meters per
|
||||
* The acceleration of gravity (g) is **constant** and equal to -9.81 meters per
|
||||
second squared.
|
||||
* The surface of the ground is defined as where y=0.
|
||||
|
||||
@ -18,18 +18,29 @@ velocity, and subject to the following assumptions and limitations:
|
||||
|
||||
This problem has a closed-form solution, so that's what is used.
|
||||
|
||||

|
||||
<!--
|
||||
Tex: v_{x0}=S\cos\theta
|
||||
-->
|
||||

|
||||
|
||||

|
||||
<!--
|
||||
Tex: v_{y0}=S\sin\theta
|
||||
-->
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
|
||||
The cannon ball will impact the ground, when y(t)=0 at:
|
||||
|
||||

|
||||
@ -40,8 +51,8 @@ Model Variable | Simulation Variable | Type | Un
|
||||
--------------------------------------------|---------------------|---------|-------
|
||||
,  | CANNON.pos0[2] |double[2]| m
|
||||
, | CANNON.vel0[2] |double[2]| m/s
|
||||
 | CANNON.init\_angle |double | r
|
||||
 | CANNON.init\_speed |double | m/s
|
||||
 | CANNON.init\_angle |double | r
|
||||
 | CANNON.init\_speed |double | m/s
|
||||
 | CANNON.pos[2] |double[2]| m
|
||||
 | CANNON.vel[2] |double[2]| m/s
|
||||
|
||||
|
BIN
trick_sims/SIM_cannon_analytic/images/init_a_x.png
Normal file
BIN
trick_sims/SIM_cannon_analytic/images/init_a_x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 704 B |
BIN
trick_sims/SIM_cannon_analytic/images/init_a_y.png
Normal file
BIN
trick_sims/SIM_cannon_analytic/images/init_a_y.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 718 B |
Binary file not shown.
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 912 B |
Binary file not shown.
Before Width: | Height: | Size: 925 B After Width: | Height: | Size: 1.3 KiB |
Loading…
x
Reference in New Issue
Block a user