jcsyshc 1 жил өмнө
parent
commit
2612c6c2ee

+ 2 - 2
app/data/pose_collect.json

@@ -16,12 +16,12 @@
       "name": "ndi",
       "init_config": {
         "address_type": "ethernet",
-        "ip": "10.0.0.5",
+        "ip": "192.168.1.202",
         "tcp_port": 8765,
         "com_port": "/dev/ttyUSB0",
         "tool_list": [
           {
-            "rom_path": "/home/tpx/data/roms/Glass_4Ball_1.rom",
+            "rom_path": "/home/tpx/data/roms/NR_1_STCAM_20241115.rom",
             "outputs": {
               "transform": "target_in_tracker"
             }

+ 4 - 2
src/CMakeLists.txt

@@ -1,11 +1,13 @@
 cmake_minimum_required(VERSION 3.13)
 
 project(Sophiar2Lib)
-set(CMAKE_CXX_STANDARD 23)
+set(CMAKE_CXX_STANDARD 20)
 #set(CMAKE_BUILD_TYPE Release)
 
-add_compile_options(-march=native)
+#add_compile_options(-march=native)
 #add_compile_options(-mno-avx) # enable avx will cause some stack pointer alignment error with Eigen
+add_compile_definitions(EIGEN_DONT_VECTORIZE)
+add_compile_definitions(EIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT)
 #add_compile_definitions(CORO_SIGNAL2_USE_TIMER)
 
 include_directories(.)