valueall.h 1.94 KB
#ifndef __VALUEALL_H
#define __VALUEALL_H
#include "sys.h"
#include "hardware.h"

//extern u8 receive_over;
extern u8 TEST_USART_DATA[USART_REC_LEN];
//extern u8 sever_ip[16];//IP
//extern u8 sever_carnum[3];//车号
//extern u16 sever_remote_port;//端口号

//extern int sever_carlength;//车长
//extern int sever_carwidth;//车宽
//extern int sever_wheeld;//轮子直径
//extern int sever_wheeldis;//主动轮跨距

//extern float sever_codepkk;//相机安装偏角
//extern int sever_ssikk;//编码器修正值

//extern int sever_stopt;//急停滤波
//extern int sever_rothandt;//旋钮滤波	
//extern int sever_radart;//雷达滤波

//extern float sever_rotkk;//调整值
//extern float sever_rotk;//旋转精度
//extern float sever_rots;//耦合比

//extern float sever_traykk;//托盘调整精度
//extern signed long sever_up_speed;//上升速度
//extern signed long sener_down_speed;//下降速度
//extern int sever_chargedistance;//充电桩距离

//extern int sever_codedistance;//纠偏距离
//extern float sever_rectifykk;//纠偏调整量
//extern float sever_ratiokk;//纠偏系数
//extern float sever_highspeed;//行驶最高速 //X坐标偏差
//extern float sever_lowspeed;//行驶最低速	//Y坐标偏差

//extern int sever_radar_shortdistance;//雷达最短检测距离
//extern float Kp,Ki,Kd;

////手动控制变量
//extern int forward_speed;
//extern int backward_speed;
//extern int turnleft_speed;
//extern int turnright_speed;
//extern int trayup_speed;
//extern int traydown_speed;
//extern int forkup_speed;
//extern int forkdown_speed;
//extern int trayleft_speed;
//extern int trayright_speed;
//extern u8 forward;
//extern u8 turnleft;
//extern u8 backward;
//extern u8 turnright;
//extern u8 trayup;
//extern u8 traydown;
//extern u8 trayleft;
//extern u8 trayright;
//extern u8 forkup;
//extern u8 forkdown;
//extern u8 manual_mode;

//void set_data_do(void);//上位机数据处理
//void save_read_severdata(void);//存储到外部存储器 以及读取参数
//void start_read_all(void);//开机读取内存所有参数
//void restart_controler(void);//重启控制器

#endif