Skip to content

Update drive.c demo to match 3.0_beta#339

Open
eugenevinitsky wants to merge 1 commit into3.0from
fix/update-drive-c-demo
Open

Update drive.c demo to match 3.0_beta#339
eugenevinitsky wants to merge 1 commit into3.0from
fix/update-drive-c-demo

Conversation

@eugenevinitsky
Copy link

Summary

  • Updates the standalone demo binary (drive.c) to use 3.0_beta's API changes
  • Uses min/max_goal_distance and min/max_goal_speed instead of old goal_target_distance/goal_speed
  • Adds AgentSpawnSettings and INIT_VARIABLE_AGENT_NUMBER support for demo
  • Adds reward_conditioning to init_drivenet() call
  • Removes duplicate #include "../env_config.h"

Note: This only affects the standalone demo/visualize binary, not training.

Test plan

  • Build and run ./drive demo binary to verify it works with current drive.h API

🤖 Generated with Claude Code

- Use min/max_goal_distance and min/max_goal_speed instead of goal_target_distance/goal_speed
- Add AgentSpawnSettings for variable agent number mode
- Add reward_conditioning support to DriveNet init
- Add srand(time(NULL)) for varied demo runs
- Support INIT_VARIABLE_AGENT_NUMBER in demo
- Remove duplicate env_config.h include

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant