ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    mpa_to_ros crashes When echoing HIRES

    VOXL SDK
    2
    2
    96
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jacob yaacubovJ
      jacob yaacubov
      last edited by

      Hi, Hope its the correct thread for this question.

      I use ROS on my drones system and have launched mpa_to_ros.

      my drone has two HIRES cameras (imx 412) apart for tracking
      when trying to rosbag record both of them or even echo to both topics the voxl-map-to-ros crashes
      i tried to echo different hires topics and even dropped the quality to 1024x768, even 800x600

      this doesn't happen with one topic but but only both doesn't matter if its small color or large raw format i am trying to echo
      i will appreciate any help on the matter

      Thanks

      here is the crash output:

      MPA to ROS app is now running
      
       
      
      Found new interface: hires2_color
      
      Found new interface: hires2_grey
      
      Found new interface: hires2_small_color
      
      Found new interface: hires2_small_encoded
      
      Found new interface: hires2_small_grey
      
      Found new interface: hires_color
      
      Found new interface: hires_grey
      
      Found new interface: hires_small_color
      
      Found new interface: hires_small_encoded
      
      Found new interface: hires_small_grey
      
      Found new interface: qvio_overlay
      
      Found new interface: tracking[voxl_mpa_to_ros_node-1] process has died [pid 12947, exit code -11, cmd /opt/ros/melodic/lib/voxl_mpa_to_ros/voxl_mpa_to_ros_node __name:=voxl_mpa_to_ros_node __log:=/opt/ros/foxy/log/d48631fa-3f7f-11ef-9105-97639b9c163b/voxl_mpa_to_ros_node-1.log].
      
      log file: /opt/ros/foxy/log/d48631fa-3f7f-11ef-9105-97639b9c163b/voxl_mpa_to_ros_node-1*.log
      
      all processes on machine have died, roslaunch will exit
      
      /usr/bin/voxl-list-pipes: line 35: echo: write error: Broken pipe
      
      /usr/bin/voxl-list-pipes: line 38: echo: write error: Broken pipe
      
      /usr/bin/voxl-list-pipes: line 32: echo: write error: Broken pipe
      
      /usr/bin/voxl-list-pipes: line 35: echo: write error: Broken pipe
      
      shutting down processing monitor...
      
      ... shutting down processing monitor complete
      
      done
      
      /usr/bin/voxl-list-pipes: line 38: echo: write error: Broken pipe
      
      /usr/bin/voxl-list-pipes: line 32: echo: write error: Broken pipe
      
      /usr/bin/voxl-list-pipes: line 35: echo: write error: Broken pipe
      
      /usr/bin/voxl-list-pipes: line 38: echo: write error: Broken pipe
      
      /usr/bin/voxl-list-pipes: line 32: echo: write error: Broken pipe
      
      GONI:/data/wds/bags$ /usr/bin/voxl-list-pipes: line 35: echo: write error: Broken pipe
      
      /usr/bin/voxl-list-pipes: line 35: echo: write error: Broken pipe
      
      /usr/bin/voxl-list-pipes: line 35: echo: write error: Broken pipe
      
      /usr/bin/voxl-list-pipes: line 35: echo: write error: Broken pipe
      
      /usr/bin/voxl-list-pipes: line 35: echo: write error: Broken pipe
      
      /usr/bin/voxl-list-pipes: line 35: echo: write error: Broken pipe
      
      /usr/bin/voxl-list-pipes: line 35: echo: write error: Broken pipe
      
      /usr/bin/voxl-list-pipes: line 35: echo: write error: Broken pipe
      
      /usr/bin/voxl-list-pipes: line 38: echo: write error: Broken pipe
      
      /usr/bin/voxl-list-pipes: line 32: echo: write error: Broken pipe
      
      /usr/bin/voxl-list-pipes: line 35: echo: write error: Broken pipe
      
      /usr/bin/voxl-list-pipes: line 35: echo: write error: Broken pipe
      
      /usr/bin/voxl-list-pipes: line 38: echo: write error: Broken pipe
      
      /usr/bin/voxl-list-pipes: line 32: echo: write error: Broken pipe
      
      /usr/bin/voxl-list-pipes: line 35: echo: write error: Broken pipe
      
      /usr/bin/voxl-list-pipes: line 38: echo: write error: Broken pipe
      

      Also sometimes it expects on size of data lets say 1444000 bytes but gets 12000000000

      Alex KushleyevA 1 Reply Last reply Reply Quote 0
      • Alex KushleyevA
        Alex Kushleyev ModalAI Team @jacob yaacubov
        last edited by

        @jacob-yaacubov ,

        I am not sure why this is happening. However, you maybe able to debug this yourself using gdb and starting the ros node manually:

        gdb /opt/ros/melodic/lib/voxl_mpa_to_ros/voxl_mpa_to_ros_node
        r __name:=voxl_mpa_to_ros_node __log:=/opt/ros/foxy/log/my_new_ros_log/voxl_mpa_to_ros_node-1.log
        
        (wait for crash)
        bt
        (this will print stack backtrace, at least will tell you in which function the crash occurred)
        

        Please try..

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Powered by NodeBB | Contributors