Skip to content

Conversation

Kinvert
Copy link
Contributor

@Kinvert Kinvert commented Aug 9, 2025

3D Version of Artillery meant to simulate real world scale anti drone defense.

@Kinvert
Copy link
Contributor Author

Kinvert commented Aug 12, 2025

screenrec001

EndDrawing();
}

void init(Artillery3D* env) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Put env logic above render logic

get_random_start(env);
}

void allocate(Artillery3D* env) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Latest template envs etc have this in the .c, since that's the only place you need it. Can just inline obs reward etc. allocs there

int action = env->actions[0];
env->tick += 1;
step_frame(env, action);
compute_observations(env);
Copy link
Contributor

Choose a reason for hiding this comment

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

Pretty solid env. Like plat. Few small things could be simplified here and there. Overall gestalt is good. Didn't catch any major messups on RL side. Having targets be position dependent is going to make learning a bit harder vs. sorting them. Not huge. Only other thing is possible the env is ticking too fast. Like atari with no frameskip. Nothing wrong with that if you want the benchmark to be a bit artificially harder. But you can solve the same problem easier on lower tick rate

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