Files
apt-nl-map/static/Magic4/HMI_FullScreen.html.bak2021091500
2024-12-04 10:21:04 +08:00

662 lines
30 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="Button_Display/css/main.css">
<script src="jquery-2.1.0.min.js"></script>
<script src="jquery.cookie.js"></script>
<script type="text/javascript" src="Lu_Global.js"></script>
<script type="text/javascript" src="eventemitter2.min.js"></script>
<script type="text/javascript" src="roslib.min.js"></script>
<!--<script type="text/javascript" src="http://static.robotwebtools.org/EventEmitter2/current/eventemitter2.min.js"></script>-->
<!--<script type="text/javascript" src="http://static.robotwebtools.org/roslibjs/current/roslib.min.js"></script>-->
<!--<script type="text/javascript" src="Lu_ROS_Driver.js"></script>-->
<script type="text/javascript" src="Lu_Math_Driver.js"></script>
<script type="text/javascript" src="Lu_Scroll_Driver.js"></script>
<script type="text/javascript" type="text/javascript">
var ros = new ROSLIB.Ros({
url : 'ws://localhost:9190'
});
ros.on('connection', function() {
console.log('Connected to websocket server.');
});
ros.on('error', function(error) {
console.log('Error connecting to websocket server: ', error);
});
ros.on('close', function() {
console.log('Connection to websocket server closed.');
});
function client(str){
var client_HMIString=new ROSLIB.Service({
ros:ros,
name:'/Service_HMIString',
serviceType:'lu_ps20l_msgs/Srv_HMIString'
});
var request = new ROSLIB.ServiceRequest({
HMI_String_Input:str
});
client_HMIString.callService(request,function(result) {
document.getElementById('topIframe') .contentWindow.postMessage(
{
event_id: 'client_response',
data: {
v1: result.result,
v2: result.ROS_String_Output,
v3: result.Rec_HMI_String_Input
}
},
"*" //or "www.parentpage.com"
);
/*
console.log('Result for service call on '
+ client_HMIString.name
+ ': '
+ result.result
+ ': '
+ result.ROS_String_Output);
*/
//client_result=result.result;
//client_ROS_String_Output=result.ROS_String_Output;
});
}
function talker(canframeid,data0,data1,data2,data3,data4,data5,data6,data7){
var p0=Lu_StrToByte(data0);
var p1=Lu_StrToByte(data1);
var p2=Lu_StrToByte(data2);
var p3=Lu_StrToByte(data3);
var p4=Lu_StrToByte(data4);
var p5=Lu_StrToByte(data5);
var p6=Lu_StrToByte(data6);
var p7=Lu_StrToByte(data7);
/*
alert("talker函数:"+canframeid+" "+data0+" "+data1+" "+data2+" "+data3+" "+data4+" "+data5+" "+data6+" "+data7+"\n"+ p0+" "+p1+" "+p2+" "+p3+" "+p4+" "+p5+" "+p6+" "+p7);
*/
var can_pub = new ROSLIB.Topic({
ros : ros,
name : '/js_can',
messageType : 'lu_ps20l_msgs/Msg_CANFrame'
});
var can_msg = new ROSLIB.Message({
header: {
stamp: {
secs: 0,
nsecs: 0
},
frame_id: "",
seq: 0
},
id:parseInt(canframeid),
is_rtr:false,
is_extended:false,
is_error:false,
dlc:8,
data:[p0,p1,p2,p3,p4,p5,p6,p7]
});
can_pub.publish(can_msg);
}
window.addEventListener("message", receiveMessage, false);
function receiveMessage(event)
{
//console.log(event.data.event_id);
switch(event.data.event_id){
case 'talker':{
//console.log(event.data.data);
var data=event.data.data;
//console.log(data);
talker(data.v1,data.v2,data.v3,data.v4,data.v5,data.v6,data.v7,data.v8,data.v9);
}
break;
case 'client_request':{
var data=event.data.data;
//console.log(data);
client(data.v1);
}
break;
}
}
function listener(){
var sub_Display_State=new ROSLIB.Topic({
ros : ros,
name : '/Topic_Display_State',
messageType : 'lu_ps20l_msgs/Msg_DisplayState'
});
sub_Display_State.subscribe(function(message){
Msg_Timestamp=message.header.stamp.secs;//+message.header.stamp.nsecs/1000000000.0;
AGV_ID=message.AGV_ID;
Sys_Mode=message.Sys_Mode;
VehicleCtrlExpThrottle=message.VehicleCtrlExpThrottle;
Warning_Code=message.Warning_Code;
Car_Global_rx=message.Car_Global_rx;
Car_Global_ry=message.Car_Global_ry;
Car_Global_Theta=message.Car_Global_Theta;
Lateral_Deviation_m=message.Lateral_Deviation_m;
Vertical_Deviation_deg=message.Vertical_Deviation_deg;
Out_Of_Path_Times=message.Out_Of_Path_Times;
PLC_Warning_Code=message.PLC_Warning_Code;
Min_Dist=message.Min_Dist;
Auto_In_Line_State=message.Auto_In_Line_State;
PathFollow_Enable=message.PathFollow_Enable;
StartNode=message.StartNode;
EndNode=message.EndNode;
RealAutoChargeState=message.RealAutoChargeState;
PWR_Percent=message.PWR_Percent;
SVreal_angle=message.SVreal_angle;
Speedm_Tmp=message.Speedm_Tmp;
VehicleCtrlRealAltitude_mm=message.VehicleCtrlRealAltitude_mm;
ReachState=message.ReachState;
ObstacleTouchState=message.ObstacleTouchState;
PWR_Warn=message.PWR_Warn;
VehicleCtrl_CAN_Err_Info=message.VehicleCtrl_CAN_Err_Info;
Curtis_Warning_Code_Speed=message.Curtis_Warning_Code_Speed;
Curtis_Warning_Code_Steer=message.Curtis_Warning_Code_Steer;
VehicleCtrlRealCustomStateByte0=message.VehicleCtrlRealCustomStateByte0;
VehicleCtrlRealCustomStateByte1=message.VehicleCtrlRealCustomStateByte1;
VehicleCtrlRealCustomStateByte2=message.VehicleCtrlRealCustomStateByte2;
VehicleCtrlRealCustomStateByte3=message.VehicleCtrlRealCustomStateByte3;
LastAltitudeExpectValue_mm=message.LastAltitudeExpectValue_mm;
Remote_Or_HMI_Ctrl=message.Remote_Or_HMI_Ctrl;
Get_Nav350_Curr_Layer=message.Get_Nav350_Curr_Layer;
Cur_Stop_Info1_StopStartNode=message.Cur_Stop_Info1_StopStartNode;
Cur_Stop_Info1_StopEndNode=message.Cur_Stop_Info1_StopEndNode;
Cur_Stop_Info1_Authorized_Pass=message.Cur_Stop_Info1_Authorized_Pass;
Cur_Stop_Info1_High_Precious_Enable=message.Cur_Stop_Info1_High_Precious_Enable;
Cur_Stop_Info1_Stop_Endx=message.Cur_Stop_Info1_Stop_Endx;
Cur_Stop_Info1_Stop_Endy=message.Cur_Stop_Info1_Stop_Endy;
Cur_Stop_Info1_Stop_Endt=message.Cur_Stop_Info1_Stop_Endt;
Cur_Stop_Info1_Stop_Num=message.Cur_Stop_Info1_Stop_Num;
Cur_Stop_Info1_Single_Stop_Sch=message.Cur_Stop_Info1_Single_Stop_Sch;
Cur_Stop_Info1_Single_Request_Sch=message.Cur_Stop_Info1_Single_Request_Sch;
Cur_Stop_Info1_Reached_Stop=message.Cur_Stop_Info1_Reached_Stop;
Cur_Stop_Info1_Set_Pathx=message.Cur_Stop_Info1_Set_Pathx;
Cur_Stop_Info1_Set_Pathy=message.Cur_Stop_Info1_Set_Pathy;
Cur_Stop_Info1_Set_Patht=message.Cur_Stop_Info1_Set_Patht;
Cur_Stop_Info2_StopStartNode=message.Cur_Stop_Info2_StopStartNode;
Cur_Stop_Info2_StopEndNode=message.Cur_Stop_Info2_StopEndNode;
Cur_Stop_Info2_Authorized_Pass=message.Cur_Stop_Info2_Authorized_Pass;
Cur_Stop_Info2_High_Precious_Enable=message.Cur_Stop_Info2_High_Precious_Enable;
Cur_Stop_Info2_Stop_Endx=message.Cur_Stop_Info2_Stop_Endx;
Cur_Stop_Info2_Stop_Endy=message.Cur_Stop_Info2_Stop_Endy;
Cur_Stop_Info2_Stop_Endt=message.Cur_Stop_Info2_Stop_Endt;
Cur_Stop_Info2_Stop_Num=message.Cur_Stop_Info2_Stop_Num;
Cur_Stop_Info2_Single_Stop_Sch=message.Cur_Stop_Info2_Single_Stop_Sch;
Cur_Stop_Info2_Single_Request_Sch=message.Cur_Stop_Info2_Single_Request_Sch;
Cur_Stop_Info2_Reached_Stop=message.Cur_Stop_Info2_Reached_Stop;
Cur_Stop_Info2_Set_Pathx=message.Cur_Stop_Info2_Set_Pathx;
Cur_Stop_Info2_Set_Pathy=message.Cur_Stop_Info2_Set_Pathy;
Cur_Stop_Info2_Set_Patht=message.Cur_Stop_Info2_Set_Patht;
Navi_Method=message.Navi_Method;
Bosch_Car_Global_rx=message.Bosch_Car_Global_rx;
Bosch_Car_Global_ry=message.Bosch_Car_Global_ry;
Bosch_Car_Global_Theta=message.Bosch_Car_Global_Theta;
Bosch_Loc_State=message.Bosch_Loc_State;
Bosch_No_Rec_State=message.Bosch_No_Rec_State;
Bosch_raw_age=message.Bosch_raw_age;
Bosch_raw_timestamp=message.Bosch_raw_timestamp;
Bosch_raw_uniqueId=message.Bosch_raw_uniqueId;
Bosch_raw_locState=message.Bosch_raw_locState;
Bosch_raw_x=message.Bosch_raw_x;
Bosch_raw_y=message.Bosch_raw_y;
Bosch_raw_yaw=message.Bosch_raw_yaw;
Bosch_raw_z=message.Bosch_raw_z;
Bosch_raw_qw=message.Bosch_raw_qw;
Bosch_raw_qx=message.Bosch_raw_qx;
Bosch_raw_qy=message.Bosch_raw_qy;
Bosch_raw_qz=message.Bosch_raw_qz;
Bosch_raw_epoch=message.Bosch_raw_epoch;
Bosch_raw_x_odo=message.Bosch_raw_x_odo;
Bosch_raw_y_odo=message.Bosch_raw_y_odo;
Bosch_raw_yaw_odo=message.Bosch_raw_yaw_odo;
Update_Sch=message.Update_Sch;
Update_State=message.Update_State;
Task_Sch=message.Task_Sch;
Task_State=message.Task_State;
License_Info=message.License_Info;
sub_Display_State.unsubscribe();
//var str= message.AGV_ID.toString()+' '+message.Sys_Mode.toString()+' '+message.VehicleCtrlExpThrottle.toString()+' '+message.Warning_Code.toString()+'\n';
//console.log(str);
//document.getElementById('test').innerText= str;
});
}
function ButtonOnClick(bs){
Button_State=bs;
switch(bs){
case 1:
window.open( 'HMI_Main.html', 'topIframe');
break;
case 2:
window.open('HMI_Warning.html','topIframe');
break;
case 3:
window.open('HMI_Sensor.html','topIframe');
break;
case 4:
window.open('HMI_Cmd.html','topIframe');
break;
case 5:
window.open('HMI_Log.html','topIframe');
break;
case 6:
window.open('HMI_Debug.html','topIframe');
break;
case 7:
window.open('HMI_Slam.html','topIframe');
break;
case 8:
//window.open('https://www.baidu.com/','topIframe');
window.open('HMI_Map2.html','topIframe');
break;
case 9:
window.open('Lu_Test_Threejs_12.html','topIframe');
break;
default:
window.open( 'HMI_Main.html', 'topIframe');
break;
}
}
function ButtonImage_Vertical_Click(){
if(Button_Vertical==0){
Button_Vertical=1;
document.getElementById("buttonimage_Vertical").setAttribute("src","Led_Display/Button_Vertical_On.bmp");
}
else{
Button_Vertical=0;
document.getElementById("buttonimage_Vertical").setAttribute("src","Led_Display/Button_Vertical_Off.bmp");
}
}
function Timer(){
Time=fnDate();
listener();
//client("Test");
GetHMIMapInfoCookie();
Refresh();
}
function GetHMIMapInfoCookie(){
if($.cookie("HMIMapInfo")!=null)HMIMapInfo=$.cookie('HMIMapInfo');
document.getElementById('HMIMapInfo').innerText='HMIMapInfo='+HMIMapInfo;
if(Button_Vertical==0){
document.getElementById('HMIMapInfo').style.display="none";
}
else{
document.getElementById('HMIMapInfo').style.display="";
}
}
function Refresh(){
document.getElementById('time').innerText="NobleLift AGV Magic4 "+Time;
if(Remote_Or_HMI_Ctrl%2==1)document.getElementById("Remote_Or_HMI_Ctrl").setAttribute("src","Led_Display/light_blue_on.bmp");
else document.getElementById("Remote_Or_HMI_Ctrl").setAttribute("src","Led_Display/light_blue_off.bmp");
document.getElementById('Msg_Timestamp').innerText='Msg_Timestamp='+Msg_Timestamp;
document.getElementById('AGV_ID').innerText= 'AGV_ID='+AGV_ID;
document.getElementById('Sys_Mode').innerText= 'Sys_Mode='+Sys_Mode;
document.getElementById('VehicleCtrlExpThrottle').innerText= 'Throttle='+VehicleCtrlExpThrottle;
document.getElementById('Warning_Code').innerText= 'Warning_Code='+Warning_Code;
document.getElementById('Car_Global_rx').innerText= 'Car_Global_rx='+Car_Global_rx.toFixed(3);
document.getElementById('Car_Global_ry').innerText= 'Car_Global_ry='+Car_Global_ry.toFixed(3);
document.getElementById('Car_Global_Theta').innerText= 'Car_Global_Theta='+Car_Global_Theta.toFixed(3);
document.getElementById('Lateral_Deviation_m').innerText='Lateral_Deviation_m='+Lateral_Deviation_m.toFixed(3);
document.getElementById('Vertical_Deviation_deg').innerText='Vertical_Deviation_deg='+Vertical_Deviation_deg.toFixed(3);
document.getElementById('Out_Of_Path_Times').innerText='Out_Of_Path_Times='+Out_Of_Path_Times;
document.getElementById('PLC_Warning_Code').innerText='PLC_Warning_Code='+PLC_Warning_Code;
document.getElementById('Min_Dist').innerText='Min_Dist='+Min_Dist;
document.getElementById('Auto_In_Line_State').innerText='Auto_In_Line_State='+Auto_In_Line_State;
document.getElementById('PathFollow_Enable').innerText='PathFollow_Enable='+PathFollow_Enable;
document.getElementById('StartNode').innerText= 'StartNode='+StartNode;
document.getElementById('EndNode').innerText= 'EndNode='+EndNode;
document.getElementById('RealAutoChargeState').innerText='RealAutoChargeState='+RealAutoChargeState;
document.getElementById('PWR_Percent').innerText='PWR_Percent='+PWR_Percent;
document.getElementById('SVreal_angle').innerText='SVreal_angle='+SVreal_angle;
document.getElementById('Speedm_Tmp').innerText='Speedm_Tmp='+Speedm_Tmp;
document.getElementById('VehicleCtrlRealAltitude_mm').innerText='VehicleCtrlRealAltitude_mm='+VehicleCtrlRealAltitude_mm;
document.getElementById('ReachState').innerText='ReachState='+ReachState;
document.getElementById('ObstacleTouchState').innerText='ObstacleTouchState='+ObstacleTouchState;
document.getElementById('PWR_Warn').innerText='PWR_Warn='+PWR_Warn;
document.getElementById('VehicleCtrl_CAN_Err_Info').innerText='VehicleCtrl_CAN_Err_Info='+VehicleCtrl_CAN_Err_Info;
document.getElementById('Curtis_Warning_Code_Speed').innerText='Curtis_Warning_Code_Speed='+Curtis_Warning_Code_Speed;
document.getElementById('Curtis_Warning_Code_Steer').innerText='Curtis_Warning_Code_Steer='+Curtis_Warning_Code_Steer;
document.getElementById('VehicleCtrlRealCustomStateByte0').innerText='VehicleCtrlRealCustomStateByte0='+VehicleCtrlRealCustomStateByte0;
document.getElementById('VehicleCtrlRealCustomStateByte1').innerText='VehicleCtrlRealCustomStateByte1='+VehicleCtrlRealCustomStateByte1;
document.getElementById('VehicleCtrlRealCustomStateByte2').innerText='VehicleCtrlRealCustomStateByte2='+VehicleCtrlRealCustomStateByte2;
document.getElementById('VehicleCtrlRealCustomStateByte3').innerText='VehicleCtrlRealCustomStateByte3='+VehicleCtrlRealCustomStateByte3;
document.getElementById('LastAltitudeExpectValue_mm').innerText='LastAltitudeExpectValue_mm='+LastAltitudeExpectValue_mm;
document.getElementById('Get_Nav350_Curr_Layer').innerText='Get_Nav350_Curr_Layer='+Get_Nav350_Curr_Layer;
document.getElementById('Update_Sch').innerText='Update_Sch='+Update_Sch;
document.getElementById('Update_State').innerText='Update_State='+Update_State;
document.getElementById('Task_Sch').innerText='Task_Sch='+Task_Sch;
document.getElementById('Task_State').innerText='Task_State='+Task_State;
document.getElementById('License_Info').innerText='License_Info='+License_Info;
document.getElementById('Button_State').innerText='Button_State='+Button_State;
if(Button_Vertical==0){
document.getElementById('Msg_Timestamp').style.display="none";
document.getElementById('AGV_ID').style.display="none";
document.getElementById('Sys_Mode').style.display="none";
document.getElementById('VehicleCtrlExpThrottle').style.display="none";
document.getElementById('Warning_Code').style.display="none";
document.getElementById('Car_Global_rx').style.display="none";
document.getElementById('Car_Global_ry').style.display="none";
document.getElementById('Car_Global_Theta').style.display="none";
document.getElementById('Lateral_Deviation_m').style.display="none";
document.getElementById('Vertical_Deviation_deg').style.display="none";
document.getElementById('Out_Of_Path_Times').style.display="none";
document.getElementById('PLC_Warning_Code').style.display="none";
document.getElementById('Min_Dist').style.display="none";
document.getElementById('Auto_In_Line_State').style.display="none";
document.getElementById('PathFollow_Enable').style.display="none";
document.getElementById('StartNode').style.display="none";
document.getElementById('EndNode').style.display="none";
document.getElementById('RealAutoChargeState').style.display="none";
document.getElementById('PWR_Percent').style.display="none";
document.getElementById('SVreal_angle').style.display="none";
document.getElementById('Speedm_Tmp').style.display="none";
document.getElementById('VehicleCtrlRealAltitude_mm').style.display="none";
document.getElementById('ReachState').style.display="none";
document.getElementById('ObstacleTouchState').style.display="none";
document.getElementById('PWR_Warn').style.display="none";
document.getElementById('VehicleCtrl_CAN_Err_Info').style.display="none";
document.getElementById('Curtis_Warning_Code_Speed').style.display="none";
document.getElementById('Curtis_Warning_Code_Steer').style.display="none";
document.getElementById('VehicleCtrlRealCustomStateByte0').style.display="none";
document.getElementById('VehicleCtrlRealCustomStateByte1').style.display="none";
document.getElementById('VehicleCtrlRealCustomStateByte2').style.display="none";
document.getElementById('VehicleCtrlRealCustomStateByte3').style.display="none";
document.getElementById('LastAltitudeExpectValue_mm').style.display="none";
document.getElementById('Get_Nav350_Curr_Layer').style.display="none";
document.getElementById('Update_Sch').style.display="none";
document.getElementById('Update_State').style.display="none";
document.getElementById('Task_Sch').style.display="none";
document.getElementById('Task_State').style.display="none";
document.getElementById('License_Info').style.display="none";
document.getElementById('Button_State').style.display="none";
}
else{
document.getElementById('Msg_Timestamp').style.display="";
document.getElementById('AGV_ID').style.display="";
document.getElementById('Sys_Mode').style.display="";
document.getElementById('VehicleCtrlExpThrottle').style.display="";
document.getElementById('Warning_Code').style.display="";
document.getElementById('Car_Global_rx').style.display="";
document.getElementById('Car_Global_ry').style.display="";
document.getElementById('Car_Global_Theta').style.display="";
document.getElementById('Lateral_Deviation_m').style.display="";
document.getElementById('Vertical_Deviation_deg').style.display="";
document.getElementById('Out_Of_Path_Times').style.display="";
document.getElementById('PLC_Warning_Code').style.display="";
document.getElementById('Min_Dist').style.display="";
document.getElementById('Auto_In_Line_State').style.display="";
document.getElementById('PathFollow_Enable').style.display="";
document.getElementById('StartNode').style.display="";
document.getElementById('EndNode').style.display="";
document.getElementById('RealAutoChargeState').style.display="";
document.getElementById('PWR_Percent').style.display="";
document.getElementById('SVreal_angle').style.display="";
document.getElementById('Speedm_Tmp').style.display="";
document.getElementById('VehicleCtrlRealAltitude_mm').style.display="";
document.getElementById('ReachState').style.display="";
document.getElementById('ObstacleTouchState').style.display="";
document.getElementById('PWR_Warn').style.display="";
document.getElementById('VehicleCtrl_CAN_Err_Info').style.display="";
document.getElementById('Curtis_Warning_Code_Speed').style.display="";
document.getElementById('Curtis_Warning_Code_Steer').style.display="";
document.getElementById('VehicleCtrlRealCustomStateByte0').style.display="";
document.getElementById('VehicleCtrlRealCustomStateByte1').style.display="";
document.getElementById('VehicleCtrlRealCustomStateByte2').style.display="";
document.getElementById('VehicleCtrlRealCustomStateByte3').style.display="";
document.getElementById('LastAltitudeExpectValue_mm').style.display="";
document.getElementById('Get_Nav350_Curr_Layer').style.display="";
document.getElementById('Update_Sch').style.display="";
document.getElementById('Update_State').style.display="";
document.getElementById('Task_Sch').style.display="";
document.getElementById('Task_State').style.display="";
document.getElementById('License_Info').style.display="";
document.getElementById('Button_State').style.display="";
}
$.cookie("Msg_Timestamp",Msg_Timestamp,{secure:true});
$.cookie("ros",ros,{secure:true});
$.cookie("AGV_ID",AGV_ID,{secure: true});
$.cookie("Sys_Mode",Sys_Mode,{secure: true});
$.cookie("Warning_Code",Warning_Code,{secure: true});
$.cookie("Car_Global_rx",Car_Global_rx,{secure: true});
$.cookie("Car_Global_ry",Car_Global_ry,{secure: true });
$.cookie("Car_Global_Theta",Car_Global_Theta,{secure: true});
$.cookie("Lateral_Deviation_m",Lateral_Deviation_m,{secure: true});
$.cookie("Vertical_Deviation_deg",Vertical_Deviation_deg,{secure: true});
$.cookie("Out_Of_Path_Times",Out_Of_Path_Times,{secure: true});
$.cookie("PLC_Warning_Code",PLC_Warning_Code,{secure:true});
$.cookie("Min_Dist",Min_Dist,{secure: true});
$.cookie("Auto_In_Line_State",Auto_In_Line_State,{secure: true});
$.cookie("PathFollow_Enable",PathFollow_Enable,{secure:true});
$.cookie("StartNode",StartNode,{secure: true});
$.cookie("EndNode",EndNode,{secure:true});
$.cookie("RealAutoChargeState",RealAutoChargeState,{secure:true});
$.cookie("VehicleCtrlRealAltitude_mm",VehicleCtrlRealAltitude_mm,{secure: true });
$.cookie("ReachState",ReachState,{secure: true});
$.cookie("ObstacleTouchState",ObstacleTouchState,{secure:true});
$.cookie("VehicleCtrlExpThrottle",VehicleCtrlExpThrottle,{secure: true });
$.cookie("Speedm_Tmp",Speedm_Tmp,{secure: true });
$.cookie("PWR_Percent",PWR_Percent,{secure: true });
$.cookie("SVreal_angle",SVreal_angle,{secure: true });
$.cookie("PWR_Warn",PWR_Warn,{secure: true});
$.cookie("VehicleCtrl_CAN_Err_Info",VehicleCtrl_CAN_Err_Info,{secure:true});
$.cookie("Curtis_Warning_Code_Speed",Curtis_Warning_Code_Speed,{secure:true});
$.cookie("Curtis_Warning_Code_Steer",Curtis_Warning_Code_Steer,{secure:true});
$.cookie("VehicleCtrlRealCustomStateByte0",VehicleCtrlRealCustomStateByte0,{secure:true});
$.cookie("VehicleCtrlRealCustomStateByte1",VehicleCtrlRealCustomStateByte1,{secure:true});
$.cookie("VehicleCtrlRealCustomStateByte2",VehicleCtrlRealCustomStateByte2,{secure:true});
$.cookie("VehicleCtrlRealCustomStateByte3",VehicleCtrlRealCustomStateByte3,{secure:true});
$.cookie("LastAltitudeExpectValue_mm",LastAltitudeExpectValue_mm,{secure:true});
$.cookie("Get_Nav350_Curr_Layer",Get_Nav350_Curr_Layer,{secure:true});
$.cookie("Cur_Stop_Info1_StopStartNode",Cur_Stop_Info1_StopStartNode,{secure:true});
$.cookie("Cur_Stop_Info1_StopEndNode",Cur_Stop_Info1_StopEndNode,{secure:true});
$.cookie("Cur_Stop_Info1_Authorized_Pass",Cur_Stop_Info1_Authorized_Pass,{secure:true});
$.cookie("Cur_Stop_Info1_High_Precious_Enable",Cur_Stop_Info1_High_Precious_Enable,{secure:true});
$.cookie("Cur_Stop_Info1_Stop_Endx",Cur_Stop_Info1_Stop_Endx,{secure:true});
$.cookie("Cur_Stop_Info1_Stop_Endy",Cur_Stop_Info1_Stop_Endy,{secure:true});
$.cookie("Cur_Stop_Info1_Stop_Endt",Cur_Stop_Info1_Stop_Endt,{secure:true});
$.cookie("Cur_Stop_Info1_Stop_Num",Cur_Stop_Info1_Stop_Num,{secure:true});
$.cookie("Cur_Stop_Info1_Single_Stop_Sch",Cur_Stop_Info1_Single_Stop_Sch,{secure:true});
$.cookie("Cur_Stop_Info1_Single_Request_Sch",Cur_Stop_Info1_Single_Request_Sch,{secure:true});
$.cookie("Cur_Stop_Info1_Reached_Stop",Cur_Stop_Info1_Reached_Stop,{secure:true});
$.cookie("Cur_Stop_Info1_Set_Pathx",Cur_Stop_Info1_Set_Pathx,{secure:true});
$.cookie("Cur_Stop_Info1_Set_Pathy",Cur_Stop_Info1_Set_Pathy,{secure:true});
$.cookie("Cur_Stop_Info1_Set_Patht",Cur_Stop_Info1_Set_Patht,{secure:true});
$.cookie("Cur_Stop_Info2_StopStartNode",Cur_Stop_Info2_StopStartNode,{secure:true});
$.cookie("Cur_Stop_Info2_StopEndNode",Cur_Stop_Info2_StopEndNode,{secure:true});
$.cookie("Cur_Stop_Info2_Authorized_Pass",Cur_Stop_Info2_Authorized_Pass,{secure:true});
$.cookie("Cur_Stop_Info2_High_Precious_Enable",Cur_Stop_Info2_High_Precious_Enable,{secure:true});
$.cookie("Cur_Stop_Info2_Stop_Endx",Cur_Stop_Info2_Stop_Endx,{secure:true});
$.cookie("Cur_Stop_Info2_Stop_Endy",Cur_Stop_Info2_Stop_Endy,{secure:true});
$.cookie("Cur_Stop_Info2_Stop_Endt",Cur_Stop_Info2_Stop_Endt,{secure:true});
$.cookie("Cur_Stop_Info2_Stop_Num",Cur_Stop_Info2_Stop_Num,{secure:true});
$.cookie("Cur_Stop_Info2_Single_Stop_Sch",Cur_Stop_Info2_Single_Stop_Sch,{secure:true});
$.cookie("Cur_Stop_Info2_Single_Request_Sch",Cur_Stop_Info2_Single_Request_Sch,{secure:true});
$.cookie("Cur_Stop_Info2_Reached_Stop",Cur_Stop_Info2_Reached_Stop,{secure:true});
$.cookie("Cur_Stop_Info2_Set_Pathx",Cur_Stop_Info2_Set_Pathx,{secure:true});
$.cookie("Cur_Stop_Info2_Set_Pathy",Cur_Stop_Info2_Set_Pathy,{secure:true});
$.cookie("Cur_Stop_Info2_Set_Patht",Cur_Stop_Info2_Set_Patht,{secure:true});
$.cookie("Navi_Method",Navi_Method,{secure:true});
$.cookie("Bosch_Car_Global_rx",Bosch_Car_Global_rx,{secure:true});
$.cookie("Bosch_Car_Global_ry",Bosch_Car_Global_ry,{secure:true});
$.cookie("Bosch_Car_Global_Theta",Bosch_Car_Global_Theta,{secure:true});
$.cookie("Bosch_Loc_State",Bosch_Loc_State,{secure:true});
$.cookie("Bosch_No_Rec_State",Bosch_No_Rec_State,{secure:true});
$.cookie("Bosch_raw_age",Bosch_raw_age,{secure:true});
$.cookie("Bosch_raw_timestamp",Bosch_raw_timestamp,{secure:true});
$.cookie("Bosch_raw_uniqueId",Bosch_raw_uniqueId,{secure:true});
$.cookie("Bosch_raw_locState",Bosch_raw_locState,{secure:true});
$.cookie("Bosch_raw_x",Bosch_raw_x,{secure:true});
$.cookie("Bosch_raw_y",Bosch_raw_y,{secure:true});
$.cookie("Bosch_raw_yaw",Bosch_raw_yaw,{secure:true});
$.cookie("Bosch_raw_z",Bosch_raw_z,{secure:true});
$.cookie("Bosch_raw_qw",Bosch_raw_qw,{secure:true});
$.cookie("Bosch_raw_qx",Bosch_raw_qx,{secure:true});
$.cookie("Bosch_raw_qy",Bosch_raw_qy,{secure:true});
$.cookie("Bosch_raw_qz",Bosch_raw_qz,{secure:true});
$.cookie("Bosch_raw_epoch",Bosch_raw_epoch,{secure:true});
$.cookie("Bosch_raw_x_odo",Bosch_raw_x_odo,{secure:true});
$.cookie("Bosch_raw_y_odo",Bosch_raw_y_odo,{secure:true});
$.cookie("Bosch_raw_yaw_odo",Bosch_raw_yaw_odo,{secure:true});
$.cookie("Update_Sch",Update_Sch,{secure:true});
$.cookie("Update_State",Update_State,{secure:true});
$.cookie("Task_Sch",Task_Sch,{secure:true});
$.cookie("Task_State",Task_State,{secure:true});
$.cookie("License_Info",License_Info,{secure:true});
$.cookie("HMIMapInfo_Record",HMIMapInfo,{secure:true});
}
var T1 = window.setInterval("Timer()",100);
</script>
<title>HMI</title>
</head>
<body>
<table>
<tr>
<div style="text-align: center;width:100%;">
<!--<div style="text-align: center;height:150px; width:100%;background-image:url(assets/img/1.jpg)">-->
<!--
<h3>
<div>你好 欢迎使用NobleLift AGV Magic3.3</div>
</h3>
-->
</div>
</tr>
<tr>
<div style="text-align: center;height:20px; width:100%;" id="time"> </div>
</tr>
<tr>
<div style="text-align: center;height:20px;width:100%;">显示屏控制</div>
<div style="text-align: center;height:20px;width:100%;"><img id='Remote_Or_HMI_Ctrl'></img></div>
</tr>
<tr>
<div class="htmleaf-container" style="text-align: center; width:100%;">
<div class="effect-group-container toolbar-2">
<div class="btn-border btn-round btn-Coral btn1">
<button class="btn btn-Coral" onclick=ButtonOnClick(1)>首页</button>
</div>
<div class="btn-border btn-round btn-Brown btn2">
<button class="btn btn-Brown" onclick=ButtonOnClick(2)>故障</button>
</div>
<div class="btn-border btn-round btn-pink btn3">
<button class="btn btn-pink" onclick=ButtonOnClick(3)>传感器</button>
</div>
<div class="btn-border btn-round btn-yellow btn4">
<button class="btn btn-yellow" onclick=ButtonOnClick(4)>控制</button>
</div>
<div class="btn-border btn-round btn-green btn5">
<button class="btn btn-green" onclick=ButtonOnClick(5)>日志</button>
</div>
<div class="btn-border btn-round btn-red btn6">
<button class="btn btn-red" onclick=ButtonOnClick(6)>调试</button>
</div>
<div class="btn-border btn-round btn-blue btn7">
<button class="btn btn-blue" onclick=ButtonOnClick(7)>SLAM</button>
</div>
<div class="btn-border btn-round btn-black btn8">
<button class="btn btn-black" onclick=ButtonOnClick(8)>Map</button>
</div>
<div class="btn-border btn-round btn-black btn9">
<button class="btn btn-black" onclick=ButtonOnClick(9)>LAB</button>
</div>
</div>
</div>
<script src="Button_Display/js/main.js"></script>
</tr>
<tr>
<iframe id="topIframe" name="topIframe" width="100%" height="480" src="HMI_Main.html" frameborder="2" scrolling="auto"></iframe>
</tr>
<tr>
<img id="buttonimage_Vertical" onclick="ButtonImage_Vertical_Click()" src="Led_Display/Button_Vertical_Off.bmp"/>
<div id='Msg_Timestamp'></div>
<div id='AGV_ID'> </div>
<div id='Sys_Mode'> </div>
<div id='VehicleCtrlExpThrottle'> </div>
<div id='Warning_Code'></div>
<div id='Car_Global_rx'></div>
<div id='Car_Global_ry'></div>
<div id='Car_Global_Theta'></div>
<div id='Lateral_Deviation_m'></div>
<div id='Vertical_Deviation_deg'></div>
<div id='Out_Of_Path_Times'></div>
<div id='PLC_Warning_Code'></div>
<div id='Min_Dist'></div>
<div id='Auto_In_Line_State'></div>
<div id='PathFollow_Enable'></div>
<div id='StartNode'></div>
<div id='EndNode'></div>
<div id='RealAutoChargeState'></div>
<div id='PWR_Percent'></div>
<div id='SVreal_angle'></div>
<div id='Speedm_Tmp'></div>
<div id='VehicleCtrlRealAltitude_mm'></div>
<div id='ReachState'></div>
<div id='ObstacleTouchState'></div>
<div id='PWR_Warn'></div>
<div id='VehicleCtrl_CAN_Err_Info'></div>
<div id='Curtis_Warning_Code_Speed'></div>
<div id='Curtis_Warning_Code_Steer'></div>
<div id='VehicleCtrlRealCustomStateByte0'></div>
<div id='VehicleCtrlRealCustomStateByte1'></div>
<div id='VehicleCtrlRealCustomStateByte2'></div>
<div id='VehicleCtrlRealCustomStateByte3'></div>
<div id='LastAltitudeExpectValue_mm'></div>
<div id='Get_Nav350_Curr_Layer'></div>
<div id='Update_Sch'></div>
<div id='Update_State'></div>
<div id='Task_Sch'></div>
<div id='Task_State'></div>
<div id='License_Info'></div>
<div id='HMIMapInfo'></div>
<div id='Button_State'></div>
</tr>
</table>
</body>
</html>