Init gym
This commit is contained in:
10
cpp/ball_predictor/ball_predictor.h
Normal file
10
cpp/ball_predictor/ball_predictor.h
Normal 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);
|
||||
Reference in New Issue
Block a user