Skip to content

Add trajectory calculation and JSON output#27

Merged
rokadias merged 2 commits intoTeam488:mainfrom
JoshuaWol:patch-4
Mar 28, 2026
Merged

Add trajectory calculation and JSON output#27
rokadias merged 2 commits intoTeam488:mainfrom
JoshuaWol:patch-4

Conversation

@JoshuaWol
Copy link
Copy Markdown
Contributor

This script calculates projectile distances for a turret based on RPM and a given angle, and saves the results to a JSON file.

This script calculates projectile distances for a turret based on RPM and a given angle, and saves the results to a JSON file.
v_z = math.sin(theta) * vi

# While the velocity is moving up and we're still above target_z
while (v_z >= 0 or z >= target_z ): #and z< target_z:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You really shouldn't comment out code. Git history exists...

@rokadias rokadias merged commit f717f7d into Team488:main Mar 28, 2026
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants