This commit is contained in:
2025-11-19 08:08:22 -05:00
commit eaaa5519bd
256 changed files with 46657 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
#pragma once
extern float ball_pos_pred[600]; // ball position (x,y) prediction for 300*0.02s = 6s
extern float ball_vel_pred[600]; // ball velocoty (x,y) prediction for 300*0.02s = 6s
extern float ball_spd_pred[300]; // ball linear speed (s) prediction for 300*0.02s = 6s
extern int pos_pred_len;
extern void get_intersection_with_ball(float x, float y, float max_robot_sp_per_step, float ball_pos[], float ball_pos_len,
float &ret_x, float &ret_y, float &ret_d);
extern void predict_rolling_ball_pos_vel_spd(double bx, double by, double vx, double vy);