ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. relevinsky
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 30
    • Posts 43
    • Best 0
    • Controversial 0
    • Groups 0

    relevinsky

    @relevinsky

    0
    Reputation
    17
    Profile views
    43
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    relevinsky Unfollow Follow

    Latest posts made by relevinsky

    • compiling voxl-tflite-server

      Hi,
      I'm trying to compile/linkage the latest (master branch) voxl-tflite-server code on VOXL2.I'm working with SDK 0.9 .
      But during my linkage of the project, i run into the following problems:

      Invoking: GCC C++ Linker
      g++ -L/usr/lib64 -Wl,-rpath-link,/usr/lib64/ -o "powtflite"  ./inference_helper.o ./main.o ./resize.o    -ltensorflow-lite -labsl_bad_any_cast_impl -labsl_bad_optional_access -labsl_bad_variant_access -labsl_base -labsl_city -labsl_civil_time -labsl_cord -labsl_debugging_internal -labsl_demangle_internal -labsl_exponential_biased -labsl_flags -labsl_flags_commandlineflag -labsl_flags_commandlineflag_internal -labsl_flags_config -labsl_flags_internal -labsl_flags_marshalling -labsl_flags_private_handle_accessor -labsl_flags_program_name -labsl_flags_reflection -labsl_graphcycles_internal -labsl_hash -labsl_hashtablez_sampler -labsl_int128 -labsl_log_severity -labsl_malloc_internal -labsl_raw_hash_set -labsl_raw_logging_internal -labsl_spinlock_wait -labsl_stacktrace -labsl_status -labsl_str_format_internal -labsl_strings -labsl_strings_internal -labsl_symbolize -labsl_synchronization -labsl_throw_delegate -labsl_time -labsl_time_zone -labsl_wyhash -labsl_bad_any_cast_impl -labsl_bad_optional_access -labsl_bad_variant_access -labsl_base -labsl_city -labsl_civil_time -labsl_cord -labsl_debugging_internal -labsl_demangle_internal -labsl_exponential_biased -labsl_flags -labsl_flags_commandlineflag -labsl_flags_commandlineflag_internal -labsl_flags_config -labsl_flags_internal -labsl_flags_marshalling -labsl_flags_private_handle_accessor -labsl_flags_program_name -labsl_flags_reflection -labsl_graphcycles_internal -labsl_hash -labsl_hashtablez_sampler -labsl_int128 -labsl_log_severity -labsl_malloc_internal -labsl_raw_hash_set -labsl_raw_logging_internal -labsl_spinlock_wait -labsl_stacktrace -labsl_status -labsl_str_format_internal -labsl_strings -labsl_strings_internal -labsl_symbolize -labsl_synchronization -labsl_throw_delegate -labsl_time -labsl_time_zone -labsl_wyhash -labsl_bad_any_cast_impl -labsl_bad_optional_access -labsl_bad_variant_access -labsl_base -labsl_city -labsl_civil_time -labsl_cord -labsl_debugging_internal -labsl_demangle_internal -labsl_exponential_biased -labsl_flags -labsl_flags_commandlineflag -labsl_flags_commandlineflag_internal -labsl_flags_config -labsl_flags_internal -labsl_flags_marshalling -labsl_flags_private_handle_accessor -labsl_flags_program_name -labsl_flags_reflection -labsl_graphcycles_internal -labsl_hash -labsl_hashtablez_sampler -labsl_int128 -labsl_log_severity -labsl_malloc_internal -labsl_raw_hash_set -labsl_raw_logging_internal -labsl_spinlock_wait -labsl_stacktrace -labsl_status -labsl_str_format_internal -labsl_strings -labsl_strings_internal -labsl_symbolize -labsl_synchronization -labsl_throw_delegate -labsl_time -labsl_time_zone -labsl_wyhash -lflatbuffers -lcpuinfo -lfarmhash -lclog -lfft2d_fftsg2d -lfft2d_fftsg -lruy_allocator -lruy_apply_multiplier -lruy_block_map -lruy_blocking_counter -lruy_context -lruy_context_get_ctx -lruy_cpuinfo -lruy_ctx -lruy_denormal -lruy_frontend -lruy_have_built_path_for_avx -lruy_have_built_path_for_avx2_fma -lruy_have_built_path_for_avx512 -lruy_kernel_arm -lruy_kernel_avx -lruy_kernel_avx2_fma -lruy_kernel_avx512 -lruy_pack_arm -lruy_pack_avx -lruy_pack_avx2_fma -lruy_pack_avx512 -lruy_prepacked_cache -lruy_prepare_packed_matrices -lruy_profiler_instrumentation -lruy_system_aligned_alloc -lruy_thread_pool -lruy_trmul -lruy_tune -lruy_wait -lglib-2.0 -ldl -lstdc++ -lpthread -lz -lcutils -llog -lsync -lgthread-2.0 -lpcre -lmodal_pipe -lmodal_json -lopencv_core -lopencv_highgui -lopencv_imgproc -lopencv_imgcodecs -lgsl -lllvm-qcom -ladreno_utils -lOpenCL -lCB -lEGL_adreno -lGLESv2_adreno -lrt -lXNNPACK -lpthreadpool
      /usr/lib64/libtensorflow-lite.a(nnapi_delegate.cc.o): In function `tflite::delegate::nnapi::NNMemory::NNMemory(NnApi const*, char const*, unsigned long)':
      nnapi_delegate.cc:(.text+0xd58): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
      makefile:56: recipe for target 'powtflite' failed
      /usr/lib64/libruy_cpuinfo.a(cpuinfo.cc.o): In function `ruy::CpuInfo::~CpuInfo()':
      cpuinfo.cc:(.text+0x10): undefined reference to `cpuinfo_deinitialize'
      /usr/lib64/libruy_cpuinfo.a(cpuinfo.cc.o): In function `ruy::CpuInfo::Initialize()':
      cpuinfo.cc:(.text+0x44): undefined reference to `cpuinfo_initialize'
      cpuinfo.cc:(.text+0x58): undefined reference to `cpuinfo_get_processors_count'
      cpuinfo.cc:(.text+0x8c): undefined reference to `cpuinfo_get_processor'
      cpuinfo.cc:(.text+0xb8): undefined reference to `cpuinfo_get_processor'
      cpuinfo.cc:(.text+0xcc): undefined reference to `cpuinfo_get_processor'
      /usr/lib64/libruy_cpuinfo.a(cpuinfo.cc.o): In function `ruy::CpuInfo::NeonDotprod()':
      cpuinfo.cc:(.text+0x21c): undefined reference to `cpuinfo_isa'
      cpuinfo.cc:(.text+0x220): undefined reference to `cpuinfo_isa'
      /usr/lib64/libruy_cpuinfo.a(cpuinfo.cc.o): In function `ruy::CpuInfo::CurrentCpuIsA55ish()':
      cpuinfo.cc:(.text+0x2c0): undefined reference to `cpuinfo_get_current_uarch_index'
      cpuinfo.cc:(.text+0x2c4): undefined reference to `cpuinfo_get_uarch'
      /usr/lib64/libruy_cpuinfo.a(cpuinfo.cc.o): In function `ruy::CpuInfo::CurrentCpuIsX1()':
      cpuinfo.cc:(.text+0x304): undefined reference to `cpuinfo_get_current_uarch_index'
      cpuinfo.cc:(.text+0x308): undefined reference to `cpuinfo_get_uarch'
      /usr/lib64/libruy_thread_pool.a(thread_pool.cc.o): In function `ruy::ThreadPool::CreateThreads(int)':
      thread_pool.cc:(.text+0x1b4): undefined reference to `ruy::BlockingCounter::Reset(int)'
      thread_pool.cc:(.text+0x308): undefined reference to `ruy::BlockingCounter::Wait(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)'
      /usr/lib64/libruy_thread_pool.a(thread_pool.cc.o): In function `ruy::ThreadPool::ExecuteImpl(int, int, ruy::Task*)':
      thread_pool.cc:(.text+0x3dc): undefined reference to `ruy::BlockingCounter::Reset(int)'
      thread_pool.cc:(.text+0x494): undefined reference to `ruy::BlockingCounter::Wait(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)'
      /usr/lib64/libruy_thread_pool.a(thread_pool.cc.o): In function `ruy::Thread::ThreadFunc(ruy::Thread*)':
      thread_pool.cc:(.text._ZN3ruy6Thread10ThreadFuncEPS0_[_ZN3ruy6Thread10ThreadFuncEPS0_]+0xb4): undefined reference to `ruy::BlockingCounter::DecrementCount()'
      thread_pool.cc:(.text._ZN3ruy6Thread10ThreadFuncEPS0_[_ZN3ruy6Thread10ThreadFuncEPS0_]+0x1ac): undefined reference to `ruy::BlockingCounter::DecrementCount()'
      /usr/lib64/libruy_trmul.a(trmul.cc.o): In function `ruy::(anonymous namespace)::TrMulTask::Run()':
      trmul.cc:(.text+0xdc): undefined reference to `ruy::GetBlockByIndex(ruy::BlockMap const&, int, ruy::SidePair<int>*)'
      trmul.cc:(.text+0xf0): undefined reference to `ruy::GetBlockMatrixCoords(ruy::BlockMap const&, ruy::SidePair<int> const&, ruy::SidePair<int>*, ruy::SidePair<int>*)'
      trmul.cc:(.text+0x21c): undefined reference to `ruy::GetBlockMatrixCoords(ruy::Side, ruy::BlockMap const&, int, int*, int*)'
      /usr/lib64/libruy_trmul.a(trmul.cc.o): In function `ruy::TrMul(ruy::Ctx*, ruy::TrMulParams*)':
      trmul.cc:(.text+0x5a4): undefined reference to `ruy::MakeBlockMap(int, int, int, int, int, int, int, int, ruy::CpuCacheParams const&, ruy::BlockMap*)'
      trmul.cc:(.text+0x768): undefined reference to `ruy::IsObviouslyLinearTraversal(int, int, int, int, int, ruy::CpuCacheParams const&)'
      /usr/lib64/libXNNPACK.a(init.c.o): In function `init':
      init.c:(.text+0x2c): undefined reference to `cpuinfo_isa'
      init.c:(.text+0x4c): undefined reference to `cpuinfo_isa'
      init.c:(.text+0x6c): undefined reference to `cpuinfo_get_core'
      init.c:(.text+0x1a8): undefined reference to `cpuinfo_get_core'
      init.c:(.text+0x3d4): undefined reference to `cpuinfo_get_uarch'
      init.c:(.text+0x44c): undefined reference to `cpuinfo_isa'
      init.c:(.text+0x468): undefined reference to `cpuinfo_get_core'
      init.c:(.text+0x580): undefined reference to `cpuinfo_isa'
      init.c:(.text+0x6a0): undefined reference to `cpuinfo_get_core'
      init.c:(.text+0x8e0): undefined reference to `cpuinfo_get_uarch'
      init.c:(.text+0xa04): undefined reference to `cpuinfo_isa'
      init.c:(.text+0xa14): undefined reference to `cpuinfo_get_core'
      init.c:(.text+0xaec): undefined reference to `cpuinfo_get_uarch'
      init.c:(.text+0xc94): undefined reference to `cpuinfo_isa'
      init.c:(.text+0xcd8): undefined reference to `cpuinfo_get_core'
      init.c:(.text+0xdcc): undefined reference to `cpuinfo_isa'
      init.c:(.text+0xe40): undefined reference to `cpuinfo_get_core'
      init.c:(.text+0x10ac): undefined reference to `cpuinfo_isa'
      init.c:(.text+0x1148): undefined reference to `cpuinfo_get_uarch'
      init.c:(.text+0x131c): undefined reference to `cpuinfo_get_core'
      init.c:(.text+0x17cc): undefined reference to `cpuinfo_get_uarch'
      init.c:(.text+0x18a4): undefined reference to `cpuinfo_get_core'
      /usr/lib64/libXNNPACK.a(init.c.o): In function `xnn_initialize':
      init.c:(.text+0x1fdc): undefined reference to `cpuinfo_initialize'
      /usr/lib64/libXNNPACK.a(init.c.o): In function `xnn_deinitialize':
      init.c:(.text+0x2044): undefined reference to `cpuinfo_deinitialize'
      collect2: error: ld returned 1 exit status
      

      Seems like the libcpuinfo.a doesn't include some functions. How it's possible? Thanks for any help.

      posted in Software Development
      R
      relevinsky
    • RE: voxl2 portal source code

      @Alex-Kushleyev Hi,
      Yes,
      I want send some new string from VOXL2, that should appear near "FPS:....".
      Thanks

      posted in Ask your questions right here!
      R
      relevinsky
    • voxl2 portal source code

      Hi,
      Could you help me to understand in your voxl-portal source code, how I should modify code for adding in for e.g. in Camera : TFlite tab near "FPS" and "Inference" strings will appear my string "Hello world"?
      Please help me. I know, where is a source code of voxl-portal("https://gitlab.com/voxl-public/voxl-sdk/services/voxl-portal").
      Thank you for your help.

      posted in Ask your questions right here!
      R
      relevinsky
    • voxl2 rangefinder (lw20)

      Hi,

      I need to connect my rangefinder (LW20) to the VOXL2 board using connector J19 (by I2C) to the PX4 flight controller. What configurations should I make in QGroundControl to receive the "Distance Sensor" message in the Mavlink Analyze tab?

      Thank you.

      posted in Ask your questions right here!
      R
      relevinsky
    • @ERIC KATZFEY

      Re: tflite pipelines sample code

      posted in VOXL 2 @eric katzfey
      R
      relevinsky
    • tflite pipelines sample code

      Hi,
      Could you point me to a sample code that using tflite\tflite_data as input pipes?
      Thanks

      posted in VOXL 2
      R
      relevinsky
    • RE: voxl-px4 service

      @Eric-Katzfey yes

      posted in VOXL 2
      R
      relevinsky
    • voxl-px4 service

      Hi,
      After fast rebooting to platform "voxl2_platform_0.9.5",i run into the following problem:

      voxl2:~$ systemctl start voxl-px4
      **A dependency job for voxl-px4.service failed. See 'journalctl -xe' for details.**
      voxl2:~$
      

      From the journalctl -f command after activating the "systemctl start voxl-px4":
      Aug 23 12:17:30 m0054 systemd[1]: data.mount: Directory /data to mount over is not empty, mounting anyway.
      Aug 23 12:17:30 m0054 systemd[1]: Mounting /data...
      Aug 23 12:17:30 m0054 mount[3074]: mount: /data: wrong fs type, bad option, bad superblock on /dev/sda8, missing codepage or helper program, or other error.
      Aug 23 12:17:30 m0054 systemd[1]: data.mount: Mount process exited, code=exited status=32
      Aug 23 12:17:30 m0054 kernel: EXT4-fs (sda8): VFS: Can't find ext4 filesystem
      Aug 23 12:17:30 m0054 systemd[1]: data.mount: Failed with result 'exit-code'.

      Aug 23 12:17:30 m0054 systemd[1]: Failed to mount /data.
      Aug 23 12:17:30 m0054 systemd[1]: Dependency failed for sscrpcd Service.
      Aug 23 12:17:30 m0054 systemd[1]: Dependency failed for px4.
      Aug 23 12:17:30 m0054 systemd[1]: voxl-px4.service: Job voxl-px4.service/start failed with result 'dependency'.
      Aug 23 12:17:30 m0054 systemd[1]: sscrpcd.service: Job sscrpcd.service/start failed with result 'dependency'.

      Please help to solve the problem.

      posted in VOXL 2
      R
      relevinsky
    • ros on voxl2

      Hi,
      Activating "roslaunch voxl_mpa_to_ros voxl_mpa_to_ros.launch" on VOXL2 is stuck.
      Please help me to solve a problem.

      posted in Software Development
      R
      relevinsky
    • voxl2 flir boson and eth0

      I tried to work with the Boson FLIR sensor by connecting it to the M00130 LTE modem board using a USB cable. I activated the voxl-flir-modem. process However, after this activation, the eth0 module got stuck and disappeared from the list of communication devices (there is no eth0 in ifconfig). I connected eth0 using a USB to Ethernet adapter to my PC. Please help me solve this issue. Thanks.
      My voxl2 board sw version:

      system-image: 1.5.5-M0054-14.1a-perf
      kernel: #1 SMP PREEMPT Fri Mar 24 00:48:55 UTC 2023 4.19.125

      hw version: M0054

      voxl-suite: 0.9.5

      Packages:
      Repo: http://voxl-packages.modalai.com/ qrb5165 stable

      posted in Software Development
      R
      relevinsky