<output id="qn6qe"></output>

    1. <output id="qn6qe"><tt id="qn6qe"></tt></output>
    2. <strike id="qn6qe"></strike>

      亚洲 日本 欧洲 欧美 视频,日韩中文字幕有码av,一本一道av中文字幕无码,国产线播放免费人成视频播放,人妻少妇偷人无码视频,日夜啪啪一区二区三区,国产尤物精品自在拍视频首页,久热这里只有精品12

      ORB-SLAM3 Core Dumped errors

      1

      mode was set to :stereo. core dumped
      

      ros cv_bidge using opencv may confilct with you own,so reintall cv_bridge

      2

      -Camera 1 parameters (Pinhole): [ 718.856 718.856 607.193 185.216 ]
       68995 Segmentation fault      (core dumped) 
      
      # 	-Loaded misc parameters
      ----------------------------------
      SLAM settings: 
      	-Camera 1 parameters (Pinhole): [ 357.985 389.225 358.557 229.835 ]
      段錯誤 (核心已轉儲)
      

      the config yaml may be wrong. you can change to the official yaml,like KITTI00-02.yaml,and it will run.

      3

      terminate called after throwing an instance of ‘cv::Exception’what(): OpenCV(3.4.16) 
      /home/seu/wsh/study/ch5/opencv-3.4.16/modules/imgproc/src/median_blur.dispatch.cpp:283: error: (-215:Assertion failed) !_src0.empty() in function ‘medianBlur’
      

      yaml path erro

      4

      (ORB-SLAM3: Current Frame:3598): Gtk-ERROR **: 19:51:33.694: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
      
      sudo apt remove libgtk3*
      

      remove gtk3 , rebuild opencv and orbslam .run the demo again

      5

      Core dumped
      

      ros opencv version confilct with orbslam version. changge the opencv version(you build frome source) or remove cvbridge and build it from source

      To install cv_bridge from source, you will need to follow these steps:

      1. Setup ROS Workspace:
        Create a new ROS workspace if you haven't already done so. Here's how you can create a new workspace:

        mkdir -p ~/catkin_ws/src
        cd ~/catkin_ws/
        catkin_make
        source devel/setup.bash
        
      2. Clone cv_bridge Repository:
        Clone the cv_bridge repository into the src folder of your ROS workspace:

        cd ~/catkin_ws/src
        git clone https://github.com/ros-perception/vision_opencv.git
        

        The vision_opencv repository contains the cv_bridge package along with other related packages.

      3. Configure and Build:
        Configure and build the cv_bridge package and its dependencies within your workspace:

        cd ~/catkin_ws
        catkin_make
        
      4. Source Setup:
        Source the setup files to set up your environment:

        source devel/setup.bash
        
      5. Test Installation:
        Test the installation by running a simple node that uses cv_bridge. For example, you can write a small ROS node that subscribes to a camera topic and displays the image using cv_bridge.

      Detailed Steps:

      Step 1: Create a ROS Workspace

      If you haven't created a ROS workspace yet, you can do so by following these commands:

      mkdir -p ~/catkin_ws/src
      cd ~/catkin_ws/
      catkin_make
      source devel/setup.bash
      

      Step 2: Clone the Repository

      Clone the vision_opencv repository, which contains cv_bridge:

      cd ~/catkin_ws/src
      git clone https://github.com/ros-perception/vision_opencv.git
      

      Step 3: Build the Workspace

      Build the vision_opencv packages and their dependencies:

      cd ~/catkin_ws
      catkin_make
      

      Step 4: Set Up Environment

      Set up the environment by sourcing the setup files:

      source devel/setup.bash
      

      Step 5: Test Installation

      To test the installation, you can write a simple ROS node that subscribes to a camera topic and displays the image using cv_bridge. Here's an example of how you can do this:

      #include "ros/ros.h"
      #include "sensor_msgs/Image.h"
      #include "cv_bridge/cv_bridge.h"
      #include <opencv2/highgui/highgui.hpp>
      
      void imageCallback(const sensor_msgs::ImageConstPtr& msg)
      {
        try
        {
          cv::Mat image = cv_bridge::toCvShare(msg, "bgr8")->image;
          cv::imshow("Image window", image);
          cv::waitKey(30);
        }
        catch (cv_bridge::Exception& e)
        {
          ROS_ERROR("Could not convert from '%s' to 'bgr8'.", msg->encoding.c_str());
        }
      }
      
      int main(int argc, char** argv)
      {
        ros::init(argc, argv, "image_listener");
        ros::NodeHandle nh;
      
        ros::Subscriber sub = nh.subscribe("/camera/image_raw", 1, imageCallback);
      
        ros::spin();
      
        return 0;
      }
      

      Compile the node and run it:

      cd ~/catkin_ws/src
      mkdir my_image_subscriber
      cd my_image_subscriber
      catkin_create_pkg my_image_subscriber rospy std_msgs cv_bridge
      cd src
      touch image_subscriber.cpp
      vim image_subscriber.cpp
      

      Copy the above code into image_subscriber.cpp and save the file. Then, build the package and run the node:

      cd ~/catkin_ws
      catkin_make
      source devel/setup.bash
      rosrun my_image_subscriber image_subscriber
      

      Make sure to replace /camera/image_raw with the appropriate topic name for your camera.

      If everything is set up correctly, you should see the images displayed in a window when you run the node.

      If you encounter any issues during the build or while testing the installation, feel free to ask for further assistance!

      6

      -Loaded misc parameters
      ----------------------------------
      SLAM settings: 
      	-Camera 1 parameters (Pinhole): [ 357.985 389.225 358.557 229.835 ]
      段錯誤 (核心已轉儲)
      

      if you reach this and core dump, the config yaml may be wrong. you can change to the official yaml,like KITTI00-02.yaml,and it will run.

      posted @ 2024-08-11 21:51  快樂的韭菜根  閱讀(176)  評論(0)    收藏  舉報
      主站蜘蛛池模板: 高清国产一区二区无遮挡| 国产不卡av一区二区| 男女真人国产牲交a做片野外| 国产呻吟久久久久久久92| 国产乱久久亚洲国产精品| 亚洲国产成人不卡高清麻豆| 国语做受对白XXXXX在线| 最新国产精品亚洲| 久久久精品2019中文字幕之3| 国产肥妇一区二区熟女精品| 亚洲欧美日韩在线不卡| 国产精品中文字幕综合| 国产一区在线播放无遮挡| 色综合久久中文综合久久激情| 国产免费无遮挡吃奶视频| 中文字幕人妻无码一区二区三区 | 亚洲深深色噜噜狠狠网站| 亚洲另类无码一区二区三区| 欧美日韩精品一区二区三区高清视频| 精品综合一区二区三区四区| 国产片AV国语在线观看手机版 | 亚洲成人av综合一区| 国内自拍av在线免费| 最新亚洲人成网站在线影院| 国产深夜福利在线免费观看| 女人与牲口性恔配视频免费| 亚洲黄色一级片在线观看| 成人午夜电影福利免费| 亚洲中文字幕人妻系列| 色老99久久精品偷偷鲁| 免费看的一级毛片| 国产日韩综合av在线| 午夜精品一区二区三区成人| 中文字幕乱码中文乱码毛片| 免费观看的av在线播放| 日本亚洲一区二区精品| 欧美老熟妇又粗又大| 99久久精品国产一区二区暴力 | 四虎永久免费高清视频| 日韩精品成人一区二区三区| 久久亚洲精品人成综合网|