devel branch dont work

I rebuild it following the detpthai-ros , 20.04,noetic from apt, arm64, but main branch works
sometimes crash , sometimes just do nothing . made it work partially removing things, but 400p, IMU, detections, marker dont work
``
roslaunch depthai_examples stereo_inertial_node.launch
... logging to /home/ubuntu/.ros/log/22af78e4-d535-11ec-9bbf-db787525b9cb/roslaunch-ubuntu-15634.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://<IP_ADDRESS>:36775/
SUMMARY
PARAMETERS

/depth_image_to_rgb_pointcloud/queue_size: 10
/robot_description: <?xml version="1....
/rosdistro: noetic
/rosversion: 1.15.14
/stereo_inertial_publisher/LRchecktresh: 5
/stereo_inertial_publisher/angularVelCovariance: 0
/stereo_inertial_publisher/confidence: 200
/stereo_inertial_publisher/depth_aligned: True
/stereo_inertial_publisher/dotProjectormA: 200.0
/stereo_inertial_publisher/enableDotProjector: False
/stereo_inertial_publisher/enableFloodLight: False
/stereo_inertial_publisher/enableSpatialDetection: True
/stereo_inertial_publisher/extended: False
/stereo_inertial_publisher/floodLightmA: 200.0
/stereo_inertial_publisher/imuMode: 1
/stereo_inertial_publisher/linearAccelCovariance: 0
/stereo_inertial_publisher/lrcheck: True
/stereo_inertial_publisher/mode: depth
/stereo_inertial_publisher/monoResolution: 720p
/stereo_inertial_publisher/mxId:
/stereo_inertial_publisher/poeMode: False
/stereo_inertial_publisher/rectify: True
/stereo_inertial_publisher/stereo_fps: 15
/stereo_inertial_publisher/subpixel: True
/stereo_inertial_publisher/syncNN: True
/stereo_inertial_publisher/tf_prefix: oak
/stereo_inertial_publisher/usb2Mode: False

NODES
/
depth_image_convertion_nodelet (nodelet/nodelet)
depth_image_to_rgb_pointcloud (nodelet/nodelet)
nodelet_manager (nodelet/nodelet)
oak_state_publisher (robot_state_publisher/robot_state_publisher)
rviz (rviz/rviz)
stereo_inertial_publisher (depthai_examples/stereo_inertial_node)
ROS_MASTER_URI=http://<IP_ADDRESS>:11311/
process[oak_state_publisher-1]: started with pid [15674]
process[stereo_inertial_publisher-2]: started with pid [15675]
process[nodelet_manager-3]: started with pid [15676]
process[depth_image_convertion_nodelet-4]: started with pid [15681]
process[depth_image_to_rgb_pointcloud-5]: started with pid [15683]
process[rviz-6]: started with pid [15689]
[ INFO] [1652718489.992307036]: Initializing nodelet with 4 worker threads.
nn path.../home/ubuntu/dai_ws/src/luxonis/depthai-ros-examples/depthai_examples/resources/tiny-yolo-v4_openvino_2021.2_6shave.blob
nn path.../home/ubuntu/dai_ws/src/luxonis/depthai-ros-examples/depthai_examples/resources/tiny-yolo-v4_openvino_2021.2_6shave.blob
Listing available devices...
Device Mx ID: 14442C10F1B6C2D200
[14442C10F1B6C2D200] [880.336] [SpatialDetectionNetwork(8)] [warning] Network compiled for 6 shaves, maximum available 10, compiling for 5 shaves likely will yield in better performance
Device USB status: SUPER
[ WARN] [1652718499.589680484]: Accel data not found.  This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://<IP_ADDRESS>:36423/
SUMMARY
PARAMETERS

/depth_image_to_rgb_pointcloud/queue_size: 10
/robot_description: <?xml version="1....
/rosdistro: noetic
/rosversion: 1.15.14
/stereo_inertial_publisher/LRchecktresh: 5
/stereo_inertial_publisher/angularVelCovariance: 0
/stereo_inertial_publisher/confidence: 200
/stereo_inertial_publisher/depth_aligned: True
/stereo_inertial_publisher/dotProjectormA: 200.0
/stereo_inertial_publisher/enableDotProjector: False
/stereo_inertial_publisher/enableFloodLight: False
/stereo_inertial_publisher/enableSpatialDetection: True
/stereo_inertial_publisher/extended: False
/stereo_inertial_publisher/floodLightmA: 200.0
/stereo_inertial_publisher/imuMode: 1
/stereo_inertial_publisher/linearAccelCovariance: 0
/stereo_inertial_publisher/lrcheck: True
/stereo_inertial_publisher/mode: depth
/stereo_inertial_publisher/monoResolution: 720p
/stereo_inertial_publisher/mxId:
/stereo_inertial_publisher/poeMode: False
/stereo_inertial_publisher/rectify: True
/stereo_inertial_publisher/stereo_fps: 15
/stereo_inertial_publisher/subpixel: True
/stereo_inertial_publisher/syncNN: True
/stereo_inertial_publisher/tf_prefix: oak
/stereo_inertial_publisher/usb2Mode: False

NODES
/
depth_image_convertion_nodelet (nodelet/nodelet)
depth_image_to_rgb_pointcloud (nodelet/nodelet)
nodelet_manager (nodelet/nodelet)
oak_state_publisher (robot_state_publisher/robot_state_publisher)
rviz (rviz/rviz)
stereo_inertial_publisher (depthai_examples/stereo_inertial_node)
ROS_MASTER_URI=http://<IP_ADDRESS>:11311/
process[oak_state_publisher-1]: started with pid [16063]
process[stereo_inertial_publisher-2]: started with pid [16064]
process[nodelet_manager-3]: started with pid [16065]
process[depth_image_convertion_nodelet-4]: started with pid [16070]
process[depth_image_to_rgb_pointcloud-5]: started with pid [16072]
process[rviz-6]: started with pid [16078]
nn path.../home/ubuntu/dai_ws/src/luxonis/depthai-ros-examples/depthai_examples/resources/tiny-yolo-v4_openvino_2021.2_6shave.blob
nn path.../home/ubuntu/dai_ws/src/luxonis/depthai-ros-examples/depthai_examples/resources/tiny-yolo-v4_openvino_2021.2_6shave.blob
[ INFO] [1652718654.482431717]: Initializing nodelet with 4 worker threads.
Listing available devices...
Device Mx ID: 14442C10F1B6C2D200
terminate called without an active exception
Stack trace (most recent call last):
#21   Object "/home/ubuntu/dai_ws/devel/lib/depthai_examples/stereo_inertial_node", at 0xaaaab5731053, in $x
#20   Source "../csu/libc-start.c", line 308, in __libc_start_main [0xffffa61f1e0f]
#19   Source "/home/ubuntu/dai_ws/src/luxonis/depthai-ros-examples/depthai_examples/ros1_src/stereo_inertial_publisher.cpp", line 273, in main [0xaaaab57335df]
270:             }
271:         } else if(mxId.empty()) {
272:             isDeviceFound = true;
> 273:             device = std::make_shareddai::Device(pipeline);
274:         }
275:     }
#18   Source "/usr/include/c++/9/bits/shared_ptr.h", line 718, in make_shared<dai::Device, dai::Pipeline&> [0xaaaab573d44b]
715:     {
716:       typedef typename std::remove_cv<_Tp>::type _Tp_nc;
717:       return std::allocate_shared<_Tp>(std::allocator<_Tp_nc>(),
> 718: 				       std::forward<_Args>(__args)...);
719:     }
720:
721:   /// std::hash specialization for shared_ptr.
#17   Source "/usr/include/c++/9/bits/shared_ptr.h", line 702, in allocate_shared<dai::Device, std::allocatordai::Device, dai::Pipeline&> [0xaaaab57416eb]
699:     allocate_shared(const _Alloc& __a, _Args&&... __args)
700:     {
701:       return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
> 702: 			     std::forward<_Args>(__args)...);
703:     }
704:
705:   /**
#16   Source "/usr/include/c++/9/bits/shared_ptr.h", line 359, in shared_ptr<std::allocatordai::Device, dai::Pipeline&> [0xaaaab574661b]
356:       // This constructor is non-standard, it is used by allocate_shared.
357:       template<typename _Alloc, typename... _Args>
358: 	shared_ptr(_Sp_alloc_shared_tag<_Alloc> __tag, _Args&&... __args)
> 359: 	: __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
360: 	{ }
361:
362:       template<typename _Yp, typename _Alloc, typename... _Args>
#15   Source "/usr/include/c++/9/bits/shared_ptr_base.h", line 1344, in __shared_ptr<std::allocatordai::Device, dai::Pipeline&> [0xaaaab574bc9f]
1341:       // This constructor is non-standard, it is used by allocate_shared.
1342:       template<typename _Alloc, typename... _Args>
1343: 	__shared_ptr(_Sp_alloc_shared_tag<_Alloc> __tag, _Args&&... __args)
>1344: 	: _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
1345: 	{ _M_enable_shared_from_this_with(_M_ptr); }
1346:
1347:       template<typename _Tp1, _Lock_policy _Lp1, typename _Alloc,
#14   Source "/usr/include/c++/9/bits/shared_ptr_base.h", line 679, in __shared_count<dai::Device, std::allocatordai::Device, dai::Pipeline&> [0xaaaab575313b]
676: 	  typename _Sp_cp_type::__allocator_type __a2(__a._M_a);
677: 	  auto __guard = std::__allocate_guarded(__a2);
678: 	  _Sp_cp_type* __mem = __guard.get();
> 679: 	  auto __pi = ::new (__mem)
680: 	    _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
681: 	  __guard = nullptr;
682: 	  _M_pi = __pi;
#13   Source "/usr/include/c++/9/bits/shared_ptr_base.h", line 548, in _Sp_counted_ptr_inplacedai::Pipeline& [0xaaaab57577df]
545: 	{
546: 	  // _GLIBCXX_RESOLVE_LIB_DEFECTS
547: 	  // 2070.  allocate_shared should use allocator_traits::construct
> 548: 	  allocator_traits<_Alloc>::construct(__a, _M_ptr(),
549: 	      std::forward<_Args>(__args)...); // might throw
550: 	}
#12   Source "/usr/include/c++/9/bits/alloc_traits.h", line 483, in construct<dai::Device, dai::Pipeline&> [0xaaaab575bc87]
480: 	static void
481: 	construct(allocator_type& __a, _Up* __p, _Args&&... __args)
482: 	noexcept(std::is_nothrow_constructible<_Up, _Args...>::value)
> 483: 	{ __a.construct(__p, std::forward<_Args>(__args)...); }
484:
485:       /**
486:        *  @brief  Destroy an object of type @a _Up
#11   Source "/usr/include/c++/9/ext/new_allocator.h", line 146, in construct<dai::Device, dai::Pipeline&> [0xaaaab575f433]
143: 	void
144: 	construct(_Up* __p, _Args&&... __args)
145: 	noexcept(std::is_nothrow_constructible<_Up, _Args...>::value)
> 146: 	{ ::new((void )__p) _Up(std::forward<_Args>(__args)...); }
147:
148:       template
149: 	void
#10   Source "/home/ubuntu/dai_ws/src/luxonis/depthai-ros/depthai-core/src/device/Device.cpp", line 27, in Device [0xffffa6b7c54b]
#9    Source "/home/ubuntu/dai_ws/src/luxonis/depthai-ros/depthai-core/src/device/DeviceBase.cpp", line 381, in tryStartPipeline [0xffffa6b8eccb]
#8    Source "/home/ubuntu/dai_ws/src/luxonis/depthai-ros/depthai-core/src/device/DeviceBase.cpp", line 864, in startPipeline [0xffffa6b923bb]
#7    Source "/home/ubuntu/dai_ws/src/luxonis/depthai-ros/depthai-core/src/device/Device.cpp", line 317, in startPipelineImpl [0xffffa6b7e7ef]
#6    Source "/home/ubuntu/dai_ws/src/luxonis/depthai-ros/depthai-core/src/device/DeviceBase.cpp", line 907, in startPipelineImpl [0xffffa6b92cf7]
#5    Source "/usr/include/c++/9/thread", line 139, in ~thread [0xaaaab573a24b]
136:     ~thread()
137:     {
138:       if (joinable())
> 139: 	std::terminate();
140:     }
141:
142:     thread(const thread&) = delete;
#4    Object "/usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.28", at 0xffffa640727f, in std::terminate()
#3    Object "/usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.28", at 0xffffa640721b, in
#2    Object "/usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.28", at 0xffffa640983b, in __gnu_cxx::__verbose_terminate_handler()
#1    Source "/build/glibc-RIFKjK/glibc-2.31/stdlib/abort.c", line 79, in abort [0xffffa61f1aab]
#0    Source "../sysdeps/unix/sysv/linux/raise.c", line 51, in raise [0xffffa6204d78]
Aborted (Signal sent by tkill() 16064 1000)
================================================================================REQUIRED process [stereo_inertial_publisher-2] has died!
process has died [pid 16064, exit code -6, cmd /home/ubuntu/dai_ws/devel/lib/depthai_examples/stereo_inertial_node __name:=stereo_inertial_publisher __log:=/home/ubuntu/.ros/log/22af78e4-d535-11ec-9bbf-db787525b9cb/stereo_inertial_publisher-2.log].
log file: /home/ubuntu/.ros/log/22af78e4-d535-11ec-9bbf-db787525b9cb/stereo_inertial_publisher-2.log
Initiating shutdown!
[rviz-6] killing on exit
[depth_image_to_rgb_pointcloud-5] killing on exit
[depth_image_convertion_nodelet-4] killing on exit
[nodelet_manager-3] killing on exit
[stereo_inertial_publisher-2] killing on exit
[oak_state_publisher-1] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done
``

@FPSychotic
Can you run it with DEPTHAI_LEVEL=debug and share the log please ?
@daxoft  can you help with this please ?

ok, I deleted manually and trying again, I think it could be finding a previous depthai version

No booted, but previous did too sometimes.
if I choose 400p and NN marker activated crash
`
process[depth_image_to_rgb_pointcloud-5]: started with pid [35312]
process[markerPublisher-6]: started with pid [35314]
process[rviz-7]: started with pid [35324]
[ INFO] [1652723099.698223002]: Initializing nodelet with 4 worker threads.
nn path.../home/ubuntu/dai_ws/src/luxonis/depthai-ros-examples/depthai_examples/resources/tiny-yolo-v4_openvino_2021.2_6shave.blob
nn path.../home/ubuntu/dai_ws/src/luxonis/depthai-ros-examples/depthai_examples/resources/tiny-yolo-v4_openvino_2021.2_6shave.blob
Listing available devices...
Device Mx ID: 14442C10F1B6C2D200
terminate called after throwing an instance of 'dai::XLinkWriteError'
terminate called recursively
what():  Couldn't write data to stream: '__stream_asset_storage' (X_LINK_ERROR)
================================================================================REQUIRED process [stereo_inertial_publisher-2] has died!
process has died [pid 35304, exit code -6, cmd /home/ubuntu/dai_ws/devel/lib/depthai_examples/stereo_inertial_node __name:=stereo_inertial_publisher __log:=/home/ubuntu/.ros/log/838b0b56-d53f-11ec-9bbf-db787525b9cb/stereo_inertial_publisher-2.log].
log file: /home/ubuntu/.ros/log/838b0b56-d53f-11ec-9bbf-db787525b9cb/stereo_inertial_publisher-2*.log
Initiating shutdown!
[rviz-7] killing on exit
[markerPublisher-6] killing on exit
[nodelet_manager-3] killing on exit
[depth_image_convertion_nodelet-4] killing on exit
[depth_image_to_rgb_pointcloud-5] killing on exit
[stereo_inertial_publisher-2] killing on exit
[oak_state_publisher-1] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done
`

I added it as argument not sure if that is ok
roslaunch depthai_examples stereo_inertial_node.launch arg_name:=DEPTHAI_LEVEL=debug
roslaunch depthai_examples stereo_inertial_node.launch arg_name:=DEPTHAI_LEVEL=debug
... logging to /home/ubuntu/.ros/log/838b0b56-d53f-11ec-9bbf-db787525b9cb/roslaunch-ubuntu-37537.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://<IP_ADDRESS>:38999/

SUMMARY
========

PARAMETERS
 * /depth_image_to_rgb_pointcloud/queue_size: 10
 * /robot_description: <?xml version="1....
 * /rosdistro: noetic
 * /rosversion: 1.15.14
 * /stereo_inertial_publisher/LRchecktresh: 5
 * /stereo_inertial_publisher/angularVelCovariance: 0
 * /stereo_inertial_publisher/confidence: 200
 * /stereo_inertial_publisher/depth_aligned: True
 * /stereo_inertial_publisher/dotProjectormA: 200.0
 * /stereo_inertial_publisher/enableDotProjector: False
 * /stereo_inertial_publisher/enableFloodLight: False
 * /stereo_inertial_publisher/enableSpatialDetection: True
 * /stereo_inertial_publisher/extended: False
 * /stereo_inertial_publisher/floodLightmA: 200.0
 * /stereo_inertial_publisher/imuMode: 1
 * /stereo_inertial_publisher/linearAccelCovariance: 0
 * /stereo_inertial_publisher/lrcheck: True
 * /stereo_inertial_publisher/mode: depth
 * /stereo_inertial_publisher/monoResolution: 400p
 * /stereo_inertial_publisher/mxId:
 * /stereo_inertial_publisher/poeMode: False
 * /stereo_inertial_publisher/rectify: True
 * /stereo_inertial_publisher/stereo_fps: 15
 * /stereo_inertial_publisher/subpixel: True
 * /stereo_inertial_publisher/syncNN: True
 * /stereo_inertial_publisher/tf_prefix: oak
 * /stereo_inertial_publisher/usb2Mode: False

NODES
  /
    depth_image_convertion_nodelet (nodelet/nodelet)
    depth_image_to_rgb_pointcloud (nodelet/nodelet)
    markerPublisher (depthai_examples/markerPublisher.py)
    nodelet_manager (nodelet/nodelet)
    oak_state_publisher (robot_state_publisher/robot_state_publisher)
    rviz (rviz/rviz)
    stereo_inertial_publisher (depthai_examples/stereo_inertial_node)

ROS_MASTER_URI=http://<IP_ADDRESS>:11311/

process[oak_state_publisher-1]: started with pid [37559]
process[stereo_inertial_publisher-2]: started with pid [37560]
process[nodelet_manager-3]: started with pid [37561]
process[depth_image_convertion_nodelet-4]: started with pid [37566]
process[depth_image_to_rgb_pointcloud-5]: started with pid [37568]
process[markerPublisher-6]: started with pid [37570]
process[rviz-7]: started with pid [37576]
[ INFO] [1652724417.364288008]: Initializing nodelet with 4 worker threads.
 nn path.../home/ubuntu/dai_ws/src/luxonis/depthai-ros-examples/depthai_examples/resources/tiny-yolo-v4_openvino_2021.2_6shave.blob
 nn path.../home/ubuntu/dai_ws/src/luxonis/depthai-ros-examples/depthai_examples/resources/tiny-yolo-v4_openvino_2021.2_6shave.blob
Listing available devices...
Device Mx ID: 14442C10F1B6C2D200
[14442C10F1B6C2D200] [1082.283] [SpatialDetectionNetwork(8)] [warning] Network compiled for 6 shaves, maximum available 10, compiling for 5 shaves likely will yield in better performance
terminate called after throwing an instance of 'std::runtime_error'
  what():  ColorCamera(6) - 'preview' width or height (416, 416) bigger than sensor resolution (640, 360)
Stack trace (most recent call last):
#18   Object "/home/ubuntu/dai_ws/devel/lib/depthai_examples/stereo_inertial_node", at 0xaaaae2b03153, in $x
#17   Source "../csu/libc-start.c", line 308, in __libc_start_main [0xffff932e4e0f]
#16   Source "/home/ubuntu/dai_ws/src/luxonis/depthai-ros-examples/depthai_examples/ros1_src/stereo_inertial_publisher.cpp", line 273, in main [0xaaaae2b056df]
        270:             }
        271:         } else if(mxId.empty()) {
        272:             isDeviceFound = true;
      > 273:             device = std::make_shared<dai::Device>(pipeline);
        274:         }
        275:     }
#15   Source "/usr/include/c++/9/bits/shared_ptr.h", line 718, in make_shared<dai::Device, dai::Pipeline&> [0xaaaae2b0f697]
        715:     {
        716:       typedef typename std::remove_cv<_Tp>::type _Tp_nc;
        717:       return std::allocate_shared<_Tp>(std::allocator<_Tp_nc>(),
      > 718: 				       std::forward<_Args>(__args)...);
        719:     }
        720:
        721:   /// std::hash specialization for shared_ptr.
#14   Source "/usr/include/c++/9/bits/shared_ptr.h", line 702, in allocate_shared<dai::Device, std::allocator<dai::Device>, dai::Pipeline&> [0xaaaae2b1493b]
        699:     allocate_shared(const _Alloc& __a, _Args&&... __args)
        700:     {
        701:       return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
      > 702: 			     std::forward<_Args>(__args)...);
        703:     }
        704:
        705:   /**
#13   Source "/usr/include/c++/9/bits/shared_ptr.h", line 359, in shared_ptr<std::allocator<dai::Device>, dai::Pipeline&> [0xaaaae2b1986b]
        356:       // This constructor is non-standard, it is used by allocate_shared.
        357:       template<typename _Alloc, typename... _Args>
        358: 	shared_ptr(_Sp_alloc_shared_tag<_Alloc> __tag, _Args&&... __args)
      > 359: 	: __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
        360: 	{ }
        361:
        362:       template<typename _Yp, typename _Alloc, typename... _Args>
#12   Source "/usr/include/c++/9/bits/shared_ptr_base.h", line 1344, in __shared_ptr<std::allocator<dai::Device>, dai::Pipeline&> [0xaaaae2b1eeef]
       1341:       // This constructor is non-standard, it is used by allocate_shared.
       1342:       template<typename _Alloc, typename... _Args>
       1343: 	__shared_ptr(_Sp_alloc_shared_tag<_Alloc> __tag, _Args&&... __args)
      >1344: 	: _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
       1345: 	{ _M_enable_shared_from_this_with(_M_ptr); }
       1346:
       1347:       template<typename _Tp1, _Lock_policy _Lp1, typename _Alloc,
#11   Source "/usr/include/c++/9/bits/shared_ptr_base.h", line 679, in __shared_count<dai::Device, std::allocator<dai::Device>, dai::Pipeline&> [0xaaaae2b2638b]
        676: 	  typename _Sp_cp_type::__allocator_type __a2(__a._M_a);
        677: 	  auto __guard = std::__allocate_guarded(__a2);
        678: 	  _Sp_cp_type* __mem = __guard.get();
      > 679: 	  auto __pi = ::new (__mem)
        680: 	    _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
        681: 	  __guard = nullptr;
        682: 	  _M_pi = __pi;
#10   Source "/usr/include/c++/9/bits/shared_ptr_base.h", line 548, in _Sp_counted_ptr_inplace<dai::Pipeline&> [0xaaaae2b2aa2f]
        545: 	{
        546: 	  // _GLIBCXX_RESOLVE_LIB_DEFECTS
        547: 	  // 2070.  allocate_shared should use allocator_traits<A>::construct
      > 548: 	  allocator_traits<_Alloc>::construct(__a, _M_ptr(),
        549: 	      std::forward<_Args>(__args)...); // might throw
        550: 	}
#9    Source "/usr/include/c++/9/bits/alloc_traits.h", line 483, in construct<dai::Device, dai::Pipeline&> [0xaaaae2b2fedb]
        480: 	static void
        481: 	construct(allocator_type& __a, _Up* __p, _Args&&... __args)
        482: 	noexcept(std::is_nothrow_constructible<_Up, _Args...>::value)
      > 483: 	{ __a.construct(__p, std::forward<_Args>(__args)...); }
        484:
        485:       /**
        486:        *  @brief  Destroy an object of type @a _Up
#8    Source "/usr/include/c++/9/ext/new_allocator.h", line 146, in construct<dai::Device, dai::Pipeline&> [0xaaaae2b33677]
        143: 	void
        144: 	construct(_Up* __p, _Args&&... __args)
        145: 	noexcept(std::is_nothrow_constructible<_Up, _Args...>::value)
      > 146: 	{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
        147:
        148:       template<typename _Up>
        149: 	void
#7    Source "/tmp/depthai-core/src/device/Device.cpp", line 27, in Device [0xffff93c8406f]
#6    Source "/tmp/depthai-core/src/device/DeviceBase.cpp", line 409, in tryStartPipeline [0xffff93c96a07]
#5    Object "/usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.28", at 0xffff934fa5df, in __cxa_rethrow
#4    Object "/usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.28", at 0xffff934fa27f, in std::terminate()
#3    Object "/usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.28", at 0xffff934fa21b, in
#2    Object "/usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.28", at 0xffff934fc8cb, in __gnu_cxx::__verbose_terminate_handler()
#1    Source "/build/glibc-RIFKjK/glibc-2.31/stdlib/abort.c", line 79, in abort [0xffff932e4aab]
#0    Source "../sysdeps/unix/sysv/linux/raise.c", line 51, in raise [0xffff932f7d78]
Aborted (Signal sent by tkill() 37560 1000)
================================================================================REQUIRED process [stereo_inertial_publisher-2] has died!
process has died [pid 37560, exit code -6, cmd /home/ubuntu/dai_ws/devel/lib/depthai_examples/stereo_inertial_node __name:=stereo_inertial_publisher __log:=/home/ubuntu/.ros/log/838b0b56-d53f-11ec-9bbf-db787525b9cb/stereo_inertial_publisher-2.log].
log file: /home/ubuntu/.ros/log/838b0b56-d53f-11ec-9bbf-db787525b9cb/stereo_inertial_publisher-2*.log
Initiating shutdown!
================================================================================
[rviz-7] killing on exit
[markerPublisher-6] killing on exit
[depth_image_to_rgb_pointcloud-5] killing on exit
[oak_state_publisher-1] killing on exit
[nodelet_manager-3] killing on exit
[stereo_inertial_publisher-2] killing on exit
[depth_image_convertion_nodelet-4] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done

DEPTHAI_LEVEL=debug roslaunch depthai_examples stereo_inertial_node.launch
It's an environment variable. Can you try this.

`DEPTHAI_LEVEL=debug roslaunch depthai_examples stereo_inertial_node.launch
... logging to /home/ubuntu/.ros/log/838b0b56-d53f-11ec-9bbf-db787525b9cb/roslaunch-ubuntu-38469.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://<IP_ADDRESS>:43699/
SUMMARY
PARAMETERS

/depth_image_to_rgb_pointcloud/queue_size: 10
/robot_description: <?xml version="1....
/rosdistro: noetic
/rosversion: 1.15.14
/stereo_inertial_publisher/LRchecktresh: 5
/stereo_inertial_publisher/angularVelCovariance: 0
/stereo_inertial_publisher/confidence: 200
/stereo_inertial_publisher/depth_aligned: True
/stereo_inertial_publisher/dotProjectormA: 200.0
/stereo_inertial_publisher/enableDotProjector: False
/stereo_inertial_publisher/enableFloodLight: False
/stereo_inertial_publisher/enableSpatialDetection: True
/stereo_inertial_publisher/extended: False
/stereo_inertial_publisher/floodLightmA: 200.0
/stereo_inertial_publisher/imuMode: 1
/stereo_inertial_publisher/linearAccelCovariance: 0
/stereo_inertial_publisher/lrcheck: True
/stereo_inertial_publisher/mode: depth
/stereo_inertial_publisher/monoResolution: 400p
/stereo_inertial_publisher/mxId:
/stereo_inertial_publisher/poeMode: False
/stereo_inertial_publisher/rectify: True
/stereo_inertial_publisher/stereo_fps: 15
/stereo_inertial_publisher/subpixel: True
/stereo_inertial_publisher/syncNN: True
/stereo_inertial_publisher/tf_prefix: oak
/stereo_inertial_publisher/usb2Mode: False

NODES
/
depth_image_convertion_nodelet (nodelet/nodelet)
depth_image_to_rgb_pointcloud (nodelet/nodelet)
markerPublisher (depthai_examples/markerPublisher.py)
nodelet_manager (nodelet/nodelet)
oak_state_publisher (robot_state_publisher/robot_state_publisher)
rviz (rviz/rviz)
stereo_inertial_publisher (depthai_examples/stereo_inertial_node)
ROS_MASTER_URI=http://<IP_ADDRESS>:11311/
process[oak_state_publisher-1]: started with pid [38494]
process[stereo_inertial_publisher-2]: started with pid [38495]
process[nodelet_manager-3]: started with pid [38496]
process[depth_image_convertion_nodelet-4]: started with pid [38503]
process[depth_image_to_rgb_pointcloud-5]: started with pid [38507]
process[markerPublisher-6]: started with pid [38514]
process[rviz-7]: started with pid [38516]
nn path.../home/ubuntu/dai_ws/src/luxonis/depthai-ros-examples/depthai_examples/resources/tiny-yolo-v4_openvino_2021.2_6shave.blob
[ INFO] [1652724890.589602489]: Initializing nodelet with 4 worker threads.
nn path.../home/ubuntu/dai_ws/src/luxonis/depthai-ros-examples/depthai_examples/resources/tiny-yolo-v4_openvino_2021.2_6shave.blob
[2022-05-16 18:14:50.682] [debug] Library information - version: 2.15.4, commit: 1503d545d4caad91e0c1a8436c7951ff79b400ef from 2022-05-09 16:09:05 +0300, build: 2022-05-16 17:01:35 +0000
[2022-05-16 18:14:50.688] [debug] Initialize - finished
[2022-05-16 18:14:50.968] [debug] Resources - Archive 'depthai-bootloader-fwp-0.0.18+c555ac2fb184b801291c95f7f73d23bf4dd42cf1.tar.xz' open: 4ms, archive read: 262ms
[2022-05-16 18:14:52.079] [debug] Resources - Archive 'depthai-device-fwp-db9c1703c929df0de6cc99b198d2d149f1735598.tar.xz' open: 33ms, archive read: 1345ms
Listing available devices...
Device Mx ID: 14442C10F1B6C2D200
[2022-05-16 18:14:53.671] [debug] Device - OpenVINO version: 2021.4
[2022-05-16 18:14:53.673] [debug] Device - BoardConfig: {"gpio":[],"network":{"mtu":0,"xlinkTcpNoDelay":true},"pcieInternalClock":null,"sysctl":[],"uart":[],"usb":{"flashBootedPid":63037,"flashBootedVid":999,"maxSpeed":4,"pid":63035,"vid":999},"usb3PhyInternalClock":null,"watchdogInitialDelayMs":null,"watchdogTimeoutMs":null}
libnop:
0000: b9 09 b9 05 81 e7 03 81 3b f6 81 e7 03 81 3d f6 04 b9 02 00 01 ba 00 be be bb 00 bb 00 be be
[14442C10F1B6C2D200] [389.206] [system] [info] Memory Usage - DDR: 0.12 / 341.19 MiB, CMX: 2.05 / 2.50 MiB, LeonOS Heap: 7.22 / 78.13 MiB, LeonRT Heap: 2.88 / 41.43 MiB
[14442C10F1B6C2D200] [389.206] [system] [info] Temperatures - Average: 39.63 °C, CSS: 41.66 °C, MSS 38.88 °C, UPA: 38.88 °C, DSS: 39.11 °C
[14442C10F1B6C2D200] [389.206] [system] [info] Cpu Usage - LeonOS 10.73%, LeonRT: 2.03%
[2022-05-16 18:14:55.402] [debug] Schema dump: {"connections":[{"node1Id":4,"node1Output":"out","node1OutputGroup":"","node2Id":5,"node2Input":"in","node2InputGroup":""},{"node1Id":2,"node1Output":"depth","node1OutputGroup":"","node2Id":3,"node2Input":"in","node2InputGroup":""},{"node1Id":1,"node1Output":"out","node1OutputGroup":"","node2Id":2,"node2Input":"right","node2InputGroup":""},{"node1Id":0,"node1Output":"out","node1OutputGroup":"","node2Id":2,"node2Input":"left","node2InputGroup":""},{"node1Id":8,"node1Output":"out","node1OutputGroup":"","node2Id":9,"node2Input":"in","node2InputGroup":""},{"node1Id":8,"node1Output":"passthrough","node1OutputGroup":"","node2Id":10,"node2Input":"in","node2InputGroup":""},{"node1Id":2,"node1Output":"depth","node1OutputGroup":"","node2Id":8,"node2Input":"inputDepth","node2InputGroup":""},{"node1Id":6,"node1Output":"preview","node1OutputGroup":"","node2Id":8,"node2Input":"in","node2InputGroup":""},{"node1Id":6,"node1Output":"isp","node1OutputGroup":"","node2Id":7,"node2Input":"in","node2InputGroup":""}],"globalProperties":{"calibData":null,"cameraTuningBlobSize":null,"cameraTuningBlobUri":"","leonCssFrequencyHz":700000000.0,"leonMssFrequencyHz":700000000.0,"pipelineName":null,"pipelineVersion":null,"xlinkChunkSize":-1},"nodes":[[0,{"id":0,"ioInfo":[[["","out"],{"blocking":false,"group":"","name":"out","queueSize":8,"type":0,"waitForMessage":false}],[["","raw"],{"blocking":false,"group":"","name":"raw","queueSize":8,"type":0,"waitForMessage":false}],[["","inputControl"],{"blocking":true,"group":"","name":"inputControl","queueSize":8,"type":3,"waitForMessage":false}]],"name":"MonoCamera","properties":[185,5,185,20,0,3,0,185,3,0,0,0,185,5,0,0,0,0,0,185,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,255,2,136,0,0,112,65]}],[1,{"id":1,"ioInfo":[[["","out"],{"blocking":false,"group":"","name":"out","queueSize":8,"type":0,"waitForMessage":false}],[["","raw"],{"blocking":false,"group":"","name":"raw","queueSize":8,"type":0,"waitForMessage":false}],[["","inputControl"],{"blocking":true,"group":"","name":"inputControl","queueSize":8,"type":3,"waitForMessage":false}]],"name":"MonoCamera","properties":[185,5,185,20,0,3,0,185,3,0,0,0,185,5,0,0,0,0,0,185,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,255,2,136,0,0,112,65]}],[2,{"id":2,"ioInfo":[[["","depth"],{"blocking":false,"group":"","name":"depth","queueSize":8,"type":0,"waitForMessage":false}],[["","rectifiedLeft"],{"blocking":false,"group":"","name":"rectifiedLeft","queueSize":8,"type":0,"waitForMessage":false}],[["","syncedLeft"],{"blocking":false,"group":"","name":"syncedLeft","queueSize":8,"type":0,"waitForMessage":false}],[["","syncedRight"],{"blocking":false,"group":"","name":"syncedRight","queueSize":8,"type":0,"waitForMessage":false}],[["","rectifiedRight"],{"blocking":false,"group":"","name":"rectifiedRight","queueSize":8,"type":0,"waitForMessage":false}],[["","outConfig"],{"blocking":false,"group":"","name":"outConfig","queueSize":8,"type":0,"waitForMessage":false}],[["","debugExtDispLrCheckIt2"],{"blocking":false,"group":"","name":"debugExtDispLrCheckIt2","queueSize":8,"type":0,"waitForMessage":false}],[["","debugDispCostDump"],{"blocking":false,"group":"","name":"debugDispCostDump","queueSize":8,"type":0,"waitForMessage":false}],[["","confidenceMap"],{"blocking":false,"group":"","name":"confidenceMap","queueSize":8,"type":0,"waitForMessage":false}],[["","debugDispLrCheckIt2"],{"blocking":false,"group":"","name":"debugDispLrCheckIt2","queueSize":8,"type":0,"waitForMessage":false}],[["","debugDispLrCheckIt1"],{"blocking":false,"group":"","name":"debugDispLrCheckIt1","queueSize":8,"type":0,"waitForMessage":false}],[["","debugExtDispLrCheckIt1"],{"blocking":false,"group":"","name":"debugExtDispLrCheckIt1","queueSize":8,"type":0,"waitForMessage":false}],[["","disparity"],{"blocking":false,"group":"","name":"disparity","queueSize":8,"type":0,"waitForMessage":false}],[["","inputConfig"],{"blocking":false,"group":"","name":"inputConfig","queueSize":4,"type":3,"waitForMessage":false}],[["","left"],{"blocking":false,"group":"","name":"left","queueSize":8,"type":3,"waitForMessage":true}],[["","right"],{"blocking":false,"group":"","name":"right","queueSize":8,"type":3,"waitForMessage":true}]],"name":"StereoDepth","properties":[185,16,185,5,185,8,0,2,136,0,0,122,68,1,0,1,5,3,185,7,5,0,185,5,0,2,136,0,0,0,63,0,1,185,4,0,3,136,205,204,204,62,0,185,2,0,134,255,255,0,0,185,2,0,50,185,2,1,0,185,4,255,0,1,0,185,5,1,0,0,128,200,185,3,0,2,127,185,5,1,128,250,129,244,1,128,250,129,244,1,0,1,0,190,190,190,190,1,185,5,189,0,189,0,190,16,16,0,3,255,255,1,190]}],[3,{"id":3,"ioInfo":[[["","in"],{"blocking":true,"group":"","name":"in","queueSize":8,"type":3,"waitForMessage":true}]],"name":"XLinkOut","properties":[185,3,136,0,0,128,191,189,5,100,101,112,116,104,0]}],[4,{"id":4,"ioInfo":[[["","out"],{"blocking":false,"group":"","name":"out","queueSize":8,"type":0,"waitForMessage":false}]],"name":"IMU","properties":[185,3,186,2,185,5,0,0,0,129,244,1,20,185,5,0,0,0,129,144,1,21,5,20]}],[5,{"id":5,"ioInfo":[[["","in"],{"blocking":true,"group":"","name":"in","queueSize":8,"type":3,"waitForMessage":true}]],"name":"XLinkOut","properties":[185,3,136,0,0,128,191,189,3,105,109,117,0]}],[6,{"id":6,"ioInfo":[[["","preview"],{"blocking":false,"group":"","name":"preview","queueSize":8,"type":0,"waitForMessage":false}],[["","still"],{"blocking":false,"group":"","name":"still","queueSize":8,"type":0,"waitForMessage":false}],[["","isp"],{"blocking":false,"group":"","name":"isp","queueSize":8,"type":0,"waitForMessage":false}],[["","video"],{"blocking":false,"group":"","name":"video","queueSize":8,"type":0,"waitForMessage":false}],[["","raw"],{"blocking":false,"group":"","name":"raw","queueSize":8,"type":0,"waitForMessage":false}],[["","inputConfig"],{"blocking":false,"group":"","name":"inputConfig","queueSize":8,"type":3,"waitForMessage":false}],[["","inputControl"],{"blocking":true,"group":"","name":"inputControl","queueSize":8,"type":3,"waitForMessage":false}]],"name":"ColorCamera","properties":[185,18,185,20,0,3,0,185,3,0,0,0,185,5,0,0,0,0,0,185,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,129,160,1,129,160,1,255,255,255,255,0,136,0,0,240,65,136,0,0,128,191,136,0,0,128,191,1,185,4,1,3,1,3]}],[7,{"id":7,"ioInfo":[[["","in"],{"blocking":true,"group":"","name":"in","queueSize":8,"type":3,"waitForMessage":true}]],"name":"XLinkOut","properties":[185,3,136,0,0,128,191,189,3,114,103,98,0]}],[8,{"id":8,"ioInfo":[[["","out"],{"blocking":false,"group":"","name":"out","queueSize":8,"type":0,"waitForMessage":false}],[["","passthroughDepth"],{"blocking":false,"group":"","name":"passthroughDepth","queueSize":8,"type":0,"waitForMessage":false}],[["","passthrough"],{"blocking":false,"group":"","name":"passthrough","queueSize":8,"type":0,"waitForMessage":false}],[["","boundingBoxMapping"],{"blocking":false,"group":"","name":"boundingBoxMapping","queueSize":8,"type":0,"waitForMessage":false}],[["","in"],{"blocking":false,"group":"","name":"in","queueSize":5,"type":3,"waitForMessage":true}],[["","inputDepth"],{"blocking":false,"group":"","name":"inputDepth","queueSize":4,"type":3,"waitForMessage":true}]],"name":"SpatialDetectionNetwork","properties":[185,15,0,130,128,188,185,0,189,12,97,115,115,101,116,58,95,95,98,108,111,98,8,0,0,136,0,0,0,63,80,4,186,12,136,0,0,32,65,136,0,0,96,65,136,0,0,184,65,136,0,0,216,65,136,0,0,20,66,136,0,0,104,66,136,0,0,162,66,136,0,0,164,66,136,0,0,7,67,136,0,0,41,67,136,0,0,172,67,136,0,128,159,67,187,2,189,6,115,105,100,101,49,51,188,12,3,0,0,0,4,0,0,0,5,0,0,0,189,6,115,105,100,101,50,54,188,12,1,0,0,0,2,0,0,0,3,0,0,0,136,0,0,0,63,136,0,0,0,63,185,2,100,129,16,39,0]}],[9,{"id":9,"ioInfo":[[["","in"],{"blocking":true,"group":"","name":"in","queueSize":8,"type":3,"waitForMessage":true}]],"name":"XLinkOut","properties":[185,3,136,0,0,128,191,189,10,100,101,116,101,99,116,105,111,110,115,0]}],[10,{"id":10,"ioInfo":[[["","in"],{"blocking":true,"group":"","name":"in","queueSize":8,"type":3,"waitForMessage":true}]],"name":"XLinkOut","properties":[185,3,136,0,0,128,191,189,7,112,114,101,118,105,101,119,0]}]]}
[2022-05-16 18:14:55.408] [debug] Asset map dump: {"map":{"/node/8/__blob":{"alignment":64,"offset":0,"size":12172416}}}
[14442C10F1B6C2D200] [389.534] [MonoCamera(1)] [info] Using board socket: 2, id: 2
[14442C10F1B6C2D200] [389.534] [MonoCamera(0)] [info] Using board socket: 1, id: 1
[14442C10F1B6C2D200] [389.537] [system] [info] ImageManip internal buffer size '80640'B, shave buffer size '34816'B
[14442C10F1B6C2D200] [389.538] [system] [info] SpatialLocationCalculator shave buffer size '29696'B
[14442C10F1B6C2D200] [389.538] [system] [info] SIPP (Signal Image Processing Pipeline) internal buffer size '16384'B
[14442C10F1B6C2D200] [389.573] [system] [info] NeuralNetwork allocated resources: shaves: [0-9] cmx slices: [0-9]
ColorCamera allocated resources: no shaves; cmx slices: [13-15]
MonoCamera allocated resources: no shaves; cmx slices: [13-15]
StereoDepth allocated resources: shaves: [12-12] cmx slices: [10-12]
ImageManip allocated resources: shaves: [15-15] no cmx slices.
SpatialLocationCalculator allocated resources: shaves: [14-14] no cmx slices.
[14442C10F1B6C2D200] [389.580] [StereoDepth(2)] [info] Using focal length from calibration intrinsics '430.99188'
[2022-05-16 18:14:55.721] [debug] Device about to be closed...
[2022-05-16 18:14:55.722] [debug] Log thread exception caught: Couldn't read data from stream: '__log' (X_LINK_ERROR)
[2022-05-16 18:14:55.723] [debug] DataOutputQueue (rgb) closed
[2022-05-16 18:14:55.723] [debug] Timesync thread exception caught: Couldn't read data from stream: '__timesync' (X_LINK_ERROR)
[2022-05-16 18:14:55.723] [debug] DataOutputQueue (depth) closed
[2022-05-16 18:14:55.723] [debug] DataOutputQueue (detections) closed
[2022-05-16 18:14:55.723] [debug] DataOutputQueue (imu) closed
[2022-05-16 18:14:55.723] [debug] DataOutputQueue (preview) closed
[2022-05-16 18:14:56.055] [debug] Watchdog thread exception caught: Couldn't write data to stream: '__watchdog' (X_LINK_ERROR)
[2022-05-16 18:14:56.597] [debug] XLinkResetRemote of linkId: (0)
[2022-05-16 18:14:56.598] [debug] Device closed, 876
terminate called after throwing an instance of 'std::runtime_error'
what():  ColorCamera(6) - 'preview' width or height (416, 416) bigger than sensor resolution (640, 360)
Stack trace (most recent call last):
#18   Object "/home/ubuntu/dai_ws/devel/lib/depthai_examples/stereo_inertial_node", at 0xaaaac8c1c153, in $x
#17   Source "../csu/libc-start.c", line 308, in __libc_start_main [0xffff9ff5ee0f]
#16   Source "/home/ubuntu/dai_ws/src/luxonis/depthai-ros-examples/depthai_examples/ros1_src/stereo_inertial_publisher.cpp", line 273, in main [0xaaaac8c1e6df]
270:             }
271:         } else if(mxId.empty()) {
272:             isDeviceFound = true;
> 273:             device = std::make_shareddai::Device(pipeline);
274:         }
275:     }
#15   Source "/usr/include/c++/9/bits/shared_ptr.h", line 718, in make_shared<dai::Device, dai::Pipeline&> [0xaaaac8c28697]
715:     {
716:       typedef typename std::remove_cv<_Tp>::type _Tp_nc;
717:       return std::allocate_shared<_Tp>(std::allocator<_Tp_nc>(),
> 718: 				       std::forward<_Args>(__args)...);
719:     }
720:
721:   /// std::hash specialization for shared_ptr.
#14   Source "/usr/include/c++/9/bits/shared_ptr.h", line 702, in allocate_shared<dai::Device, std::allocatordai::Device, dai::Pipeline&> [0xaaaac8c2d93b]
699:     allocate_shared(const _Alloc& __a, _Args&&... __args)
700:     {
701:       return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
> 702: 			     std::forward<_Args>(__args)...);
703:     }
704:
705:   /**
#13   Source "/usr/include/c++/9/bits/shared_ptr.h", line 359, in shared_ptr<std::allocatordai::Device, dai::Pipeline&> [0xaaaac8c3286b]
356:       // This constructor is non-standard, it is used by allocate_shared.
357:       template<typename _Alloc, typename... _Args>
358: 	shared_ptr(_Sp_alloc_shared_tag<_Alloc> __tag, _Args&&... __args)
> 359: 	: __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
360: 	{ }
361:
362:       template<typename _Yp, typename _Alloc, typename... _Args>
#12   Source "/usr/include/c++/9/bits/shared_ptr_base.h", line 1344, in __shared_ptr<std::allocatordai::Device, dai::Pipeline&> [0xaaaac8c37eef]
1341:       // This constructor is non-standard, it is used by allocate_shared.
1342:       template<typename _Alloc, typename... _Args>
1343: 	__shared_ptr(_Sp_alloc_shared_tag<_Alloc> __tag, _Args&&... __args)
>1344: 	: _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
1345: 	{ _M_enable_shared_from_this_with(_M_ptr); }
1346:
1347:       template<typename _Tp1, _Lock_policy _Lp1, typename _Alloc,
#11   Source "/usr/include/c++/9/bits/shared_ptr_base.h", line 679, in __shared_count<dai::Device, std::allocatordai::Device, dai::Pipeline&> [0xaaaac8c3f38b]
676: 	  typename _Sp_cp_type::__allocator_type __a2(__a._M_a);
677: 	  auto __guard = std::__allocate_guarded(__a2);
678: 	  _Sp_cp_type* __mem = __guard.get();
> 679: 	  auto __pi = ::new (__mem)
680: 	    _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
681: 	  __guard = nullptr;
682: 	  _M_pi = __pi;
#10   Source "/usr/include/c++/9/bits/shared_ptr_base.h", line 548, in _Sp_counted_ptr_inplacedai::Pipeline& [0xaaaac8c43a2f]
545: 	{
546: 	  // _GLIBCXX_RESOLVE_LIB_DEFECTS
547: 	  // 2070.  allocate_shared should use allocator_traits::construct
> 548: 	  allocator_traits<_Alloc>::construct(__a, _M_ptr(),
549: 	      std::forward<_Args>(__args)...); // might throw
550: 	}
#9    Source "/usr/include/c++/9/bits/alloc_traits.h", line 483, in construct<dai::Device, dai::Pipeline&> [0xaaaac8c48edb]
480: 	static void
481: 	construct(allocator_type& __a, _Up* __p, _Args&&... __args)
482: 	noexcept(std::is_nothrow_constructible<_Up, _Args...>::value)
> 483: 	{ __a.construct(__p, std::forward<_Args>(__args)...); }
484:
485:       /**
486:        *  @brief  Destroy an object of type @a _Up
#8    Source "/usr/include/c++/9/ext/new_allocator.h", line 146, in construct<dai::Device, dai::Pipeline&> [0xaaaac8c4c677]
143: 	void
144: 	construct(_Up* __p, _Args&&... __args)
145: 	noexcept(std::is_nothrow_constructible<_Up, _Args...>::value)
> 146: 	{ ::new((void )__p) _Up(std::forward<_Args>(__args)...); }
147:
148:       template
149: 	void
#7    Source "/tmp/depthai-core/src/device/Device.cpp", line 27, in Device [0xffffa08fe06f]
#6    Source "/tmp/depthai-core/src/device/DeviceBase.cpp", line 409, in tryStartPipeline [0xffffa0910a07]
#5    Object "/usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.28", at 0xffffa01745df, in __cxa_rethrow
#4    Object "/usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.28", at 0xffffa017427f, in std::terminate()
#3    Object "/usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.28", at 0xffffa017421b, in
#2    Object "/usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.28", at 0xffffa01768cb, in __gnu_cxx::__verbose_terminate_handler()
#1    Source "/build/glibc-RIFKjK/glibc-2.31/stdlib/abort.c", line 79, in abort [0xffff9ff5eaab]
#0    Source "../sysdeps/unix/sysv/linux/raise.c", line 51, in raise [0xffff9ff71d78]
Aborted (Signal sent by tkill() 38495 1000)
================================================================================REQUIRED process [stereo_inertial_publisher-2] has died!
process has died [pid 38495, exit code -6, cmd /home/ubuntu/dai_ws/devel/lib/depthai_examples/stereo_inertial_node __name:=stereo_inertial_publisher __log:=/home/ubuntu/.ros/log/838b0b56-d53f-11ec-9bbf-db787525b9cb/stereo_inertial_publisher-2.log].
log file: /home/ubuntu/.ros/log/838b0b56-d53f-11ec-9bbf-db787525b9cb/stereo_inertial_publisher-2.log
Initiating shutdown!
[rviz-7] killing on exit
[markerPublisher-6] killing on exit
[depth_image_to_rgb_pointcloud-5] killing on exit
[depth_image_convertion_nodelet-4] killing on exit
[nodelet_manager-3] killing on exit
[stereo_inertial_publisher-2] killing on exit
[oak_state_publisher-1] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done
`

Looks like a power issue. Provide external power supply to the OAK or disable by setting enableSpatialDetection=False as argument to ROS launch file. That might fix it.
I willl update the example to disable it by default.

if leave as default with 720p and marker as false
`DEPTHAI_LEVEL=debug roslaunch depthai_examples stereo_inertial_node.launch
... logging to /home/ubuntu/.ros/log/838b0b56-d53f-11ec-9bbf-db787525b9cb/roslaunch-ubuntu-39071.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://<IP_ADDRESS>:40949/
SUMMARY
PARAMETERS

/depth_image_to_rgb_pointcloud/queue_size: 10
/robot_description: <?xml version="1....
/rosdistro: noetic
/rosversion: 1.15.14
/stereo_inertial_publisher/LRchecktresh: 5
/stereo_inertial_publisher/angularVelCovariance: 0
/stereo_inertial_publisher/confidence: 200
/stereo_inertial_publisher/depth_aligned: True
/stereo_inertial_publisher/dotProjectormA: 200.0
/stereo_inertial_publisher/enableDotProjector: False
/stereo_inertial_publisher/enableFloodLight: False
/stereo_inertial_publisher/enableSpatialDetection: True
/stereo_inertial_publisher/extended: False
/stereo_inertial_publisher/floodLightmA: 200.0
/stereo_inertial_publisher/imuMode: 1
/stereo_inertial_publisher/linearAccelCovariance: 0
/stereo_inertial_publisher/lrcheck: True
/stereo_inertial_publisher/mode: depth
/stereo_inertial_publisher/monoResolution: 720p
/stereo_inertial_publisher/mxId:
/stereo_inertial_publisher/poeMode: False
/stereo_inertial_publisher/rectify: True
/stereo_inertial_publisher/stereo_fps: 15
/stereo_inertial_publisher/subpixel: True
/stereo_inertial_publisher/syncNN: True
/stereo_inertial_publisher/tf_prefix: oak
/stereo_inertial_publisher/usb2Mode: False

NODES
/
depth_image_convertion_nodelet (nodelet/nodelet)
depth_image_to_rgb_pointcloud (nodelet/nodelet)
nodelet_manager (nodelet/nodelet)
oak_state_publisher (robot_state_publisher/robot_state_publisher)
rviz (rviz/rviz)
stereo_inertial_publisher (depthai_examples/stereo_inertial_node)
ROS_MASTER_URI=http://<IP_ADDRESS>:11311/
process[oak_state_publisher-1]: started with pid [39095]
process[stereo_inertial_publisher-2]: started with pid [39096]
process[nodelet_manager-3]: started with pid [39097]
process[depth_image_convertion_nodelet-4]: started with pid [39103]
process[depth_image_to_rgb_pointcloud-5]: started with pid [39105]
process[rviz-6]: started with pid [39106]
nn path.../home/ubuntu/dai_ws/src/luxonis/depthai-ros-examples/depthai_examples/resources/tiny-yolo-v4_openvino_2021.2_6shave.blob
[ INFO] [1652725175.903029833]: Initializing nodelet with 4 worker threads.
nn path.../home/ubuntu/dai_ws/src/luxonis/depthai-ros-examples/depthai_examples/resources/tiny-yolo-v4_openvino_2021.2_6shave.blob
[2022-05-16 18:19:35.917] [debug] Library information - version: 2.15.4, commit: 1503d545d4caad91e0c1a8436c7951ff79b400ef from 2022-05-09 16:09:05 +0300, build: 2022-05-16 17:01:35 +0000
[2022-05-16 18:19:35.920] [debug] Initialize - finished
[2022-05-16 18:19:36.197] [debug] Resources - Archive 'depthai-bootloader-fwp-0.0.18+c555ac2fb184b801291c95f7f73d23bf4dd42cf1.tar.xz' open: 3ms, archive read: 269ms
[2022-05-16 18:19:37.045] [debug] Resources - Archive 'depthai-device-fwp-db9c1703c929df0de6cc99b198d2d149f1735598.tar.xz' open: 9ms, archive read: 1096ms
Listing available devices...
Device Mx ID: 14442C10F1B6C2D200
[2022-05-16 18:19:38.479] [debug] Device - OpenVINO version: 2021.4
[2022-05-16 18:19:38.481] [debug] Device - BoardConfig: {"gpio":[],"network":{"mtu":0,"xlinkTcpNoDelay":true},"pcieInternalClock":null,"sysctl":[],"uart":[],"usb":{"flashBootedPid":63037,"flashBootedVid":999,"maxSpeed":4,"pid":63035,"vid":999},"usb3PhyInternalClock":null,"watchdogInitialDelayMs":null,"watchdogTimeoutMs":null}
libnop:
0000: b9 09 b9 05 81 e7 03 81 3b f6 81 e7 03 81 3d f6 04 b9 02 00 01 ba 00 be be bb 00 bb 00 be be
[14442C10F1B6C2D200] [233.863] [system] [info] Memory Usage - DDR: 0.12 / 341.19 MiB, CMX: 2.05 / 2.50 MiB, LeonOS Heap: 7.22 / 78.13 MiB, LeonRT Heap: 2.88 / 41.43 MiB
[14442C10F1B6C2D200] [233.863] [system] [info] Temperatures - Average: 38.94 °C, CSS: 40.04 °C, MSS 38.41 °C, UPA: 38.41 °C, DSS: 38.88 °C
[14442C10F1B6C2D200] [233.863] [system] [info] Cpu Usage - LeonOS 10.75%, LeonRT: 2.02%
[2022-05-16 18:19:40.190] [debug] Schema dump: {"connections":[{"node1Id":4,"node1Output":"out","node1OutputGroup":"","node2Id":5,"node2Input":"in","node2InputGroup":""},{"node1Id":2,"node1Output":"depth","node1OutputGroup":"","node2Id":3,"node2Input":"in","node2InputGroup":""},{"node1Id":1,"node1Output":"out","node1OutputGroup":"","node2Id":2,"node2Input":"right","node2InputGroup":""},{"node1Id":0,"node1Output":"out","node1OutputGroup":"","node2Id":2,"node2Input":"left","node2InputGroup":""},{"node1Id":8,"node1Output":"out","node1OutputGroup":"","node2Id":9,"node2Input":"in","node2InputGroup":""},{"node1Id":8,"node1Output":"passthrough","node1OutputGroup":"","node2Id":10,"node2Input":"in","node2InputGroup":""},{"node1Id":2,"node1Output":"depth","node1OutputGroup":"","node2Id":8,"node2Input":"inputDepth","node2InputGroup":""},{"node1Id":6,"node1Output":"preview","node1OutputGroup":"","node2Id":8,"node2Input":"in","node2InputGroup":""},{"node1Id":6,"node1Output":"isp","node1OutputGroup":"","node2Id":7,"node2Input":"in","node2InputGroup":""}],"globalProperties":{"calibData":null,"cameraTuningBlobSize":null,"cameraTuningBlobUri":"","leonCssFrequencyHz":700000000.0,"leonMssFrequencyHz":700000000.0,"pipelineName":null,"pipelineVersion":null,"xlinkChunkSize":-1},"nodes":[[0,{"id":0,"ioInfo":[[["","out"],{"blocking":false,"group":"","name":"out","queueSize":8,"type":0,"waitForMessage":false}],[["","raw"],{"blocking":false,"group":"","name":"raw","queueSize":8,"type":0,"waitForMessage":false}],[["","inputControl"],{"blocking":true,"group":"","name":"inputControl","queueSize":8,"type":3,"waitForMessage":false}]],"name":"MonoCamera","properties":[185,5,185,20,0,3,0,185,3,0,0,0,185,5,0,0,0,0,0,185,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,255,0,136,0,0,112,65]}],[1,{"id":1,"ioInfo":[[["","out"],{"blocking":false,"group":"","name":"out","queueSize":8,"type":0,"waitForMessage":false}],[["","raw"],{"blocking":false,"group":"","name":"raw","queueSize":8,"type":0,"waitForMessage":false}],[["","inputControl"],{"blocking":true,"group":"","name":"inputControl","queueSize":8,"type":3,"waitForMessage":false}]],"name":"MonoCamera","properties":[185,5,185,20,0,3,0,185,3,0,0,0,185,5,0,0,0,0,0,185,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,255,0,136,0,0,112,65]}],[2,{"id":2,"ioInfo":[[["","depth"],{"blocking":false,"group":"","name":"depth","queueSize":8,"type":0,"waitForMessage":false}],[["","rectifiedLeft"],{"blocking":false,"group":"","name":"rectifiedLeft","queueSize":8,"type":0,"waitForMessage":false}],[["","syncedLeft"],{"blocking":false,"group":"","name":"syncedLeft","queueSize":8,"type":0,"waitForMessage":false}],[["","syncedRight"],{"blocking":false,"group":"","name":"syncedRight","queueSize":8,"type":0,"waitForMessage":false}],[["","rectifiedRight"],{"blocking":false,"group":"","name":"rectifiedRight","queueSize":8,"type":0,"waitForMessage":false}],[["","outConfig"],{"blocking":false,"group":"","name":"outConfig","queueSize":8,"type":0,"waitForMessage":false}],[["","debugExtDispLrCheckIt2"],{"blocking":false,"group":"","name":"debugExtDispLrCheckIt2","queueSize":8,"type":0,"waitForMessage":false}],[["","debugDispCostDump"],{"blocking":false,"group":"","name":"debugDispCostDump","queueSize":8,"type":0,"waitForMessage":false}],[["","confidenceMap"],{"blocking":false,"group":"","name":"confidenceMap","queueSize":8,"type":0,"waitForMessage":false}],[["","debugDispLrCheckIt2"],{"blocking":false,"group":"","name":"debugDispLrCheckIt2","queueSize":8,"type":0,"waitForMessage":false}],[["","debugDispLrCheckIt1"],{"blocking":false,"group":"","name":"debugDispLrCheckIt1","queueSize":8,"type":0,"waitForMessage":false}],[["","debugExtDispLrCheckIt1"],{"blocking":false,"group":"","name":"debugExtDispLrCheckIt1","queueSize":8,"type":0,"waitForMessage":false}],[["","disparity"],{"blocking":false,"group":"","name":"disparity","queueSize":8,"type":0,"waitForMessage":false}],[["","inputConfig"],{"blocking":false,"group":"","name":"inputConfig","queueSize":4,"type":3,"waitForMessage":false}],[["","left"],{"blocking":false,"group":"","name":"left","queueSize":8,"type":3,"waitForMessage":true}],[["","right"],{"blocking":false,"group":"","name":"right","queueSize":8,"type":3,"waitForMessage":true}]],"name":"StereoDepth","properties":[185,16,185,5,185,8,0,2,136,0,0,122,68,1,0,1,5,3,185,7,5,0,185,5,0,2,136,0,0,0,63,0,1,185,4,0,3,136,205,204,204,62,0,185,2,0,134,255,255,0,0,185,2,0,50,185,2,1,0,185,4,255,0,1,0,185,5,1,0,0,128,200,185,3,0,2,127,185,5,1,128,250,129,244,1,128,250,129,244,1,0,1,0,190,190,190,190,1,185,5,189,0,189,0,190,16,16,0,3,255,255,1,190]}],[3,{"id":3,"ioInfo":[[["","in"],{"blocking":true,"group":"","name":"in","queueSize":8,"type":3,"waitForMessage":true}]],"name":"XLinkOut","properties":[185,3,136,0,0,128,191,189,5,100,101,112,116,104,0]}],[4,{"id":4,"ioInfo":[[["","out"],{"blocking":false,"group":"","name":"out","queueSize":8,"type":0,"waitForMessage":false}]],"name":"IMU","properties":[185,3,186,2,185,5,0,0,0,129,244,1,20,185,5,0,0,0,129,144,1,21,5,20]}],[5,{"id":5,"ioInfo":[[["","in"],{"blocking":true,"group":"","name":"in","queueSize":8,"type":3,"waitForMessage":true}]],"name":"XLinkOut","properties":[185,3,136,0,0,128,191,189,3,105,109,117,0]}],[6,{"id":6,"ioInfo":[[["","preview"],{"blocking":false,"group":"","name":"preview","queueSize":8,"type":0,"waitForMessage":false}],[["","still"],{"blocking":false,"group":"","name":"still","queueSize":8,"type":0,"waitForMessage":false}],[["","isp"],{"blocking":false,"group":"","name":"isp","queueSize":8,"type":0,"waitForMessage":false}],[["","video"],{"blocking":false,"group":"","name":"video","queueSize":8,"type":0,"waitForMessage":false}],[["","raw"],{"blocking":false,"group":"","name":"raw","queueSize":8,"type":0,"waitForMessage":false}],[["","inputConfig"],{"blocking":false,"group":"","name":"inputConfig","queueSize":8,"type":3,"waitForMessage":false}],[["","inputControl"],{"blocking":true,"group":"","name":"inputControl","queueSize":8,"type":3,"waitForMessage":false}]],"name":"ColorCamera","properties":[185,18,185,20,0,3,0,185,3,0,0,0,185,5,0,0,0,0,0,185,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,129,160,1,129,160,1,255,255,255,255,0,136,0,0,240,65,136,0,0,128,191,136,0,0,128,191,1,185,4,2,3,2,3]}],[7,{"id":7,"ioInfo":[[["","in"],{"blocking":true,"group":"","name":"in","queueSize":8,"type":3,"waitForMessage":true}]],"name":"XLinkOut","properties":[185,3,136,0,0,128,191,189,3,114,103,98,0]}],[8,{"id":8,"ioInfo":[[["","out"],{"blocking":false,"group":"","name":"out","queueSize":8,"type":0,"waitForMessage":false}],[["","passthroughDepth"],{"blocking":false,"group":"","name":"passthroughDepth","queueSize":8,"type":0,"waitForMessage":false}],[["","passthrough"],{"blocking":false,"group":"","name":"passthrough","queueSize":8,"type":0,"waitForMessage":false}],[["","boundingBoxMapping"],{"blocking":false,"group":"","name":"boundingBoxMapping","queueSize":8,"type":0,"waitForMessage":false}],[["","in"],{"blocking":false,"group":"","name":"in","queueSize":5,"type":3,"waitForMessage":true}],[["","inputDepth"],{"blocking":false,"group":"","name":"inputDepth","queueSize":4,"type":3,"waitForMessage":true}]],"name":"SpatialDetectionNetwork","properties":[185,15,0,130,128,188,185,0,189,12,97,115,115,101,116,58,95,95,98,108,111,98,8,0,0,136,0,0,0,63,80,4,186,12,136,0,0,32,65,136,0,0,96,65,136,0,0,184,65,136,0,0,216,65,136,0,0,20,66,136,0,0,104,66,136,0,0,162,66,136,0,0,164,66,136,0,0,7,67,136,0,0,41,67,136,0,0,172,67,136,0,128,159,67,187,2,189,6,115,105,100,101,49,51,188,12,3,0,0,0,4,0,0,0,5,0,0,0,189,6,115,105,100,101,50,54,188,12,1,0,0,0,2,0,0,0,3,0,0,0,136,0,0,0,63,136,0,0,0,63,185,2,100,129,16,39,0]}],[9,{"id":9,"ioInfo":[[["","in"],{"blocking":true,"group":"","name":"in","queueSize":8,"type":3,"waitForMessage":true}]],"name":"XLinkOut","properties":[185,3,136,0,0,128,191,189,10,100,101,116,101,99,116,105,111,110,115,0]}],[10,{"id":10,"ioInfo":[[["","in"],{"blocking":true,"group":"","name":"in","queueSize":8,"type":3,"waitForMessage":true}]],"name":"XLinkOut","properties":[185,3,136,0,0,128,191,189,7,112,114,101,118,105,101,119,0]}]]}
[2022-05-16 18:19:40.191] [debug] Asset map dump: {"map":{"/node/8/__blob":{"alignment":64,"offset":0,"size":12172416}}}
[14442C10F1B6C2D200] [234.204] [MonoCamera(1)] [info] Using board socket: 2, id: 2
[14442C10F1B6C2D200] [234.204] [MonoCamera(0)] [info] Using board socket: 1, id: 1
[14442C10F1B6C2D200] [234.207] [system] [info] ImageManip internal buffer size '80640'B, shave buffer size '34816'B
[14442C10F1B6C2D200] [234.208] [system] [info] SpatialLocationCalculator shave buffer size '29696'B
[14442C10F1B6C2D200] [234.208] [system] [info] SIPP (Signal Image Processing Pipeline) internal buffer size '16384'B
[14442C10F1B6C2D200] [234.243] [system] [info] NeuralNetwork allocated resources: shaves: [0-9] cmx slices: [0-9]
ColorCamera allocated resources: no shaves; cmx slices: [13-15]
MonoCamera allocated resources: no shaves; cmx slices: [13-15]
StereoDepth allocated resources: shaves: [12-12] cmx slices: [10-12]
ImageManip allocated resources: shaves: [15-15] no cmx slices.
SpatialLocationCalculator allocated resources: shaves: [14-14] no cmx slices.
Device USB status: [14442C10F1B6C2D200] [234.249] [StereoDepth(2)] [info] Using focal length from calibration intrinsics '861.98376'
[14442C10F1B6C2D200] [234.263] [SpatialDetectionNetwork(8)] [info] Needed resources: shaves: 6, ddr: 5191680
[14442C10F1B6C2D200] [234.264] [SpatialDetectionNetwork(8)] [warning] Network compiled for 6 shaves, maximum available 10, compiling for 5 shaves likely will yield in better performance
[14442C10F1B6C2D200] [234.280] [SpatialDetectionNetwork(8)] [info] Inference thread count: 1, number of shaves allocated per thread: 6, number of Neural Compute Engines (NCE) allocated per thread: 2
SUPER
[14442C10F1B6C2D200] [234.586] [IMU(4)] [info] IMU product ID:
[14442C10F1B6C2D200] [234.586] [IMU(4)] [info] Part 10004148 : Version 3.2.13 Build 6
[14442C10F1B6C2D200] [234.586] [IMU(4)] [info] Part 10003606 : Version 1.2.4 Build 230
[14442C10F1B6C2D200] [234.586] [IMU(4)] [info] Part 10003254 : Version 4.4.3 Build 485
[14442C10F1B6C2D200] [234.586] [IMU(4)] [info] Part 10003171 : Version 4.2.10 Build 548
[14442C10F1B6C2D200] [234.865] [system] [info] Memory Usage - DDR: 75.17 / 341.19 MiB, CMX: 2.25 / 2.50 MiB, LeonOS Heap: 48.39 / 78.13 MiB, LeonRT Heap: 5.36 / 41.43 MiB
[14442C10F1B6C2D200] [234.865] [system] [info] Temperatures - Average: 43.67 °C, CSS: 44.87 °C, MSS 43.27 °C, UPA: 43.73 °C, DSS: 42.81 °C
[14442C10F1B6C2D200] [234.865] [system] [info] Cpu Usage - LeonOS 41.80%, LeonRT: 22.85%
[2022-05-16 18:19:41.776] [debug] DataOutputQueue (depth) closed
[2022-05-16 18:19:41.777] [debug] DataOutputQueue (imu) closed
[2022-05-16 18:19:41.781] [debug] DataOutputQueue (detections) closed
[2022-05-16 18:19:41.781] [debug] Timesync thread exception caught: Couldn't read data from stream: '__timesync' (X_LINK_ERROR)
[2022-05-16 18:19:41.781] [debug] Log thread exception caught: Couldn't read data from stream: '__log' (X_LINK_ERROR)
[2022-05-16 18:19:41.782] [debug] DataOutputQueue (preview) closed
terminate called after throwing an instance of 'std::runtime_error'
what():  Communication exception - possible device error/misconfiguration. Original message 'Couldn't read data from stream: 'preview' (X_LINK_ERROR)'
Stack trace (most recent call last):
#10   Object "/home/ubuntu/dai_ws/devel/lib/depthai_examples/stereo_inertial_node", at 0xaaaac237d153, in $x
#9    Source "../csu/libc-start.c", line 308, in __libc_start_main [0xffff9594ce0f]
#8    Source "/home/ubuntu/dai_ws/src/luxonis/depthai-ros-examples/depthai_examples/ros1_src/stereo_inertial_publisher.cpp", line 369, in main [0xaaaac2380493]
366:             rgbPublish.addPublisherCallback();
367:
368:             if (enableSpatialDetection){
> 369:                 auto previewQueue = device->getOutputQueue("preview", 30, false);
370:                 auto detectionQueue = device->getOutputQueue("detections", 30, false);
371:                 auto previewCameraInfo = rgbConverter.calibrationToCameraInfo(calibrationHandler, dai::CameraBoardSocket::RGB, 416, 416);
#7    Source "/tmp/depthai-core/src/device/Device.cpp", line 109, in getOutputQueue [0xffff962ecc17]
[2022-05-16 18:19:42.361] [debug] Watchdog thread exception caught: Couldn't write data to stream: '__watchdog' (X_LINK_ERROR)
#6    Source "/tmp/depthai-core/src/device/DataQueue.cpp", line 121, in setMaxSize [0xffff963db33b]
#5    Object "/usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.28", at 0xffff95b62573, in __cxa_throw
#4    Object "/usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.28", at 0xffff95b6227f, in std::terminate()
#3    Object "/usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.28", at 0xffff95b6221b, in
#2    Object "/usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.28", at 0xffff95b648cb, in __gnu_cxx::__verbose_terminate_handler()
#1    Source "/build/glibc-RIFKjK/glibc-2.31/stdlib/abort.c", line 79, in abort [0xffff9594caab]
#0    Source "../sysdeps/unix/sysv/linux/raise.c", line 51, in raise [0xffff9595fd78]
Aborted (Signal sent by tkill() 39096 1000)
================================================================================REQUIRED process [stereo_inertial_publisher-2] has died!
process has died [pid 39096, exit code -6, cmd /home/ubuntu/dai_ws/devel/lib/depthai_examples/stereo_inertial_node __name:=stereo_inertial_publisher __log:=/home/ubuntu/.ros/log/838b0b56-d53f-11ec-9bbf-db787525b9cb/stereo_inertial_publisher-2.log].
log file: /home/ubuntu/.ros/log/838b0b56-d53f-11ec-9bbf-db787525b9cb/stereo_inertial_publisher-2*.log
Initiating shutdown!
[rviz-6] killing on exit
[depth_image_to_rgb_pointcloud-5] killing on exit
[depth_image_convertion_nodelet-4] killing on exit
[nodelet_manager-3] killing on exit
[stereo_inertial_publisher-2] killing on exit
[oak_state_publisher-1] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done
`

depth_image_convertion_nodelet-4-stdout.log
depth_image_to_rgb_pointcloud-5-stdout.log
master.log
roslaunch-ubuntu-39528.log
roslaunch-ubuntu-39579.log
rosout.log
rosout-1-stdout.log
rviz-6-stdout.log

Looks like a power issue. Provide external power supply to the OAK or disable by setting enableSpatialDetection=False as argument to ROS launch file. That might fix it.
I willl update the example to disable it by default.

It is externally powered directly from a 5Amp 5.2v BEC connected to a LIPO 150A battery. If it has a power issue it is not from the power supply maybe from the internal components.

Which device are you using ?

Tested with a wall adpater first brand and powering Jetson Nano and Aaeon X86 SBC without issues. And it is happening too
OAK-D

it crashed in both OAK-D, with different power supply, good ones, different cables, the original, but others too, from realsenses and one certified. Twice didn't crash in both cameras, but it wasn't showing the detection in the preview, so I assume it worked because the NN crashed in the background . After worked twice in both cameras, just started to crash again.
I guess it is easy to reproduce, cannot be my two cameras are no good and every cable a power supply.

I did a another test in a second rpi4 same problem, so two oaks , two RPi4, different cables and power supplies.
what I noted in the second rpi didnt send the IMU error, no idea, that is a different issue .

rgb_stereo example, the Rgb image is very laggy , in the stereo inertial when aligned is fine, Im not interested in this example but let you know.

The good news it looks it is working the auto config for Warp-dewarp mesh and it is working with homography I guess, I don't have black bands and the point cloud looks came back to the normality , noisy , but much better that with the mesh activated. Good it was rolled back, thanks by that.

With depth_aligned:=false nothing works , at 720p or 400p, no mono or depth image, but nothing crash, just no image.
I finish the tests here I hope you find something useful. When it works I would say it is a step forward if we leave the IMU aside.
cheers. Spatial is a very good thing to have.

OK, more tests in the end depth_aligned:=false in some specific setup worked and I can see the stereo streams, but it looks, stereo_inertial is still applying the mesh (bad thing) and the auto mode (auto mesh for fisheye) is not working but stereo_node is not applying the mesh, (good) what means or it wasn't changed by long time and it is not affected with the recent mesh changes, or it is taking the auto mode. So lucking this we are stepping back not forward.

the one good is the homography one stereo mode. the other two mesh in left and right

In other try is even more weird, it was without image in the right sensor by 1  minute, and after that appeared the image without the mesh applied, so Ok , but the other sensor as the mesh applied, so bad, as one have the the mesh and other not, there is no depth. The camera go in its own.
Also I show the IMU problem that affects to devel and Main branch , you can see how the imu is moving itself, it happens in both OAK-D
https://youtu.be/jjtVldqyEhU

Same thing in main branch.

Duplicate of one in depthai-ros here
https://github.com/luxonis/depthai-ros/issues/113


remoteNotificationReceived event not firing on foreground

I followed the android example installation, and it registers correctly and receives the notification correctly while the app is in killed state or on background. but while on foreground nothing seems to fire.
this is an example of the code I'm using:
import React, { Component } from 'react'
import {
  View,
  Alert,
  Image,
  TouchableOpacity,
  ImageBackground,
  Linking,
  AsyncStorage,
  StatusBar,
  Dimensions,
  NativeEventEmitter
} from 'react-native'

//-----------
const NotificationHub = require('react-native-azurenotificationhub');
const PushNotificationEmitter = new NativeEventEmitter(NotificationHub);

const NOTIF_REGISTER_AZURE_HUB_EVENT = 'azureNotificationHubRegistered';
const NOTIF_AZURE_HUB_REGISTRATION_ERROR_EVENT = 'azureNotificationHubRegistrationError';
const DEVICE_NOTIF_EVENT = 'remoteNotificationReceived';

const connectionString = '*****; // The Notification Hub connection string
const hubName = '*****';          // The Notification Hub name
const senderID = '*****';         // The Sender ID from the Cloud Messaging tab of the Firebase console
const tags = ['test'];           // The set of tags to subscribe to
//-----------

export default class LoginView extends Component {
  constructor(props) {
    super(props)
    PushNotificationEmitter.addListener(DEVICE_NOTIF_EVENT, this._onRemoteNotification);
  }

  register() {
    PushNotificationEmitter.addListener(NOTIF_REGISTER_AZURE_HUB_EVENT, this._onAzureNotificationHubRegistered);
    PushNotificationEmitter.addListener(NOTIF_AZURE_HUB_REGISTRATION_ERROR_EVENT, this._onAzureNotificationHubRegistrationError);

    NotificationHub.register({connectionString, hubName, senderID, tags})
      .catch(reason => console.warn(reason));
  }

  render() {
    this.register();
    return (
      <View>
        Example
      </View>
    )
  }
  _onAzureNotificationHubRegistered(registrationID) {
    console.warn('RegistrationID: ' + registrationID);
  }

  _onAzureNotificationHubRegistrationError(error) {
    console.warn('Error: ' + error);
  }

  _onRemoteNotification(notification) {
    console.warn('Notification received: ' + notification);
  }
}

Thanks!

Can you please share your android related files, its not working for me. It gets registered successfully but i m not receiving any notifications.

Please try again with v0.9.0.

It doesn't Work with latest version also
"react-native-azurenotificationhub": "^0.9.5-Patched.1",

I am also unable to receive notification on android :( we are sending push notification through Azure Notif Hub portal but android is not receiving it.

I'm able to get notifications when app is background, but when its foreground it doesn't work. remoteNotificationReceived is also not being called in android?
Please help! Thanks in advance.


Unable to interface 4x4 keypad.

I'm trying to interface 4x4 keypad with pcf8575, I'm having trouble with pins and also with code. Can anyone assist me. Thanks.

As I am rather busy (projects), better ask it on the Arduino Forum.
Might takes several days before I can dive into thsi.
Note that for a 4x4 you better use the - https://github.com/RobTillaart/I2CKeyPad

Thank you for your response.  Does this  works with pcf8575.

(not tested)
You need to connect only 4 rows and 4 columns if you want to use a PCF8575.
The other rows / columns should not be connected.

I tried r1-r3 to p0 to p3 and c1 - c3 to p4 - p7. It's printing F which means fail. Can you help me with wiring. Thanks.

Does this https://github.com/RobTillaart/I2CKeyPad works with pcf8575.

No with the PCF8574

It's printing code (17) which means fail. Can you help me with wiring. Thanks.

That is not correct (probably bug in documentation
#define I2C_KEYPAD8x8_FAIL                65

FYI,
indeed a documentation bug, created a develop branch with a fix.

I tried r1-r3 to p0 to p3 and c1 - c3 to p4 - p7.

So do you get other values than 17 (which isn't fail) from your setup?

No, it just prints 17 continuously and it doesn't take any keypad inputs. Can you help me with the wiring.

use the I2CKeyPad8x8 library and connect the PCF8575 I2C to your board.
Be sure to use appropriate pull up resistors

disconnect the keypad completely
run I2Ckeypad8x8_demo01.ino

It should only print its filename (+ path)
Then connect PCF8575  IO pin 0  to  IO pin  8  with a wire, just to simulate a keypress.
What do you get?

Then connect IO pin 0 to pin 9,10,11,12,13,14,15
This should give you different key values

I'll try what you suggested and tell you how it goes tomorrow. Thanks for
your help!
On Thu, Sep 26, 2024 at 8:02 PM Rob Tillaart @.***>
wrote:

Then connect IO pin 0 to pin 9,10,11,12,13,14,15
This should give you different key values
—
Reply to this email directly, view it on GitHub
https://github.com/RobTillaart/I2CKeyPad8x8/issues/7#issuecomment-2377148607,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AENDXSEQPP676FTWKSPKUPDZYQLIFAVCNFSM6AAAAABO44YC4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZXGE2DQNRQG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

use the I2CKeyPad8x8 library and connect the PCF8575 I2C to your board. Be sure to use appropriate pull up resistors
1. disconnect the keypad completely

2. run I2Ckeypad8x8_demo01.ino

It should only print its filename (+ path)
Then connect PCF8575 IO pin 0 to IO pin 8 with a wire, just to simulate a keypress.
What do you get?

There seems to be a problem with my PCF8575. Even when no keypad is connected, it still prints values (see attachment). I've used pull-up resistors, by the way.

You only need pull ups on the I2C lines not on the PCF8575 IO lines.
64 = I2C_KEYPAD8X8_NOKEY so that part looks a bit promising.

Yes, I've connected pull-up resistors to the I2C lines only, not to the I/O lines. Then I tried shorting IO pin 0 to pin 9, 8, 10. It is showing different values.

Then I tried shorting IO pin 0 to pin 9, 8, 10. It is showing different values.

That are probably successful keypresses, when e.g. 0 connects 9 the value should be stable.
The difference in value between connecting 9 or 10 should be 1 or 8. Can you confirm?

When P00 is connected to P10, it shows 0. For P11, it shows 8; for P12, it shows 16; and for P13, it shows 24. I can confirm that the values are stable when connected.

So that looks like the library is working as it should.
It does not explain why there are FAIL's repeatedly.
If you now reconnect the 4x4 keypad rows to P00..P03 and columns to P08..P11
Does it give stable values?

My board doesn't have P08, P09 and P10. I've attached the image.

OK,
rows to P00-P03
columns to P10-P13

The keypad is working and shows different values for different key presses. How can I load a keymap for this? Thanks.

something like this (to be elaborated)

// global variable
char km[65] ;

I2CKeyPad8x8  keypad(...);

void setup()
{
  ...
  //  configure the keymap
  km[0] = '1';
  km[8] = '2';
  // etc;
  // load the keymap.
  keypad.loadKeyMap(km);
  ...
}

Thanks for the code. I used the keymap example from your 4x4 Keypad library. It is working, but the issue is that whenever a key is pressed and held, it shows some random values that are not present in the keymap. Please see the attachment. Thanks.

I have one more question: is it possible to use the remaining I/O pins for other functions like controlling Led's and stuff?

Good question,
think you need to modify the library for that as the lib uses all pins to efficiently scan an 8x8 matrix.
Thinking out loud, I expect you need to mask the rows and columns so the current  algorithm only takes the half of the bits into account. Not tested.

I think I'll leave those pins unused for now. Thank you so much for your incredible support and contributions. Your expertise and assistance have been invaluable, and I truly appreciate the time and effort you've put into helping me. You've made a significant difference in the success of this project, and I'm deeply grateful. You can close this issue.

An experiment you could try is to use the I2CKeyPad library for the PCF8575.
As the PCF8574 and 75 are quite alike it might be possible to use only P00-P07 for the keypad.
This could leave the P10-P17 free to use without interference.

if you have loaded the keyMap, you should use the getChar() function, this does the lookup fot you.
See documentation.

As problem is solved, the issue is closed. Feel free to add comments if needed.


add ut for utils/http-middlewares

Description
The test coverage of dapr/utils/http-middlewares.go is 0% currently. I added some simple scenarios to test its methods.

/test-sdk-all


Dastore login

Use DAStore to store login tokens for Tyler per user, server wide. This lets us make separate interview flows (better for stability and repeated actions than trying to manage things in interview) for managing different aspects of the filing process, like payments and service accounts, and means people don't have to log back in for each of those.
Everything is in, but want to use it a bit more to make sure it works, and maybe do some more manual testing regarding upgrading, so it doesn't break existing interview sessions at all.

I'm pretty confident in this, I have been using locally for a while now, and nothing has popped up. Did another close look and I don't think it should mess up any one's existing sessions, but I'll keep a close eye on things.


Running fdedup in the Notebook examples directory has a bug

Search before asking

[X] I searched the issues and found no similar issues.

Component
Other
What happened + What you expected to happen
This is the output from the cell that executes the Fuzzy Dedup module:

ModuleNotFoundError                       Traceback (most recent call last)
Cell In[10], line 5
2 import sys
4 from data_processing.utils import ParamsUtils
----> 5 from fdedup_transform_ray import FdedupRayTransformConfiguration
7 # create parameters
9 local_conf = {
10     "input_folder": input_folder,
11     "output_folder": output_folder,
12 }
File ~/Documents/GitHub/data-prep-kit-testing/data-prep-kit/transforms/universal/fdedup/ray/src/fdedup_transform_ray.py:39
30 from data_processing_ray.runtime.ray import (
31     DefaultRayTransformRuntime,
32     RayTransformFileProcessor,
33     RayTransformLauncher,
34     RayUtils,
35 )
36 from data_processing_ray.runtime.ray.runtime_configuration import (
37     RayTransformRuntimeConfiguration,
38 )
---> 39 from fdedup_support import (
40     REQUEST_LEN,
41     BucketsHash,
42     BucketsHashProcessor,
43     BucketsHashProcessorInvoker,
44     DocCollector,
45     DocsMinHash,
46     MurmurMH,
47     fuzzy_optimal_param,
48     get_snapshot_folder,
49 )
50 from ray.actor import ActorHandle
51 from ray.util import ActorPool
File ~/Documents/GitHub/data-prep-kit-testing/data-prep-kit/transforms/universal/fdedup/ray/src/fdedup_support.py:24
22 from ray.actor import ActorHandle
23 from ray.util import ActorPool
---> 24 from scipy.integrate import quad as integrate
27 NO_SIMILARITY = -1
28 REQUEST_LEN = 4096
ModuleNotFoundError: No module named 'scipy'
Reproduction script
Run the Notebook in the examples directory, until you get to the fuzzy dedup module
Anything else
No response
OS
MacOS (limited support)
Python
3.11.x
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Please check this https://github.com/IBM/data-prep-kit/pull/401

Thanks, @shivdeep-singh-ibm . It's fixed.


How to make dropdown menu width by content?

Here is example:

Code:
https://codepen.io/bubnenkoff/pen/VwMmEgb

dropdown left no-wrap


Fix no slots available error with concurrent requests

This fixes a few issues with queuing requests:

Always wait for the server.cpp ready state to avoid "server busy" errors this should fix no slots available

Fixes #4159

Totally, I think only Completion actually needs it to be ready. Tokenize and Detokenize only need it to be running. I can update this

This should be ready for re-review now

@jimysancho which version are you running?


Update README

about stopwatch

Codecov Report
Patch and project coverage have no change.

Comparison is base (cd2a28c) 72.58% compared to head (92a1f13) 72.58%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #37   +/-   ##
=======================================
  Coverage   72.58%   72.58%
=======================================
  Files           5        5
  Lines          62       62
  Branches        7        7
=======================================
  Hits           45       45
  Misses         11       11
  Partials        6        6

Flag
Coverage Δ

unittests
72.58% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Scaler threading

Codecov Report

Merging #29 (e310bc3) into master (2590d96) will decrease coverage by 0.21%.
The diff coverage is 6.25%.

@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
- Coverage   44.68%   44.46%   -0.22%
==========================================
  Files          38       38
  Lines        4375     4421      +46
==========================================
+ Hits         1955     1966      +11
- Misses       2420     2455      +35

Impacted Files
Coverage Δ

assemblyline_core/scaler/controllers/docker_ctl.py
14.61% <0.00%> (-0.21%)
:arrow_down:

assemblyline_core/scaler/scaler_server.py
29.97% <6.66%> (-2.27%)
:arrow_down:

assemblyline_core/dispatching/dispatcher.py
89.14% <0.00%> (-1.15%)
:arrow_down:

assemblyline_core/dispatching/dispatch_hash.py
93.70% <0.00%> (+1.57%)
:arrow_up:

assemblyline_core/dispatching/client.py
72.93% <0.00%> (+1.83%)
:arrow_up:

assemblyline_core/dispatching/run_submissions.py
76.92% <0.00%> (+4.61%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2590d96...e310bc3. Read the comment docs.


Port Zephyr to Cypress PSoC 6 MCU's

Based on ARM M4 & M0+
http://www.cypress.com/products/32-bit-arm-cortex-m4-psoc-6
Since their IDE "PSoC Creator" is Windows only, having an alternative tool-chain would be much appreciated by the community.

Seems Cypress made an effort and now supports an alternative tool-chain that would make this more doable without the previous psoc creator dependency to configure the IC & peripherals.
http://www.cypress.com/products/modustoolbox-integrated-design-environment-ide

There's ongoing work on adding PSoC6 support happening in the branch https://github.com/nazrchorn/zephyr/tree/add_psoc6 .

Also the PR: https://github.com/zephyrproject-rtos/zephyr/pull/8408

Great to see work being done on this! Thanks Cypress!
Historically in PSoC Creator, there has been quite good maintenance on the driver libraries (PDL's and also the Verilog modules) with updates (based on bug-reports) coming every now & then.
I saw that there is now a hot-copy here https://github.com/cypress/pdl which is great.
@galak is there a plan to use github as the source from now on as the source for patches and new PDL releases? if yes, what's the best/smoothest way to integrate these back into Zephyrs driver-tree?

@galak Can we close this now that this is merged?

I've checked this out and right now there is only a hard-coded UART supported.
Would be great with the full peripheral-set of the PSoC 6 as well as offering a more flexible pin-configuration.

@raveslave thanks for chiming in. @nazrchorn @OlegKapshii do you have plans to improve and extend the port?

Yes. We will extend it.

Any plans on when?

@raveslave : All the time ;-). You can search pull requests for "psoc6" for the current work in progress. E.g. right now you can help with reviewing and testing https://github.com/zephyrproject-rtos/zephyr/pull/10601. (And without help with testing, it's all going to be very-very slow.)
Oh, and btw, I wouldn't close this ticket, given the community interest. (I.e. this ticket can be subscribed to by interested parties, and updates can be given here once in a while).

We'd be happy to do testing, but we need more things in place first

peripherals:

i2c, spi, i2s, sdio, pdm, usb, etc..
other psoc 6 specifics, i.e. the analog blocks

pin-config & routing

@galak can you please look into this and re-open this issue.

@raveslave: As you can see, the current thing which needs testing is IPM communication between the cores.
Reopening based on the community request, reassigning to me. I'll try to post updates to this, and we can open at least until 1.14 release I guess.

@pfalcon @OlegKapshii what's the current status & plans here?

Hello, Iam new to zephyr and psoc6. Is there any document or link where i can check the supported features/ Drivers for psoc6 particularly. Also, specific way to check issues related to Psoc6?
Thanks in advance for your effort !
BR
Vinay

Hello,
All available documentation is in boards/arm/cy8ckit_062_wifi_bt_m0 (m4) doc folders. There are also some links to Cypress PSoC6 resources. At the moment, there is a basic PSoC6 support added (cy8ckit_062_wifi_bt board), a device tree created, a sample project can be compiled and loaded into a PSoC6 board (hello_world e.g.).
There are two UART ports in the device tree: one for CM0 core, one - for CM4.
There are also two PRs, which are waiting for merging into master (Psoc6 add ipm #10601 and Psoc6 add protection #11777), that should add some more complex features support for PSoC6 in Zephyr.

Basic support for PSOC6 is in zephyr.  Additional driver support would need to be provided by community members that have an interest.


Feat: Implement seperate methods for integer and double

As per the recent spec change https://github.com/open-feature/spec/pull/116

Add GetDoubleValue, GetDoubleDetails and ResolveDoubleValue to FeatureProvider interface
and FeatureClient
[Breaking change] Rename GetNumberValue, GetNumberDetails to GetIntegerValue, GetIntegerDetails
Add tests for new methods

Codecov Report

Merging #31 (778fa9b) into main (4446810) will increase coverage by 0.34%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #31      +/-   ##
==========================================
+ Coverage   99.32%   99.66%   +0.34%
==========================================
  Files          15       15
  Lines         297      303       +6
  Branches       22       22
==========================================
+ Hits          295      302       +7
+ Partials        2        1       -1

Impacted Files
Coverage Δ

src/OpenFeature/Constant/Reason.cs
100.00% <ø> (ø)

src/OpenFeature/Error/FeatureProviderException.cs
100.00% <ø> (ø)

src/OpenFeature/Extension/EnumExtensions.cs
100.00% <ø> (ø)

...enFeature/Extension/ResolutionDetailsExtensions.cs
100.00% <ø> (ø)

src/OpenFeature/Hook.cs
100.00% <ø> (ø)

src/OpenFeature/Model/ClientMetadata.cs
100.00% <ø> (ø)

src/OpenFeature/Model/EvaluationContext.cs
100.00% <ø> (ø)

src/OpenFeature/Model/FlagEvaluationOptions.cs
100.00% <ø> (ø)

src/OpenFeature/Model/FlagEvalusationDetails.cs
100.00% <ø> (ø)

src/OpenFeature/Model/HookContext.cs
100.00% <ø> (ø)

... and 6 more

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Checking if a node has already been added before adding it

I see a bug in this when the compute and GPU nodes share a name pattern, as in compute-N and gpu-compute-N. Working on a fix now.

Realized I hadn't put in the correct node add command.


Correct links in Doc pages

Description
This PR fixes #2608
Notes for Reviewers
This is a follow up to previous PR #2665
Signed commits

[x] Yes, I signed my commits.

@leecalcote @navendu-pottekkat links are fixed... Good to merge


Program freezes by typing in a code input which uses a custom lexer

2.0.0

Python: 3.8
OS: Windows
Kivy: 2.0.0
Kivy installation method: pip

Describe the bug
Program freezes(doesn't responds) when we start typing in a code input which has a custom lexer(handmade, not imported from pygments lib)
Expected behavior
Code Input works with lexer
To Reproduce
from kivy.lang import Builder
from kivy.app import App

KV = '''
Screen:
    CodeInput:
        lexer: app.lexer
        style_name: "fruity"
'''

class MainApp(App):
    def build(self):
        self.lexer = LambdaCodeLexer()
        return Builder.load_string(KV)

if __name__ == '__main__':
    MainApp().run()

# ------ CUSTOM LEXER CLASS-------- #

import re
from pygments.lexer import RegexLexer, bygroups
from pygments.token import Keyword, Comment, String

class LambdaCodeLexer(RegexLexer):
    name = 'LambdaCode'

    tokens = {
        'root': [
            (r"\bimport|func|endfunc|string|if|elseif|while|for|\b", Keyword),
            (r'/\*', Comment.Multiline, 'comment'),
            (r"\/*", Comment.Multiline, 'comment'),
        ],
        'comment': [
            (r'[^*/]', Comment.Multiline),
            (r'/\*', Comment.Multiline, '#push'),
            (r'\*/', Comment.Multiline, '#pop'),
            (r'[*/]', Comment.Multiline)
        ]
    }

While I agree it freezes, this is still a long way from being a bug report on Kivy.
By far the most likely explanation is your lexer is freezing up, taking Kivy with it.
That might be something about the pygments lexer class, it might be something about the way you have configured it. (It might be something about Python's regexp library, but I doubt it!)
You need to do some debugging before raising an issue with Kivy.


Aviv

Give a longer description of what this PR addresses and why it's needed
add introduction.md and instruction.png image, then change the configuration for the instruction image on config-cleveland-replication.json
Are there any additional TODOs before this PR is ready to go?
TODOs:

[ ] Update introduction.md
[ ] Update help.md

Hi all— this PR is targeting the main repo— not your branch for class. You’ll want to fix that— reach out to me & staff on Slack if you need help 👍