You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
603 B
C
11 lines
603 B
C
#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);
|