diff --git a/copy start_all.sh b/copy start_all.sh index 7563816..fee1cc8 100755 --- a/copy start_all.sh +++ b/copy start_all.sh @@ -1,22 +1,66 @@ + + + + #!/bin/bash set -e -# ===== 环境 ===== -source /opt/ros/humble/setup.bash -source /home/nvidia/Downloads/sweeper_200/install/setup.bash +source install/setup.bash -# ===== 信号处理(这是核心)===== -terminate() { - echo "[start_ros2] Caught SIGTERM/SIGINT, shutting down ROS2..." - kill -TERM "$ROS2_PID" - wait "$ROS2_PID" - exit 0 -} +# ============================================== +# 1. 车辆参数节点(你之前漏掉的!必须第一个启动) +# ============================================== +taskset -c 0 ros2 run vehicle_params vehicle_params_node & +sleep 0.2 -trap terminate SIGINT SIGTERM +# ============================================== +# 2. 控制类节点(低负载,不影响雷达) +# ============================================== +taskset -c 0 ros2 run can_radio_ctrl can_radio_ctrl_node & +sleep 0.2 -# ===== 启动 launch(前台语义)===== -ros2 launch launch_system start_all.launch.py & -ROS2_PID=$! +taskset -c 2 ros2 run remote_ctrl remote_ctrl_node & +sleep 0.2 -wait "$ROS2_PID" +taskset -c 1 ros2 run mc mc_node & +sleep 0.2 + +taskset -c 1 ros2 run ctrl_arbiter ctrl_arbiter_node & +sleep 0.2 + +taskset -c 2 ros2 run pl pl_node & +sleep 0.2 + +taskset -c 6 ros2 run mqtt_report mqtt_report_node & +sleep 0.3 + +# ============================================== +# 3. 雷达驱动 —— 专用核心 3、4(绝不被抢占) +# ============================================== +taskset -c 3,4 ros2 launch rslidar_sdk start_double.launch.py & +sleep 1.5 + +# ============================================== +# 4. 点云融合 —— 专用核心 5(完全隔离) +# ============================================== +taskset -c 5 ros2 launch rslidar_pointcloud_merger merge_two_lidars.launch.py & +sleep 0.3 + +# ============================================== +# 5. 定位 & 业务节点(不干扰雷达) +# ============================================== +taskset -c 6 ros2 run rtk rtk_node & +sleep 0.3 + +taskset -c 6 ros2 run route route_node & +sleep 0.3 + +taskset -c 6 ros2 run sub sub_node & +sleep 0.3 + +taskset -c 7 ros2 run task_manager task_manager_node & +sleep 0.3 + +taskset -c 7 ros2 launch fu fu.launch.py & + +wait \ No newline at end of file diff --git a/gps_load_now.txt b/gps_load_now.txt index 9d3f2a0..23c271f 100644 --- a/gps_load_now.txt +++ b/gps_load_now.txt @@ -1,992 +1,264 @@ -31.9884288270 -120.88199411800 -170.425995 +32.0309108070 +120.91507417100 +155.817001 0.000000 -31.9884195560 -120.88199595700 -170.707001 +32.0309020700 +120.91507871100 +155.617004 0.000000 -31.9884094890 -120.88199769900 -168.067993 +32.0308925710 +120.91508315600 +156.106003 0.000000 -31.9883999460 -120.88200005800 -169.434006 +32.0308838810 +120.91508811200 +159.794998 0.000000 -31.9883902240 -120.88200221200 -169.988998 +32.0308750760 +120.91509269300 +156.994003 0.000000 -31.9883805260 -120.88200405800 -171.410004 +32.0308662720 +120.91509687200 +154.442001 0.000000 -31.9883707670 -120.88200550200 -170.886993 +32.0308572580 +120.91510140100 +154.037003 0.000000 -31.9883609870 -120.88200672100 -171.718002 +32.0308493400 +120.91510792100 +149.167007 0.000000 -31.9883511580 -120.88200828300 -169.800995 +32.0308410420 +120.91511352700 +148.658005 0.000000 -31.9883413380 -120.88201020400 -167.917999 +32.0308330410 +120.91511914800 +147.304001 0.000000 -31.9883316010 -120.88201259800 -167.401993 +32.0308248540 +120.91512524500 +149.287994 0.000000 -31.9883220080 -120.88201467100 -166.701996 +32.0308159770 +120.91513145400 +150.360001 0.000000 -31.9883122290 -120.88201727500 -165.945007 +32.0308082140 +120.91513700300 +147.880005 0.000000 -31.9883025210 -120.88201964500 -168.641006 +32.0308008210 +120.91514308400 +140.037994 0.000000 -31.9882927610 -120.88202148400 -169.973007 +32.0307936440 +120.91515072000 +132.856003 0.000000 -31.9882828310 -120.88202346700 -169.751007 +32.0307878360 +120.91515897500 +121.110001 0.000000 -31.9882731670 -120.88202453400 -171.490005 +32.0307834830 +120.91516829500 +112.790001 0.000000 -31.9882630830 -120.88202608300 -169.511002 +32.0307799510 +120.91517868100 +108.697998 0.000000 -31.9882531540 -120.88202817800 -166.884003 +32.0307772600 +120.91518915200 +102.210999 0.000000 -31.9882434740 -120.88203047400 -169.259995 +32.0307758630 +120.91520013900 +90.101997 0.000000 -31.9882337350 -120.88203261700 -166.007004 +32.0307765330 +120.91521115700 +76.972000 0.000000 -31.9882239680 -120.88203518400 -169.445999 +32.0307792340 +120.91522159800 +61.636002 0.000000 -31.9882141760 -120.88203672700 -170.550995 +32.0307846230 +120.91523071400 +43.868000 0.000000 -31.9882043150 -120.88203791100 -169.537003 +32.0307924840 +120.91523764700 +25.950001 0.000000 -31.9881943540 -120.88203931700 -171.057999 +32.0308016330 +120.91524212700 +19.583000 0.000000 -31.9881844590 -120.88204050900 -170.369995 +32.0308107830 +120.91524524100 +6.474000 0.000000 -31.9881745500 -120.88204215000 -169.869995 +32.0308204550 +120.91524576100 +355.416992 0.000000 -31.9881656940 -120.88204409700 -168.809006 +32.0308296190 +120.91524483600 +356.260010 0.000000 -31.9881560110 -120.88204588500 -174.044006 +32.0308395780 +120.91524464400 +0.199000 0.000000 -31.9881462130 -120.88204769600 -175.203003 +32.0308489180 +120.91524451800 +0.015000 0.000000 -31.9881364390 -120.88204927900 -170.460007 +32.0308585990 +120.91524434700 +359.226990 0.000000 -31.9881266150 -120.88205084200 -167.727997 +32.0308694160 +120.91524423900 +358.707001 0.000000 -31.9881166550 -120.88205319800 -170.470993 +32.0308791190 +120.91524398500 +358.138000 0.000000 -31.9881068560 -120.88205520800 -169.261002 +32.0308889120 +120.91524350400 +357.056000 0.000000 -31.9880969370 -120.88205696800 -172.263000 +32.0308986090 +120.91524281800 +356.694000 0.000000 -31.9880872250 -120.88205878000 -171.520004 +32.0309080990 +120.91524194800 +357.459991 0.000000 -31.9880772850 -120.88206045300 -172.399994 +32.0309170830 +120.91524129800 +357.404999 0.000000 -31.9880674380 -120.88206166500 -170.328003 +32.0309264030 +120.91524072500 +356.957001 0.000000 -31.9880578240 -120.88206379500 -167.949005 +32.0309357950 +120.91524006000 +357.480011 0.000000 -31.9880481160 -120.88206600500 -167.018997 +32.0309463390 +120.91523904200 +357.307007 0.000000 -31.9880384190 -120.88206878800 -166.660995 +32.0309554710 +120.91523855400 +351.339996 0.000000 -31.9880290080 -120.88207158200 -164.009003 +32.0309652710 +120.91523615700 +346.320007 0.000000 -31.9880194140 -120.88207401700 -167.233002 +32.0309748560 +120.91523298200 +345.138000 0.000000 -31.9880096690 -120.88207667800 -169.731995 +32.0309836220 +120.91523009100 +345.750000 0.000000 -31.9879999030 -120.88207869800 -170.529007 +32.0309944360 +120.91522686300 +346.925995 0.000000 -31.9879901320 -120.88208005600 -170.182007 +32.0310042540 +120.91522422300 +345.520996 0.000000 -31.9879802750 -120.88208139200 -172.244995 +32.0310132960 +120.91522074900 +333.592987 0.000000 -31.9879705660 -120.88208310500 -171.035004 +32.0310218240 +120.91521520700 +327.031006 0.000000 -31.9879607330 -120.88208440900 -172.820999 +32.0310292350 +120.91520841800 +311.174988 0.000000 -31.9879510260 -120.88208515800 -171.725006 +32.0310347830 +120.91519920300 +294.627014 0.000000 -31.9879413400 -120.88208651400 -168.906998 +32.0310382010 +120.91518880900 +287.684998 0.000000 -31.9879316280 -120.88208839700 -166.108994 +32.0310407910 +120.91517767000 +278.509003 0.000000 -31.9879218700 -120.88209050600 -166.285004 +32.0310416520 +120.91516486000 +268.722992 0.000000 -31.9879125360 -120.88209279400 -155.539001 +32.0310406100 +120.91515351800 +256.851013 0.000000 -31.9879042770 -120.88209882000 -113.705002 +32.0310381420 +120.91514246100 +254.175995 0.000000 -31.9879034150 -120.88210948900 -64.216003 +32.0310349300 +120.91513156600 +247.996994 0.000000 -31.9879097670 -120.88211773400 -19.921000 +32.0310300470 +120.91512051800 +232.988998 0.000000 -31.9879018800 -120.88214155100 -353.087006 +32.0310238220 +120.91511187700 +221.505997 0.000000 -31.9879118920 -120.88213964600 -354.920990 +32.0310162570 +120.91510478900 +216.899002 0.000000 -31.9879215670 -120.88213832500 -350.755005 +32.0310082200 +120.91509815500 +213.102005 0.000000 -31.9879313070 -120.88213620300 -349.742004 +32.0310000010 +120.91509229000 +204.339005 0.000000 -31.9879408040 -120.88213409900 -350.381012 +32.0309901480 +120.91508807900 +193.214005 0.000000 -31.9879504440 -120.88213231000 -350.252991 +32.0309811650 +120.91508645100 +183.498993 0.000000 -31.9879601710 -120.88213007400 -349.345001 +32.0309719130 +120.91508578100 +179.050003 0.000000 -31.9879697330 -120.88212779700 -349.131989 +32.0309626190 +120.91508615600 +176.710999 0.000000 -31.9879793550 -120.88212556100 -351.013000 -0.000000 -31.9879890450 -120.88212374700 -351.182007 -0.000000 -31.9879987480 -120.88212225700 -351.503998 -0.000000 -31.9880083320 -120.88212042100 -350.207001 -0.000000 -31.9880178080 -120.88211806800 -348.587006 -0.000000 -31.9880275440 -120.88211552200 -347.221008 -0.000000 -31.9880370210 -120.88211282300 -346.015015 -0.000000 -31.9880463960 -120.88210988300 -346.825012 -0.000000 -31.9880558180 -120.88210719800 -350.364990 -0.000000 -31.9880655130 -120.88210526400 -352.058990 -0.000000 -31.9880752090 -120.88210353400 -352.394989 -0.000000 -31.9880848000 -120.88210192800 -353.756989 -0.000000 -31.9880944970 -120.88210070100 -355.178009 -0.000000 -31.9881041880 -120.88209920600 -356.074005 -0.000000 -31.9881137920 -120.88209828200 -356.894012 -0.000000 -31.9881237680 -120.88209777200 -354.562988 -0.000000 -31.9881335080 -120.88209643200 -352.463989 -0.000000 -31.9881432480 -120.88209520100 -352.722992 -0.000000 -31.9881528840 -120.88209330800 -351.984009 -0.000000 -31.9881626740 -120.88209142100 -350.701996 -0.000000 -31.9881721460 -120.88208939900 -350.447998 -0.000000 -31.9881817170 -120.88208715000 -346.852997 -0.000000 -31.9881912790 -120.88208433300 -346.622986 -0.000000 -31.9882005950 -120.88208153200 -350.286987 -0.000000 -31.9882103180 -120.88207989600 -349.316010 -0.000000 -31.9882201690 -120.88207773300 -350.046997 -0.000000 -31.9882295740 -120.88207578800 -350.520996 -0.000000 -31.9882391170 -120.88207399100 -350.457001 -0.000000 -31.9882488730 -120.88207176400 -350.532990 -0.000000 -31.9882583430 -120.88206993000 -349.195007 -0.000000 -31.9882678760 -120.88206714300 -345.888000 -0.000000 -31.9882772500 -120.88206455700 -345.789001 -0.000000 -31.9882864870 -120.88206163700 -347.921997 -0.000000 -31.9882962520 -120.88205940000 -349.795990 -0.000000 -31.9883071850 -120.88205675600 -350.846985 -0.000000 -31.9883166500 -120.88205490500 -352.106995 -0.000000 -31.9883260940 -120.88205330600 -351.002014 -0.000000 -31.9883353000 -120.88205149100 -350.002014 -0.000000 -31.9883449910 -120.88205001800 -348.420013 -0.000000 -31.9883548130 -120.88204720500 -347.463989 -0.000000 -31.9883644680 -120.88204457500 -349.498993 -0.000000 -31.9883741550 -120.88204250100 -350.243011 -0.000000 -31.9883836730 -120.88204108500 -4.043000 -0.000000 -31.9883930210 -120.88204380900 -40.562000 -0.000000 -31.9883981230 -120.88205396100 -82.735001 -0.000000 -31.9883970740 -120.88206489200 -118.607002 -0.000000 -31.9883914010 -120.88207325400 -154.522995 -0.000000 -31.9883830050 -120.88207741600 -162.341995 -0.000000 -31.9883734900 -120.88208174100 -160.742996 -0.000000 -31.9883650790 -120.88208596100 -159.386002 -0.000000 -31.9883567500 -120.88209027700 -158.546997 -0.000000 -31.9883487090 -120.88209501600 -157.802994 -0.000000 -31.9883392960 -120.88209847400 -171.878998 -0.000000 -31.9883294280 -120.88210070200 -171.917007 -0.000000 -31.9883196580 -120.88210280900 -172.436005 -0.000000 -31.9883102590 -120.88210446400 -172.317993 -0.000000 -31.9883007180 -120.88210611600 -172.748993 -0.000000 -31.9882928670 -120.88210017300 -172.397003 -0.000000 -31.9882831910 -120.88210172100 -173.335007 -0.000000 -31.9882734280 -120.88210337600 -169.848007 -0.000000 -31.9882639020 -120.88210557600 -169.621002 -0.000000 -31.9882543540 -120.88210790500 -167.460007 -0.000000 -31.9882448110 -120.88211065900 -164.837997 -0.000000 -31.9882354900 -120.88211392700 -165.138000 -0.000000 -31.9882259450 -120.88211659800 -172.164001 -0.000000 -31.9882161630 -120.88211821600 -172.003998 -0.000000 -31.9882065760 -120.88211973100 -171.600006 -0.000000 -31.9881969180 -120.88212178300 -170.479996 -0.000000 -31.9881871950 -120.88212397600 -168.738998 -0.000000 -31.9881765580 -120.88212671700 -167.746994 -0.000000 -31.9881669830 -120.88212893300 -169.770004 -0.000000 -31.9881573540 -120.88213105700 -171.264008 -0.000000 -31.9881477280 -120.88213282100 -171.378998 -0.000000 -31.9881380980 -120.88213472700 -171.595993 -0.000000 -31.9881283770 -120.88213630000 -171.065002 -0.000000 -31.9881188150 -120.88213829400 -170.561996 -0.000000 -31.9881092070 -120.88214024100 -169.942993 -0.000000 -31.9880995730 -120.88214261900 -168.884995 -0.000000 -31.9880900110 -120.88214488100 -171.479996 -0.000000 -31.9880803630 -120.88214679200 -171.880997 -0.000000 -31.9880707650 -120.88214861300 -171.044006 -0.000000 -31.9880610140 -120.88215030500 -170.285004 -0.000000 -31.9880515290 -120.88215248800 -168.050995 -0.000000 -31.9880419770 -120.88215496300 -167.481003 -0.000000 -31.9880323460 -120.88215740400 -169.166000 -0.000000 -31.9880227560 -120.88215966600 -169.917007 -0.000000 -31.9880130960 -120.88216144900 -171.436005 -0.000000 -31.9880034160 -120.88216310300 -172.705002 -0.000000 -31.9879937470 -120.88216478900 -170.022003 -0.000000 -31.9879841140 -120.88216696500 -169.882996 -0.000000 -31.9879745770 -120.88216928600 -168.602005 -0.000000 -31.9879650420 -120.88217171800 -168.503006 -0.000000 -31.9879554810 -120.88217388000 -161.863998 -0.000000 -31.9879470130 -120.88217976800 -123.551003 -0.000000 -31.9879438320 -120.88219016500 -82.726997 -0.000000 -31.9879473800 -120.88220070500 -41.180000 -0.000000 -31.9879560100 -120.88220607300 -6.214000 -0.000000 -31.9879658200 -120.88220647900 -359.704987 -0.000000 -31.9879756630 -120.88220554500 -353.226013 -0.000000 -31.9879852980 -120.88220410900 -353.653992 -0.000000 -31.9879949830 -120.88220227400 -345.876007 -0.000000 -31.9880044320 -120.88219922000 -344.588013 -0.000000 -31.9880138650 -120.88219612600 -344.282990 -0.000000 -31.9880231890 -120.88219298800 -344.035004 -0.000000 -31.9880326450 -120.88218974300 -345.737000 -0.000000 -31.9880420060 -120.88218714100 -349.368011 -0.000000 -31.9880516450 -120.88218484700 -351.467010 -0.000000 -31.9880613210 -120.88218297500 -353.571014 -0.000000 -31.9880709480 -120.88218145400 -353.084015 -0.000000 -31.9880806620 -120.88217999200 -351.255005 -0.000000 -31.9880902120 -120.88217803900 -349.152008 -0.000000 -31.9880998580 -120.88217577800 -348.131989 -0.000000 -31.9881093870 -120.88217321900 -349.188995 -0.000000 -31.9881191110 -120.88217095500 -350.966003 -0.000000 -31.9881286160 -120.88216888500 -351.066010 -0.000000 -31.9881382200 -120.88216715200 -350.924988 -0.000000 -31.9881479280 -120.88216542200 -352.434998 -0.000000 -31.9881575040 -120.88216374500 -350.768005 -0.000000 -31.9881673360 -120.88216150700 -349.588989 -0.000000 -31.9881768640 -120.88215932800 -348.208008 -0.000000 -31.9881863110 -120.88215654500 -345.572998 -0.000000 -31.9881957480 -120.88215351400 -344.291992 -0.000000 -31.9882052170 -120.88215036800 -345.446991 -0.000000 -31.9882146060 -120.88214748100 -349.652008 -0.000000 -31.9882243120 -120.88214539600 -350.656006 -0.000000 -31.9882338760 -120.88214350300 -351.721008 -0.000000 -31.9882435670 -120.88214168400 -350.165009 -0.000000 -31.9882531000 -120.88213914500 -346.134003 -0.000000 -31.9882626280 -120.88213654900 -348.639008 -0.000000 -31.9882721350 -120.88213424000 -349.625000 -0.000000 -31.9882818070 -120.88213216500 -352.407013 -0.000000 -31.9882914790 -120.88213071100 -355.337006 -0.000000 -31.9883013140 -120.88212979800 -355.875000 -0.000000 -31.9883111540 -120.88212892000 -356.704987 -0.000000 -31.9883209290 -120.88212770800 -353.306000 -0.000000 -31.9883306260 -120.88212631400 -352.618011 -0.000000 -31.9883402150 -120.88212463300 -351.596985 -0.000000 -31.9883497810 -120.88212293200 -351.377991 -0.000000 -31.9883596780 -120.88212104100 -351.316010 -0.000000 -31.9883692300 -120.88211908600 -351.355011 -0.000000 -31.9883790050 -120.88211742300 -352.256012 -0.000000 -31.9883887150 -120.88211585500 -355.808990 -0.000000 -31.9883982530 -120.88211685700 -31.158001 -0.000000 -31.9884051090 -120.88212498800 -71.333000 -0.000000 -31.9884059610 -120.88213648200 -114.296997 -0.000000 -31.9883999470 -120.88214557200 -156.212006 -0.000000 -31.9883906740 -120.88214833700 -172.772003 -0.000000 -31.9883810250 -120.88215021500 -169.848007 -0.000000 -31.9883714990 -120.88215247800 -168.113007 -0.000000 -31.9883618870 -120.88215498300 -167.264008 -0.000000 -31.9883523490 -120.88215771300 -165.796005 -0.000000 -31.9883427950 -120.88216086500 -164.755997 -0.000000 -31.9883334650 -120.88216420800 -164.119995 -0.000000 -31.9883240410 -120.88216733300 -165.322998 -0.000000 -31.9883143990 -120.88217063300 -166.615997 -0.000000 -31.9883049760 -120.88217341200 -167.934998 -0.000000 -31.9882952900 -120.88217605500 -168.811005 -0.000000 -31.9882856680 -120.88217851600 -168.339996 -0.000000 -31.9882761020 -120.88218114100 -166.494995 -0.000000 -31.9882667370 -120.88218407500 -164.511002 -0.000000 -31.9882571930 -120.88218708900 -169.563995 -0.000000 -31.9882475750 -120.88218922300 -170.731995 -0.000000 -31.9882379920 -120.88219114800 -171.710007 -0.000000 -31.9882283010 -120.88219291200 -172.697998 -0.000000 -31.9882186950 -120.88219456800 -170.154007 -0.000000 -31.9882091750 -120.88219678700 -169.270996 -0.000000 -31.9881996680 -120.88219911100 -169.399002 -0.000000 -31.9881900310 -120.88220087400 -175.860992 -0.000000 -31.9881801400 -120.88220208500 -176.024002 -0.000000 -31.9881703760 -120.88220302800 -171.934006 -0.000000 -31.9881608010 -120.88220495000 -170.425995 -0.000000 -31.9881513270 -120.88220718700 -169.738007 -0.000000 -31.9881418710 -120.88220955700 -169.253006 -0.000000 -31.9881323390 -120.88221193400 -168.343002 -0.000000 -31.9881228200 -120.88221443800 -167.669006 -0.000000 -31.9881132920 -120.88221692900 -170.447998 -0.000000 -31.9881036200 -120.88221886200 -170.994003 -0.000000 -31.9880940790 -120.88222141300 -161.871002 -0.000000 -31.9880846190 -120.88222468400 -166.559006 -0.000000 -31.9880751580 -120.88222720600 -170.229004 -0.000000 -31.9880653400 -120.88222928400 -171.119003 -0.000000 -31.9880556590 -120.88223111800 -171.759995 -0.000000 -31.9880462150 -120.88223291100 -172.399002 +32.0309533890 +120.91508666000 +175.382996 0.000000 diff --git a/routes/gps_load_1772775503834.txt b/routes/gps_load_1772775503834.txt new file mode 100644 index 0000000..7ba0505 --- /dev/null +++ b/routes/gps_load_1772775503834.txt @@ -0,0 +1,1504 @@ +32.0311268390 +120.91525576500 +351.200989 +0.000000 +32.0311358640 +120.91525406300 +350.641998 +0.000000 +32.0311450950 +120.91525228700 +349.764008 +0.000000 +32.0311542620 +120.91525022800 +349.058990 +0.000000 +32.0311638870 +120.91524819800 +350.600006 +0.000000 +32.0311737270 +120.91524627000 +349.490997 +0.000000 +32.0311833510 +120.91524434500 +351.678986 +0.000000 +32.0311930890 +120.91524258700 +351.847992 +0.000000 +32.0312029010 +120.91524074400 +350.088013 +0.000000 +32.0312126310 +120.91523873200 +352.484009 +0.000000 +32.0312223740 +120.91523759400 +354.640991 +0.000000 +32.0312322670 +120.91523639200 +353.023010 +0.000000 +32.0312420180 +120.91523487300 +350.579987 +0.000000 +32.0312517660 +120.91523304400 +352.369995 +0.000000 +32.0312614090 +120.91523173500 +353.885010 +0.000000 +32.0312712760 +120.91523057000 +352.933990 +0.000000 +32.0312810070 +120.91522911200 +352.489990 +0.000000 +32.0312907690 +120.91522754800 +352.248993 +0.000000 +32.0313005280 +120.91522613800 +354.358002 +0.000000 +32.0313103060 +120.91522505100 +356.533997 +0.000000 +32.0313200990 +120.91522440500 +356.433014 +0.000000 +32.0313298100 +120.91522346900 +355.177002 +0.000000 +32.0313395350 +120.91522234800 +355.464996 +0.000000 +32.0313492630 +120.91522171400 +357.886993 +0.000000 +32.0313590190 +120.91522144700 +358.977997 +0.000000 +32.0313688520 +120.91522103400 +357.863007 +0.000000 +32.0313786960 +120.91522060100 +357.303009 +0.000000 +32.0313885120 +120.91522017200 +358.315002 +0.000000 +32.0313984310 +120.91521981900 +358.130005 +0.000000 +32.0314082260 +120.91521944000 +358.667999 +0.000000 +32.0314179550 +120.91521926600 +359.820007 +0.000000 +32.0314277120 +120.91521910900 +358.964996 +0.000000 +32.0314374610 +120.91521875800 +357.007996 +0.000000 +32.0314472900 +120.91521820900 +356.542999 +0.000000 +32.0314569580 +120.91521748400 +357.045013 +0.000000 +32.0314668850 +120.91521695900 +358.697998 +0.000000 +32.0314766670 +120.91521665600 +358.513000 +0.000000 +32.0314865850 +120.91521639500 +359.957001 +0.000000 +32.0314962330 +120.91521638800 +358.450989 +0.000000 +32.0315061290 +120.91521602400 +357.783997 +0.000000 +32.0315158180 +120.91521564100 +358.657990 +0.000000 +32.0315256010 +120.91521535100 +359.076996 +0.000000 +32.0315354780 +120.91521555200 +3.186000 +0.000000 +32.0315452990 +120.91521625600 +4.419000 +0.000000 +32.0315549360 +120.91521727100 +7.257000 +0.000000 +32.0315645600 +120.91521901600 +11.372000 +0.000000 +32.0315741340 +120.91522143500 +14.585000 +0.000000 +32.0315834810 +120.91522478800 +18.712999 +0.000000 +32.0315926240 +120.91522885100 +22.924999 +0.000000 +32.0316016510 +120.91523357600 +26.566999 +0.000000 +32.0316102650 +120.91523906500 +31.091000 +0.000000 +32.0316185940 +120.91524506700 +34.172001 +0.000000 +32.0316262960 +120.91525207500 +40.716999 +0.000000 +32.0316331840 +120.91525986800 +48.903999 +0.000000 +32.0316393540 +120.91526875100 +57.741001 +0.000000 +32.0316441480 +120.91527888300 +65.583000 +0.000000 +32.0316479600 +120.91528948400 +73.211998 +0.000000 +32.0316504480 +120.91530085100 +75.804001 +0.000000 +32.0316526530 +120.91531193700 +79.484001 +0.000000 +32.0316541180 +120.91532325700 +83.245003 +0.000000 +32.0316551920 +120.91533470300 +85.301003 +0.000000 +32.0316560980 +120.91534640700 +84.672997 +0.000000 +32.0316568460 +120.91535784500 +87.633003 +0.000000 +32.0316572270 +120.91536942100 +87.653999 +0.000000 +32.0316576220 +120.91538101500 +86.367996 +0.000000 +32.0316581330 +120.91539253500 +86.934998 +0.000000 +32.0316587070 +120.91540387500 +86.475998 +0.000000 +32.0316594710 +120.91541541600 +85.410004 +0.000000 +32.0316604510 +120.91542692400 +83.876999 +0.000000 +32.0316614840 +120.91543832800 +85.523003 +0.000000 +32.0316622230 +120.91544977800 +86.857002 +0.000000 +32.0316627640 +120.91546130400 +87.435997 +0.000000 +32.0316632410 +120.91547280100 +86.438004 +0.000000 +32.0316638640 +120.91548425100 +88.168999 +0.000000 +32.0316641870 +120.91549584600 +87.504997 +0.000000 +32.0316646590 +120.91550738000 +87.028000 +0.000000 +32.0316652230 +120.91551885500 +87.251999 +0.000000 +32.0316656330 +120.91553050400 +88.780998 +0.000000 +32.0316658880 +120.91554190300 +87.550003 +0.000000 +32.0316663630 +120.91555345800 +86.900002 +0.000000 +32.0316670140 +120.91556494100 +85.163002 +0.000000 +32.0316680390 +120.91557643800 +84.494003 +0.000000 +32.0316688920 +120.91558788500 +85.567001 +0.000000 +32.0316696380 +120.91559939700 +85.837997 +0.000000 +32.0316702670 +120.91561089400 +87.194000 +0.000000 +32.0316707930 +120.91562246200 +87.295998 +0.000000 +32.0316712460 +120.91563395600 +86.987000 +0.000000 +32.0316719250 +120.91564549400 +86.402000 +0.000000 +32.0316725450 +120.91565696500 +87.125999 +0.000000 +32.0316731190 +120.91566852900 +86.824997 +0.000000 +32.0316736120 +120.91568011300 +87.460999 +0.000000 +32.0316741160 +120.91569164900 +86.704002 +0.000000 +32.0316747250 +120.91570316900 +86.259003 +0.000000 +32.0316754640 +120.91571457100 +84.820999 +0.000000 +32.0316762880 +120.91572614500 +85.558998 +0.000000 +32.0316770240 +120.91573762600 +87.431000 +0.000000 +32.0316774160 +120.91574920000 +87.045998 +0.000000 +32.0316780290 +120.91576069300 +86.677002 +0.000000 +32.0316785950 +120.91577216100 +86.385002 +0.000000 +32.0316791970 +120.91578366400 +87.639000 +0.000000 +32.0316795780 +120.91579513900 +86.639999 +0.000000 +32.0316801690 +120.91580667100 +85.788002 +0.000000 +32.0316808390 +120.91581816500 +85.309998 +0.000000 +32.0316813140 +120.91582970200 +88.454002 +0.000000 +32.0316817320 +120.91584124300 +87.527000 +0.000000 +32.0316821650 +120.91585268000 +87.245003 +0.000000 +32.0316826470 +120.91586427300 +87.281998 +0.000000 +32.0316829260 +120.91587587000 +88.882004 +0.000000 +32.0316833340 +120.91588732300 +87.293999 +0.000000 +32.0316838380 +120.91589881300 +86.815002 +0.000000 +32.0316845620 +120.91591027600 +86.512001 +0.000000 +32.0316849870 +120.91592181400 +87.751999 +0.000000 +32.0316854300 +120.91593332900 +86.676003 +0.000000 +32.0316860270 +120.91594483100 +85.189003 +0.000000 +32.0316869600 +120.91595633100 +84.068001 +0.000000 +32.0316880690 +120.91596767500 +85.402000 +0.000000 +32.0316888580 +120.91597918600 +85.348000 +0.000000 +32.0316897480 +120.91599076400 +84.634003 +0.000000 +32.0316903360 +120.91600243300 +86.661003 +0.000000 +32.0316908500 +120.91601393300 +88.212997 +0.000000 +32.0316913950 +120.91602523900 +87.085999 +0.000000 +32.0316918490 +120.91603680600 +87.335999 +0.000000 +32.0316922490 +120.91604831900 +86.977997 +0.000000 +32.0316927530 +120.91605986800 +87.379997 +0.000000 +32.0316930400 +120.91607147600 +88.379997 +0.000000 +32.0316933820 +120.91608300800 +87.214996 +0.000000 +32.0316938520 +120.91609450500 +86.153000 +0.000000 +32.0316946680 +120.91610593300 +85.669998 +0.000000 +32.0316953990 +120.91611747200 +86.299004 +0.000000 +32.0316961770 +120.91612884300 +86.158997 +0.000000 +32.0316967480 +120.91614041000 +85.536003 +0.000000 +32.0316974590 +120.91615194100 +86.978996 +0.000000 +32.0316979290 +120.91616351500 +89.746002 +0.000000 +32.0316978970 +120.91617514600 +88.792000 +0.000000 +32.0316980890 +120.91618658300 +87.537003 +0.000000 +32.0316986020 +120.91619806400 +85.975998 +0.000000 +32.0316993930 +120.91620955200 +84.740997 +0.000000 +32.0317002280 +120.91622112700 +84.759003 +0.000000 +32.0317010100 +120.91623256900 +86.879997 +0.000000 +32.0317014210 +120.91624407200 +87.138000 +0.000000 +32.0317019870 +120.91625541400 +86.027000 +0.000000 +32.0317027230 +120.91626683800 +86.204002 +0.000000 +32.0317031770 +120.91627834500 +86.978996 +0.000000 +32.0317036720 +120.91628988300 +86.286003 +0.000000 +32.0317043780 +120.91630145800 +85.544998 +0.000000 +32.0317051060 +120.91631294900 +85.778999 +0.000000 +32.0317059020 +120.91632433700 +84.320000 +0.000000 +32.0317067380 +120.91633587300 +87.614998 +0.000000 +32.0317070990 +120.91634743400 +88.387001 +0.000000 +32.0317071230 +120.91635891600 +89.309998 +0.000000 +32.0317073260 +120.91637037200 +88.704002 +0.000000 +32.0317076650 +120.91638194300 +86.775002 +0.000000 +32.0317082230 +120.91639345000 +85.765999 +0.000000 +32.0317090220 +120.91640484000 +86.435997 +0.000000 +32.0317094310 +120.91641642800 +87.705002 +0.000000 +32.0317098240 +120.91642796900 +88.653000 +0.000000 +32.0317099710 +120.91643955300 +89.435997 +0.000000 +32.0317101410 +120.91645106500 +86.487000 +0.000000 +32.0317107800 +120.91646240500 +85.637001 +0.000000 +32.0317114340 +120.91647403900 +86.397003 +0.000000 +32.0317119410 +120.91648564300 +87.653000 +0.000000 +32.0317123890 +120.91649717500 +87.911003 +0.000000 +32.0317127550 +120.91650858600 +88.119003 +0.000000 +32.0317132270 +120.91652004000 +86.815002 +0.000000 +32.0317139580 +120.91653157000 +85.869003 +0.000000 +32.0317145840 +120.91654314300 +87.247002 +0.000000 +32.0317150820 +120.91655458200 +87.318001 +0.000000 +32.0317153800 +120.91656608400 +88.285004 +0.000000 +32.0317156980 +120.91657740000 +88.723999 +0.000000 +32.0317159040 +120.91658890800 +88.389999 +0.000000 +32.0317164620 +120.91660050200 +86.560997 +0.000000 +32.0317170650 +120.91661191600 +87.724998 +0.000000 +32.0317173710 +120.91662344600 +87.577003 +0.000000 +32.0317179130 +120.91663498000 +85.700996 +0.000000 +32.0317186600 +120.91664652800 +85.003998 +0.000000 +32.0317195840 +120.91665786900 +84.500000 +0.000000 +32.0317204650 +120.91666938200 +85.574997 +0.000000 +32.0317210720 +120.91668078800 +86.974998 +0.000000 +32.0317214430 +120.91669244800 +86.890999 +0.000000 +32.0317220260 +120.91670394300 +85.501999 +0.000000 +32.0317227490 +120.91671540200 +86.318001 +0.000000 +32.0317230160 +120.91672703400 +89.153999 +0.000000 +32.0317232480 +120.91673857800 +87.346001 +0.000000 +32.0317236040 +120.91675006800 +87.934998 +0.000000 +32.0317239170 +120.91676154600 +89.386002 +0.000000 +32.0317240650 +120.91677303400 +88.120003 +0.000000 +32.0317243630 +120.91678458900 +88.558998 +0.000000 +32.0317245880 +120.91679617200 +88.205002 +0.000000 +32.0317250500 +120.91680773300 +87.894997 +0.000000 +32.0317253160 +120.91681935700 +89.550003 +0.000000 +32.0317250290 +120.91683078900 +93.512001 +0.000000 +32.0317240710 +120.91684222900 +98.660004 +0.000000 +32.0317222080 +120.91685347800 +103.939003 +0.000000 +32.0317195020 +120.91686466400 +108.880997 +0.000000 +32.0317160110 +120.91687532500 +113.930000 +0.000000 +32.0317118080 +120.91688556800 +119.887001 +0.000000 +32.0317065780 +120.91689561100 +122.349998 +0.000000 +32.0317014410 +120.91690526700 +123.762001 +0.000000 +32.0316955730 +120.91691460300 +130.848007 +0.000000 +32.0316889600 +120.91692307900 +134.529007 +0.000000 +32.0316818980 +120.91693115500 +138.908997 +0.000000 +32.0316743080 +120.91693830800 +145.520004 +0.000000 +32.0316659080 +120.91694426700 +155.738007 +0.000000 +32.0316567300 +120.91694842300 +164.457001 +0.000000 +32.0316472440 +120.91695107100 +169.539993 +0.000000 +32.0316376660 +120.91695328900 +169.608994 +0.000000 +32.0316280030 +120.91695549300 +171.987000 +0.000000 +32.0316182500 +120.91695666100 +176.348007 +0.000000 +32.0316085150 +120.91695760200 +175.725006 +0.000000 +32.0315987190 +120.91695866400 +174.037994 +0.000000 +32.0315889780 +120.91695967900 +177.197998 +0.000000 +32.0315790800 +120.91696037300 +176.809006 +0.000000 +32.0315693260 +120.91696095300 +177.742996 +0.000000 +32.0315594850 +120.91696134000 +176.296005 +0.000000 +32.0315497290 +120.91696216600 +176.145996 +0.000000 +32.0315399400 +120.91696305000 +177.061996 +0.000000 +32.0315301510 +120.91696343300 +177.690994 +0.000000 +32.0315203380 +120.91696402700 +176.800995 +0.000000 +32.0315105290 +120.91696470700 +175.332993 +0.000000 +32.0315008240 +120.91696565900 +176.235001 +0.000000 +32.0314910070 +120.91696616100 +177.065994 +0.000000 +32.0314810830 +120.91696687100 +176.255997 +0.000000 +32.0314713570 +120.91696747000 +177.535995 +0.000000 +32.0314615420 +120.91696786700 +179.511002 +0.000000 +32.0314516530 +120.91696786100 +180.281006 +0.000000 +32.0314418160 +120.91696792800 +179.447006 +0.000000 +32.0314320110 +120.91696817000 +177.959000 +0.000000 +32.0314221940 +120.91696854100 +179.283997 +0.000000 +32.0314124110 +120.91696836000 +183.031998 +0.000000 +32.0314027060 +120.91696752100 +186.619995 +0.000000 +32.0313930120 +120.91696586100 +189.893005 +0.000000 +32.0313833610 +120.91696377700 +191.697006 +0.000000 +32.0313738770 +120.91696128000 +193.735001 +0.000000 +32.0313645430 +120.91695819000 +199.389999 +0.000000 +32.0313555570 +120.91695404500 +205.578995 +0.000000 +32.0313468760 +120.91694883400 +210.940994 +0.000000 +32.0313386710 +120.91694265000 +216.673996 +0.000000 +32.0313310280 +120.91693533600 +223.843994 +0.000000 +32.0313242360 +120.91692704000 +231.317993 +0.000000 +32.0313184600 +120.91691782600 +238.044006 +0.000000 +32.0313134620 +120.91690791500 +243.802994 +0.000000 +32.0313093330 +120.91689747000 +251.294006 +0.000000 +32.0313066110 +120.91688646400 +258.328003 +0.000000 +32.0313048340 +120.91687498800 +261.674988 +0.000000 +32.0313035600 +120.91686356700 +264.627014 +0.000000 +32.0313026800 +120.91685201600 +265.618988 +0.000000 +32.0313018910 +120.91684052200 +266.809998 +0.000000 +32.0313013430 +120.91682900200 +266.763000 +0.000000 +32.0313007000 +120.91681750900 +267.016998 +0.000000 +32.0313001980 +120.91680595500 +269.110992 +0.000000 +32.0313001230 +120.91679449100 +269.704010 +0.000000 +32.0312998940 +120.91678292300 +267.980011 +0.000000 +32.0312993690 +120.91677146800 +265.885010 +0.000000 +32.0312984540 +120.91676006400 +264.990997 +0.000000 +32.0312975400 +120.91674855600 +265.175995 +0.000000 +32.0312967620 +120.91673710200 +265.160004 +0.000000 +32.0312959990 +120.91672544600 +265.877991 +0.000000 +32.0312953600 +120.91671388800 +266.141998 +0.000000 +32.0312945220 +120.91670256800 +266.225006 +0.000000 +32.0312937450 +120.91669097800 +265.868988 +0.000000 +32.0312931840 +120.91667935400 +267.609009 +0.000000 +32.0312928530 +120.91666779900 +267.765991 +0.000000 +32.0312923340 +120.91665623000 +267.061005 +0.000000 +32.0312917330 +120.91664472100 +266.945007 +0.000000 +32.0312911850 +120.91663321200 +266.109985 +0.000000 +32.0312904800 +120.91662172900 +265.506989 +0.000000 +32.0312897630 +120.91661023300 +266.420990 +0.000000 +32.0312891900 +120.91659868800 +267.227997 +0.000000 +32.0312887140 +120.91658713300 +268.377991 +0.000000 +32.0312883100 +120.91657562200 +267.527008 +0.000000 +32.0312879960 +120.91656403100 +268.278015 +0.000000 +32.0312876000 +120.91655254100 +268.076996 +0.000000 +32.0312870410 +120.91654102100 +267.058990 +0.000000 +32.0312863700 +120.91652957500 +265.742004 +0.000000 +32.0312857490 +120.91651808100 +267.278015 +0.000000 +32.0312854260 +120.91650662100 +269.851013 +0.000000 +32.0312853800 +120.91649503100 +269.605988 +0.000000 +32.0312852820 +120.91648346900 +269.039001 +0.000000 +32.0312850640 +120.91647195200 +267.854004 +0.000000 +32.0312845760 +120.91646038900 +266.450012 +0.000000 +32.0312840070 +120.91644884800 +267.704010 +0.000000 +32.0312836010 +120.91643738100 +267.389008 +0.000000 +32.0312829720 +120.91642586200 +266.502014 +0.000000 +32.0312822790 +120.91641437600 +265.726990 +0.000000 +32.0312816160 +120.91640289200 +267.501007 +0.000000 +32.0312812650 +120.91639134100 +266.362000 +0.000000 +32.0312806960 +120.91637986600 +267.095001 +0.000000 +32.0312801910 +120.91636839000 +267.342010 +0.000000 +32.0312796230 +120.91635687800 +266.429993 +0.000000 +32.0312789610 +120.91634540500 +267.403992 +0.000000 +32.0312785340 +120.91633389400 +267.032990 +0.000000 +32.0312781160 +120.91632226700 +267.316986 +0.000000 +32.0312775380 +120.91631083800 +266.498993 +0.000000 +32.0312768030 +120.91629925100 +265.627014 +0.000000 +32.0312759250 +120.91628783200 +265.261993 +0.000000 +32.0312750890 +120.91627634200 +267.109009 +0.000000 +32.0312747720 +120.91626486800 +268.681000 +0.000000 +32.0312745010 +120.91625325600 +268.972992 +0.000000 +32.0312742470 +120.91624174000 +268.423004 +0.000000 +32.0312739090 +120.91623020800 +267.104004 +0.000000 +32.0312734520 +120.91621868500 +267.759003 +0.000000 +32.0312729470 +120.91620723800 +266.567993 +0.000000 +32.0312723560 +120.91619561700 +267.053986 +0.000000 +32.0312718570 +120.91618415200 +268.658997 +0.000000 +32.0312717200 +120.91617265200 +270.230988 +0.000000 +32.0312716250 +120.91616112400 +268.550995 +0.000000 +32.0312713620 +120.91614964500 +268.270996 +0.000000 +32.0312709040 +120.91613814000 +267.669006 +0.000000 +32.0312705030 +120.91612655700 +266.584015 +0.000000 +32.0312698930 +120.91611496100 +265.946991 +0.000000 +32.0312691820 +120.91610340000 +264.898010 +0.000000 +32.0312682210 +120.91609197100 +264.683014 +0.000000 +32.0312671960 +120.91608049900 +264.487000 +0.000000 +32.0312663240 +120.91606902100 +265.791992 +0.000000 +32.0312656070 +120.91605755800 +267.566010 +0.000000 +32.0312652070 +120.91604601500 +268.882996 +0.000000 +32.0312650760 +120.91603452100 +269.811005 +0.000000 +32.0312649830 +120.91602306700 +268.411987 +0.000000 +32.0312645850 +120.91601164900 +267.523010 +0.000000 +32.0312639210 +120.91600016800 +265.471985 +0.000000 +32.0312630520 +120.91598864700 +264.675995 +0.000000 +32.0312620550 +120.91597716100 +265.431000 +0.000000 +32.0312613440 +120.91596570800 +266.118988 +0.000000 +32.0312607380 +120.91595417700 +266.509003 +0.000000 +32.0312602370 +120.91594257300 +267.631012 +0.000000 +32.0312597680 +120.91593102000 +266.653015 +0.000000 +32.0312591100 +120.91591952500 +265.187012 +0.000000 +32.0312582490 +120.91590805500 +265.618011 +0.000000 +32.0312575610 +120.91589661300 +266.688995 +0.000000 +32.0312570480 +120.91588503700 +267.390991 +0.000000 +32.0312565080 +120.91587354300 +265.964996 +0.000000 +32.0312557150 +120.91586209700 +264.335999 +0.000000 +32.0312547140 +120.91585078500 +266.040985 +0.000000 +32.0312540750 +120.91583923300 +267.484009 +0.000000 +32.0312538630 +120.91582772800 +268.785004 +0.000000 +32.0312537870 +120.91581620600 +268.953003 +0.000000 +32.0312534070 +120.91580457800 +268.169006 +0.000000 +32.0312530650 +120.91579320100 +268.240997 +0.000000 +32.0312526640 +120.91578164300 +267.519012 +0.000000 +32.0312522260 +120.91577014700 +266.949005 +0.000000 +32.0312516010 +120.91575862900 +265.829987 +0.000000 +32.0312510810 +120.91574704100 +266.635010 +0.000000 +32.0312504680 +120.91573551800 +268.760010 +0.000000 +32.0312501460 +120.91572407400 +268.502991 +0.000000 +32.0312495930 +120.91571265800 +266.838013 +0.000000 +32.0312489640 +120.91570114300 +265.885010 +0.000000 +32.0312482120 +120.91568962000 +267.608002 +0.000000 +32.0312478050 +120.91567802300 +268.230988 +0.000000 +32.0312472580 +120.91566658000 +265.919006 +0.000000 +32.0312466130 +120.91565501100 +267.670013 +0.000000 +32.0312463030 +120.91564343000 +268.558990 +0.000000 +32.0312461800 +120.91563191900 +269.487000 +0.000000 +32.0312460100 +120.91562048500 +268.140015 +0.000000 +32.0312455460 +120.91560893400 +268.131012 +0.000000 +32.0312453380 +120.91559737200 +269.066986 +0.000000 +32.0312450950 +120.91558582000 +268.937988 +0.000000 +32.0312446690 +120.91557422800 +267.480988 +0.000000 +32.0312439890 +120.91556279700 +266.338989 +0.000000 +32.0312433030 +120.91555133000 +265.626007 +0.000000 +32.0312425500 +120.91553992400 +265.398987 +0.000000 +32.0312419250 +120.91552843600 +266.894012 +0.000000 +32.0312412560 +120.91551679300 +268.644989 +0.000000 +32.0312412390 +120.91550523400 +269.717010 +0.000000 +32.0312411690 +120.91549368100 +269.934998 +0.000000 +32.0312411550 +120.91548226100 +271.459015 +0.000000 +32.0312412540 +120.91547075200 +270.494995 +0.000000 +32.0312412650 +120.91545926700 +269.376007 +0.000000 +32.0312410370 +120.91544774200 +267.906006 +0.000000 +32.0312407200 +120.91543621700 +266.912994 +0.000000 +32.0312400470 +120.91542464200 +267.033997 +0.000000 +32.0312397620 +120.91541297000 +267.848999 +0.000000 +32.0312392360 +120.91540147300 +266.020996 +0.000000 +32.0312385610 +120.91538990800 +264.669006 +0.000000 +32.0312378330 +120.91537841800 +267.381012 +0.000000 +32.0312373740 +120.91536781100 +268.739990 +0.000000 +32.0312371800 +120.91535721600 +268.161011 +0.000000 diff --git a/routes/gps_load_1776133105337.txt b/routes/gps_load_1776133105337.txt new file mode 100644 index 0000000..d023f46 --- /dev/null +++ b/routes/gps_load_1776133105337.txt @@ -0,0 +1,4 @@ +32.0306440200 +120.91487580900 +358.662994 +0.000000 diff --git a/routes/gps_load_1776403621977.txt b/routes/gps_load_1776403621977.txt new file mode 100644 index 0000000..e69de29 diff --git a/routes/gps_load_1776403666678.txt b/routes/gps_load_1776403666678.txt new file mode 100644 index 0000000..23c271f --- /dev/null +++ b/routes/gps_load_1776403666678.txt @@ -0,0 +1,264 @@ +32.0309108070 +120.91507417100 +155.817001 +0.000000 +32.0309020700 +120.91507871100 +155.617004 +0.000000 +32.0308925710 +120.91508315600 +156.106003 +0.000000 +32.0308838810 +120.91508811200 +159.794998 +0.000000 +32.0308750760 +120.91509269300 +156.994003 +0.000000 +32.0308662720 +120.91509687200 +154.442001 +0.000000 +32.0308572580 +120.91510140100 +154.037003 +0.000000 +32.0308493400 +120.91510792100 +149.167007 +0.000000 +32.0308410420 +120.91511352700 +148.658005 +0.000000 +32.0308330410 +120.91511914800 +147.304001 +0.000000 +32.0308248540 +120.91512524500 +149.287994 +0.000000 +32.0308159770 +120.91513145400 +150.360001 +0.000000 +32.0308082140 +120.91513700300 +147.880005 +0.000000 +32.0308008210 +120.91514308400 +140.037994 +0.000000 +32.0307936440 +120.91515072000 +132.856003 +0.000000 +32.0307878360 +120.91515897500 +121.110001 +0.000000 +32.0307834830 +120.91516829500 +112.790001 +0.000000 +32.0307799510 +120.91517868100 +108.697998 +0.000000 +32.0307772600 +120.91518915200 +102.210999 +0.000000 +32.0307758630 +120.91520013900 +90.101997 +0.000000 +32.0307765330 +120.91521115700 +76.972000 +0.000000 +32.0307792340 +120.91522159800 +61.636002 +0.000000 +32.0307846230 +120.91523071400 +43.868000 +0.000000 +32.0307924840 +120.91523764700 +25.950001 +0.000000 +32.0308016330 +120.91524212700 +19.583000 +0.000000 +32.0308107830 +120.91524524100 +6.474000 +0.000000 +32.0308204550 +120.91524576100 +355.416992 +0.000000 +32.0308296190 +120.91524483600 +356.260010 +0.000000 +32.0308395780 +120.91524464400 +0.199000 +0.000000 +32.0308489180 +120.91524451800 +0.015000 +0.000000 +32.0308585990 +120.91524434700 +359.226990 +0.000000 +32.0308694160 +120.91524423900 +358.707001 +0.000000 +32.0308791190 +120.91524398500 +358.138000 +0.000000 +32.0308889120 +120.91524350400 +357.056000 +0.000000 +32.0308986090 +120.91524281800 +356.694000 +0.000000 +32.0309080990 +120.91524194800 +357.459991 +0.000000 +32.0309170830 +120.91524129800 +357.404999 +0.000000 +32.0309264030 +120.91524072500 +356.957001 +0.000000 +32.0309357950 +120.91524006000 +357.480011 +0.000000 +32.0309463390 +120.91523904200 +357.307007 +0.000000 +32.0309554710 +120.91523855400 +351.339996 +0.000000 +32.0309652710 +120.91523615700 +346.320007 +0.000000 +32.0309748560 +120.91523298200 +345.138000 +0.000000 +32.0309836220 +120.91523009100 +345.750000 +0.000000 +32.0309944360 +120.91522686300 +346.925995 +0.000000 +32.0310042540 +120.91522422300 +345.520996 +0.000000 +32.0310132960 +120.91522074900 +333.592987 +0.000000 +32.0310218240 +120.91521520700 +327.031006 +0.000000 +32.0310292350 +120.91520841800 +311.174988 +0.000000 +32.0310347830 +120.91519920300 +294.627014 +0.000000 +32.0310382010 +120.91518880900 +287.684998 +0.000000 +32.0310407910 +120.91517767000 +278.509003 +0.000000 +32.0310416520 +120.91516486000 +268.722992 +0.000000 +32.0310406100 +120.91515351800 +256.851013 +0.000000 +32.0310381420 +120.91514246100 +254.175995 +0.000000 +32.0310349300 +120.91513156600 +247.996994 +0.000000 +32.0310300470 +120.91512051800 +232.988998 +0.000000 +32.0310238220 +120.91511187700 +221.505997 +0.000000 +32.0310162570 +120.91510478900 +216.899002 +0.000000 +32.0310082200 +120.91509815500 +213.102005 +0.000000 +32.0310000010 +120.91509229000 +204.339005 +0.000000 +32.0309901480 +120.91508807900 +193.214005 +0.000000 +32.0309811650 +120.91508645100 +183.498993 +0.000000 +32.0309719130 +120.91508578100 +179.050003 +0.000000 +32.0309626190 +120.91508615600 +176.710999 +0.000000 +32.0309533890 +120.91508666000 +175.382996 +0.000000 diff --git a/src/base/mc/include/mc/can_struct.h b/src/base/mc/include/mc/can_struct.h index ea69c94..6f242fc 100644 --- a/src/base/mc/include/mc/can_struct.h +++ b/src/base/mc/include/mc/can_struct.h @@ -16,7 +16,7 @@ struct can_BMS_query_0x100 // 报文ID与控制标志定义 static constexpr uint32_t CMD_ID = 0x100; // 标准帧ID static constexpr bool EXT_FLAG = false; // 11位标准帧 - static constexpr bool RTR_FLAG = true; // 普通数据帧(非远程帧) + static constexpr bool RTR_FLAG = false; // 普通数据帧(非远程帧) static constexpr uint8_t DLC = 8; // 数据长度为8字节 // 数据区(主机查询时通常发送全0) @@ -43,7 +43,7 @@ struct can_BMS_query_0x101 // 报文ID与控制标志定义 static constexpr uint32_t CMD_ID = 0x101; // 标准帧ID static constexpr bool EXT_FLAG = false; // 11位标准帧 - static constexpr bool RTR_FLAG = true; // 普通数据帧(非远程帧) + static constexpr bool RTR_FLAG = false; // 普通数据帧(非远程帧) static constexpr uint8_t DLC = 8; // 数据长度为8字节 // 数据区(主机查询时通常发送全0) diff --git a/src/common/launch_system/launch/start_all.launch.py b/src/common/launch_system/launch/start_all.launch.py index 802c512..7aafe5f 100644 --- a/src/common/launch_system/launch/start_all.launch.py +++ b/src/common/launch_system/launch/start_all.launch.py @@ -1,203 +1,187 @@ from launch import LaunchDescription from launch_ros.actions import Node -from launch.actions import IncludeLaunchDescription, TimerAction -from launch.launch_description_sources import PythonLaunchDescriptionSource +from launch.actions import TimerAction, ExecuteProcess from ament_index_python.packages import get_package_share_directory import os - def generate_launch_description(): - # 获取各包的路径 - rslidar_sdk_path = get_package_share_directory("rslidar_sdk") - fu_path = get_package_share_directory("fu") + rslidar_sdk_dir = get_package_share_directory("rslidar_sdk") + pointcloud_merger_dir = get_package_share_directory("rslidar_pointcloud_merger") + fu_dir = get_package_share_directory("fu") - # ===================== 按顺序延时启动所有节点 ===================== - # 1. 车辆参数节点 (立即启动) - vehicle_params_node = Node( + vehicle_params = Node( package="vehicle_params", executable="vehicle_params_node", - name="vehicle_params_node", output="screen", - respawn=True, - respawn_delay=2, + prefix="taskset -c 0", ) - # 2. CAN遥控节点 (延时0.2s) - can_radio_ctrl_node = TimerAction( + can_radio_ctrl = TimerAction( period=0.2, - actions=[Node( - package="can_radio_ctrl", - executable="can_radio_ctrl_node", - name="can_radio_ctrl_node", - output="screen", - respawn=True, - respawn_delay=2, - )] - ) - # Node( - # package="radio_ctrl", - # executable="radio_ctrl_node", - # name="radio_ctrl_node", - # output="screen", - # respawn=True, - # respawn_delay=2, - # ), - - # 3. 远程控制节点 (延时0.4s) - remote_ctrl_node = TimerAction( - period=0.4, - actions=[Node( - package="remote_ctrl", - executable="remote_ctrl_node", - name="remote_ctrl_node", - output="screen", - respawn=True, - respawn_delay=2, - )] - ) - - # 4. MC电机控制节点 (延时0.6s) - mc_node = TimerAction( - period=0.6, - actions=[Node( - package="mc", - executable="mc_node", - name="mc_node", - output="screen", - respawn=True, - respawn_delay=2, - )] - ) - - # 5. 控制仲裁节点 (延时0.8s) - ctrl_arbiter_node = TimerAction( - period=0.8, - actions=[Node( - package="ctrl_arbiter", - executable="ctrl_arbiter_node", - name="ctrl_arbiter_node", - output="screen", - respawn=True, - respawn_delay=2, - )] - ) - - # 6. MQTT上报节点 (延时1.0s) —— 【关键:必须最后启动】 - mqtt_report_node = TimerAction( - period=1.0, - actions=[Node( - package="mqtt_report", - executable="mqtt_report_node", - name="mqtt_report_node", - output="screen", - respawn=True, - respawn_delay=2, - )] - ) - - # 7. 雷达启动 (延时1.5s) - lidar_launch = TimerAction( - period=1.5, - actions=[IncludeLaunchDescription( - PythonLaunchDescriptionSource( - os.path.join(rslidar_sdk_path, "launch", "start_double.launch.py") + actions=[ + Node( + package="can_radio_ctrl", + executable="can_radio_ctrl_node", + output="screen", + prefix="taskset -c 0", ) - )] - ) - - # 8. RTK定位节点 (延时2.0s) - rtk_node = TimerAction( - period=2.0, - actions=[Node( - package="rtk", - executable="rtk_node", - name="rtk_node", - parameters=[ - os.path.join( - get_package_share_directory("rtk"), "config", "rtk_params.yaml" - ) - ], - output="screen", - )] - ) - - # 9. 路径节点 (延时2.5s) - route_node = TimerAction( - period=2.5, - actions=[Node( - package="route", - executable="route_node", - name="route_node", - output="screen", - respawn=True, - respawn_delay=2, - )] - ) - - # 10. 订阅节点 (延时3.0s) - sub_node = TimerAction( - period=3.0, - actions=[Node( - package="sub", - executable="sub_node", - name="sub_node", - output="screen", - respawn=True, - respawn_delay=2, - )] - ) - - # 11. 任务管理节点 (延时3.5s) - task_manager_node = TimerAction( - period=3.5, - actions=[Node( - package="task_manager", - executable="task_manager_node", - name="task_manager_node", - output="screen", - respawn=True, - respawn_delay=2, - )] - ) - - # 12. 规划控制节点 (延时4.0s) - pl_node = TimerAction( - period=4.0, - actions=[Node( - package="pl", - executable="pl_node", - name="pl_node", - output="screen", - respawn=True, - respawn_delay=2, - )] - ) - - # 13. FU功能节点 (延时4.5s) - fu_launch = TimerAction( - period=4.5, - actions=[IncludeLaunchDescription( - PythonLaunchDescriptionSource( - os.path.join(fu_path, "launch", "fu.launch.py") - ) - )] - ) - - # ===================== 组装启动列表 ===================== - return LaunchDescription( - [ - vehicle_params_node, - can_radio_ctrl_node, - remote_ctrl_node, - mc_node, - ctrl_arbiter_node, - mqtt_report_node, - lidar_launch, - rtk_node, - route_node, - sub_node, - task_manager_node, - pl_node, - fu_launch, ] - ) \ No newline at end of file + ) + + remote_ctrl = TimerAction( + period=0.4, + actions=[ + Node( + package="remote_ctrl", + executable="remote_ctrl_node", + output="screen", + prefix="taskset -c 2", + ) + ] + ) + + mc = TimerAction( + period=0.6, + actions=[ + Node( + package="mc", + executable="mc_node", + output="screen", + prefix="taskset -c 1", + ) + ] + ) + + ctrl_arbiter = TimerAction( + period=0.8, + actions=[ + Node( + package="ctrl_arbiter", + executable="ctrl_arbiter_node", + output="screen", + prefix="taskset -c 1", + ) + ] + ) + + pl = TimerAction( + period=1.0, + actions=[ + Node( + package="pl", + executable="pl_node", + output="screen", + prefix="taskset -c 2", + ) + ] + ) + + mqtt_report = TimerAction( + period=1.3, + actions=[ + Node( + package="mqtt_report", + executable="mqtt_report_node", + output="screen", + prefix="taskset -c 6", + ) + ] + ) + + lidar_driver = TimerAction( + period=1.6, + actions=[ + ExecuteProcess( + cmd=["ros2", "launch", "rslidar_sdk", "start_double.launch.py"], + output="screen", + prefix="taskset -c 3,4", + ) + ] + ) + + pointcloud_merger = TimerAction( + period=3.1, + actions=[ + ExecuteProcess( + cmd=["ros2", "launch", "rslidar_pointcloud_merger", "merge_two_lidars.launch.py"], + output="screen", + prefix="taskset -c 5", + ) + ] + ) + + rtk = TimerAction( + period=3.4, + actions=[ + Node( + package="rtk", + executable="rtk_node", + output="screen", + prefix="taskset -c 6", + ) + ] + ) + + route = TimerAction( + period=3.7, + actions=[ + Node( + package="route", + executable="route_node", + output="screen", + prefix="taskset -c 6", + ) + ] + ) + + sub = TimerAction( + period=4.0, + actions=[ + Node( + package="sub", + executable="sub_node", + output="screen", + prefix="taskset -c 6", + ) + ] + ) + + task_manager = TimerAction( + period=4.3, + actions=[ + Node( + package="task_manager", + executable="task_manager_node", + output="screen", + prefix="taskset -c 7", + ) + ] + ) + + fu = TimerAction( + period=4.6, + actions=[ + ExecuteProcess( + cmd=["ros2", "launch", "fu", "fu.launch.py"], + output="screen", + prefix="taskset -c 7", + ) + ] + ) + + return LaunchDescription([ + vehicle_params, + can_radio_ctrl, + remote_ctrl, + mc, + ctrl_arbiter, + pl, + mqtt_report, + lidar_driver, + pointcloud_merger, + rtk, + route, + sub, + task_manager, + fu, + ]) \ No newline at end of file diff --git a/start_all.sh b/start_all.sh index 3d680d3..60d50bf 100755 --- a/start_all.sh +++ b/start_all.sh @@ -1,62 +1,22 @@ #!/bin/bash set -e -source install/setup.bash +# ===== 环境 ===== +source /opt/ros/humble/setup.bash +source /home/nvidia/Downloads/sweeper_200/install/setup.bash -# ============================================== -# 1. 车辆参数节点(你之前漏掉的!必须第一个启动) -# ============================================== -taskset -c 0 ros2 run vehicle_params vehicle_params_node & -sleep 0.2 +# ===== 信号处理(这是核心)===== +terminate() { + echo "[start_ros2] Caught SIGTERM/SIGINT, shutting down ROS2..." + kill -TERM "$ROS2_PID" + wait "$ROS2_PID" + exit 0 +} -# ============================================== -# 2. 控制类节点(低负载,不影响雷达) -# ============================================== -taskset -c 0 ros2 run can_radio_ctrl can_radio_ctrl_node & -sleep 0.2 +trap terminate SIGINT SIGTERM -taskset -c 2 ros2 run remote_ctrl remote_ctrl_node & -sleep 0.2 +# ===== 启动 launch(前台语义)===== +ros2 launch launch_system start_all.launch.py & +ROS2_PID=$! -taskset -c 1 ros2 run mc mc_node & -sleep 0.2 - -taskset -c 1 ros2 run ctrl_arbiter ctrl_arbiter_node & -sleep 0.2 - -taskset -c 2 ros2 run pl pl_node & -sleep 0.2 - -taskset -c 6 ros2 run mqtt_report mqtt_report_node & -sleep 0.3 - -# ============================================== -# 3. 雷达驱动 —— 专用核心 3、4(绝不被抢占) -# ============================================== -taskset -c 3,4 ros2 launch rslidar_sdk start_double.launch.py & -sleep 1.5 - -# ============================================== -# 4. 点云融合 —— 专用核心 5(完全隔离) -# ============================================== -taskset -c 5 ros2 launch rslidar_pointcloud_merger merge_two_lidars.launch.py & -sleep 0.3 - -# ============================================== -# 5. 定位 & 业务节点(不干扰雷达) -# ============================================== -taskset -c 6 ros2 run rtk rtk_node & -sleep 0.3 - -taskset -c 6 ros2 run route route_node & -sleep 0.3 - -taskset -c 6 ros2 run sub sub_node & -sleep 0.3 - -taskset -c 7 ros2 run task_manager task_manager_node & -sleep 0.3 - -taskset -c 7 ros2 launch fu fu.launch.py & - -wait \ No newline at end of file +wait "$ROS2_PID" \ No newline at end of file