Camera-related Shared library path

本文探讨了Android系统中相机HAL(硬件抽象层)及其相关框架库的组织结构与工作原理,包括针对不同硬件平台的HAL实现以及系统级库文件的位置分布。
Camera Hal libs
/system/vendor/lib/*
/system/vendor/lib64/*
Hal entry(e.g. camera.$(TARGET_BOARD_PLATFORM).so)
/system/vendor/lib/hw/*
/system/vendor/lib64/hw/*
/system/lib/*
/system/lib64/
# Copyright Statement: # # This software/firmware and related documentation ("MediaTek Software") are # protected under relevant copyright laws. The information contained herein # is confidential and proprietary to MediaTek Inc. and/or its licensors. # Without the prior written permission of MediaTek inc. and/or its licensors, # any reproduction, modification, use or disclosure of MediaTek Software, # and information contained herein, in whole or in part, shall be strictly prohibited. # MediaTek Inc. (C) 2017. All rights reserved. # # BY OPENING THIS FILE, RECEIVER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES # THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE") # RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO RECEIVER ON # AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES, # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. # NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE # SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR # SUPPLIED WITH THE MEDIATEK SOFTWARE, AND RECEIVER AGREES TO LOOK ONLY TO SUCH # THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. RECEIVER EXPRESSLY ACKNOWLEDGES # THAT IT IS RECEIVER'S SOLE RESPONSIBILITY TO OBTAIN FROM ANY THIRD PARTY ALL PROPER LICENSES # CONTAINED IN MEDIATEK SOFTWARE. MEDIATEK SHALL ALSO NOT BE RESPONSIBLE FOR ANY MEDIATEK # SOFTWARE RELEASES MADE TO RECEIVER'S SPECIFICATION OR TO CONFORM TO A PARTICULAR # STANDARD OR OPEN FORUM. RECEIVER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND # CUMULATIVE LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE, # AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE, # OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY RECEIVER TO # MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE. # # The following software/firmware and/or related documentation ("MediaTek Software") # have been modified by MediaTek Inc. All revisions are subject to any receiver's # applicable license agreements with MediaTek Inc. define all-c-cpp-under $(patsubst ./%,%, \ $(shell cd $(LOCAL_PATH) ; \ find -L $(1) -maxdepth 1 \( -name "*.c" -or -name "*.cpp" \) -and -not -name ".*" | sort) \ ) endef ################################################################################ # Usepd buffer manager in project folder first ################################################################################ ifeq ($(wildcard $(MTK_PATH_CUSTOM)/hal/camera_af_assist),) #----------------------------------------------------------- LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) #$(call config-custom-folder,hal:hal) #----------------------------------------------------------- PDBUFMGR_ALL_FILES := $(shell find $(LOCAL_PATH)/. | sort) PDBUFMGR_ALL_FILES := $(PDBUFMGR_ALL_FILES:$(LOCAL_PATH)/./%=%) PDBUFMGR_CPP_LIST := $(filter-out 3rd_party%,$(PDBUFMGR_ALL_FILES)) PDBUFMGR_CPP_LIST := $(filter %.c %.cpp,$(PDBUFMGR_CPP_LIST)) LOCAL_SRC_FILES := $(PDBUFMGR_CPP_LIST) $(warning $(LOCAL_SRC_FILES)) #----------------------------------------------------------- # PD LOCAL_HEADER_LIBRARIES += libcamera.custom.af_assist_buf_mgr_headers libcamera.custom.af_assist_mgr_headers #----------------------------------------------------------- # Log LOCAL_SHARED_LIBRARIES += liblog LOCAL_SHARED_LIBRARIES += libcam.hal3a.log #----------------------------------------------------------- LOCAL_WHOLE_STATIC_LIBRARIES += #----------------------------------------------------------- LOCAL_MODULE := libcamera.custom.af_assist_buf_mgr LOCAL_PROPRIETARY_MODULE := true LOCAL_MODULE_OWNER := mtk #----------------------------------------------------------- include $(MTKCAM_SHARED_LIBRARY) ################################################################################ # libcamera.custom.pd_buf_mgr_headers ################################################################################ include $(CLEAR_VARS) # Log LOCAL_EXPORT_C_INCLUDE_DIRS += $(TOP)/$(MTKCAM_PATH_CUSTOM_PLATFORM)/hal/inc # PD LOCAL_EXPORT_C_INCLUDE_DIRS += $(LOCAL_PATH)/inc $(warning $(LOCAL_EXPORT_C_INCLUDE_DIRS)) #----------------------------------------------------------- LOCAL_MODULE := libcamera.custom.af_assist_buf_mgr_headers LOCAL_MODULE_OWNER := mtk include $(MTKCAM_BUILD_HEADER_LIBRARY) ################################################################################ # ################################################################################ include $(CLEAR_VARS) include $(call all-makefiles-under,$(LOCAL_PATH)) #----------------------------------------------------------- endif 通过这个编译之后得到的库名字是什么
06-07
:/mnt/hgfs/UbuntuShared/3.4rockx_face_camera_vi$ arm-linux-gnueabihf-gdb ./rockx_face_camera_vi GNU gdb (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.2.1.20190227-git Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "--host=x86_64-pc-linux-gnu --target=arm-linux-gnueabihf". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://bugs.linaro.org/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./rockx_face_camera_vi...done. (gdb) target remote 192.168.100.75:1234 Remote debugging using 192.168.100.75:1234 Reading symbols from /opt/rv1126_rv1109_linux_sdk_v1.8.0_20210224/prebuilts/gcc/linux-x86/arm/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/arm-linux-gnueabihf/libc/lib/ld-linux-armhf.so.3...done. 0xa6ed0a00 in _start () from /opt/rv1126_rv1109_linux_sdk_v1.8.0_20210224/prebuilts/gcc/linux-x86/arm/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/arm-linux-gnueabihf/libc/lib/ld-linux-armhf.so.3 (gdb) break main Breakpoint 1 at 0x11ddc: file rockx_face_camera_vi.cpp, line 76. (gdb) continue Continuing. warning: Could not load shared library symbols for 47 libraries, e.g. /oem/usr/lib/libeasymedia.so.1. Use the "info sharedlibrary" command to see the complete listing. Do you need "set solib-search-path" or "set sysroot"? warning: Could not load shared library symbols for /usr/lib/libv4l/plugins/libv4l-mplane.so. Do you need "set solib-search-path" or "set sysroot"? [New Thread 1096.1913] Thread 1 "rockx_face_came" hit Breakpoint 1, main (argc=1, argv=0xaeb0ed24) at rockx_face_camera_vi.cpp:76 76 memset(&vi_chn_attr, 0, sizeof(VI_CHN_ATTR_S)); (gdb) next 77 vi_chn_attr.pcVideoNode = CAMERA_PATH; // Path (gdb) 78 vi_chn_attr.u32Width = 1920; // Width (gdb) next 79 vi_chn_attr.u32Height = 1080; // Height (gdb) next 80 vi_chn_attr.enPixFmt = IMAGE_TYPE_NV12; // ImageType (gdb) next 81 vi_chn_attr.enBufType = VI_CHN_BUF_TYPE_MMAP; // BufType (gdb) next 82 vi_chn_attr.u32BufCnt = 3; // Cnt (gdb) next 83 vi_chn_attr.enWorkMode = VI_WORK_MODE_NORMAL; // Mode (gdb) next 84 ret = RK_MPI_VI_SetChnAttr(CAMERA_ID, CAMERA_CHN, &vi_chn_attr); (gdb) next 85 if (ret) (gdb) next 87 printf("Vi Set Attr Failed.....\n"); (gdb) next 88 return 0; (gdb) next 92 printf("Vi Set Attr Success.....\n"); (gdb) next 95 ret = RK_MPI_VI_EnableChn(CAMERA_ID, CAMERA_CHN); (gdb) next [New Thread 1096.2089] [New Thread 1096.2090] 96 if (ret) (gdb) next 99 return 0; (gdb) next 103 printf("Vi Enable Attr Success.....\n"); (gdb) next 107 memset(&venc_chn_attr, 0, sizeof(VENC_CHN_ATTR_S)); (gdb) next 110 venc_chn_attr.stVencAttr.u32VirWidth = 1920; (gdb) next 111 venc_chn_attr.stVencAttr.u32VirHeight = 1080; (gdb) next 112 venc_chn_attr.stVencAttr.imageType = IMAGE_TYPE_NV12; (gdb) next 113 venc_chn_attr.stVencAttr.enType = RK_CODEC_TYPE_H264; (gdb) next [New Thread 1096.2167] 114 venc_chn_attr.stVencAttr.u32Profile = 66; (gdb) next 115 venc_chn_attr.stRcAttr.enRcMode = VENC_RC_MODE_H264CBR; (gdb) next 121 venc_chn_attr.stRcAttr.stH264Cbr.u32SrcFrameRateNum = 25; (gdb) next 122 ret = RK_MPI_VENC_CreateChn(VENC_CHN, &venc_chn_attr); (gdb) next 123 if (ret) (gdb) next 125 printf("ERROR: Create venc failed!\n"); (gdb) next 126 exit(0); (gdb) next 129 ret = RK_MPI_VI_StartStream(CAMERA_ID, CAMERA_CHN); (gdb) next 130 if (ret) (gdb) next 148 cerr<<"pthread create successed...."<<endl; (gdb) next 151 rockx_config_t *face_detect_config = rockx_create_config(); (gdb) next 152 ret=rockx_add_config(face_detect_config, ROCKX_CONFIG_DATA_PATH, "/userdata/rockx_data"); (gdb) next warning: Could not load shared library symbols for 6 libraries, e.g. /usr/lib32/librknn_runtime.so. Use the "info sharedlibrary" command to see the complete listing. Do you need "set solib-search-path" or "set sysroot"? [New Thread 1096.2250] 153 if (ret != ROCKX_RET_SUCCESS) (gdb) next 155 printf("Failed to add config: error code = %d\n", ret); (gdb) next 160 printf("Invalid parameter: check key or value\n"); (gdb) next 161 break; (gdb) next 163 printf("Memory allocation failed\n"); (gdb) next 164 break; (gdb) next 166 printf("类型不匹配 ...\n"); (gdb) next 175 printf("rockx_add_config successfully\n"); (gdb) next 178 rockx_handle_t face_detect_handle=NULL; (gdb) next 181 printf("第一处断点\n"); (gdb) next 183 rockx_module_t face_detect_module = ROCKX_MODULE_FACE_DETECTION_V2; (gdb) next 187 rockx_release_config(face_detect_config); // 释放配置 (gdb) next 188 printf("第三处断点\n"); (gdb) next 189 if (face_detect_ret != ROCKX_RET_SUCCESS) (gdb) next 191 printf("rockx_create face_detect failed...\n"); (gdb) next 192 return -1; (gdb) next 200 rv1126_rockx_image.width = WIDTH; (gdb) next 201 rv1126_rockx_image.height = HEIGHT; (gdb) next 202 rv1126_rockx_image.pixel_format = ROCKX_PIXEL_FORMAT_YUV420SP_NV12; (gdb) next 203 printf("Image params: width=%d, height=%d, format=%d\n", (gdb) next 206 rv1126_rockx_image.pixel_format); (gdb) next 203 printf("Image params: width=%d, height=%d, format=%d\n", (gdb) next 217 mb = RK_MPI_SYS_GetMediaBuffer(RK_ID_VI, CAMERA_CHN, -1); (gdb) next 218 if (!mb) (gdb) next 220 printf("Get Vi Stream break....\n"); (gdb) next 297 RK_MPI_VENC_DestroyChn(VENC_CHN); (gdb) next 298 RK_MPI_VI_DisableChn(CAMERA_ID, CAMERA_CHN); (gdb) next cv::String::String (this=0xaeb0ebe8, s=0x11cc3f "") at ./arm_opencv_source/include/opencv2/core/cvstd.hpp:599 599 if (!s) return; (gdb) next 601 if (!len) return; (gdb) next 603 } (gdb) next cv::String::~String (this=0xa2170b1c <__GI__IO_file_jumps>, __in_chrg=<optimized out>) at ./arm_opencv_source/include/opencv2/core/cvstd.hpp:646 646 String::~String() (gdb) next cv::String::~String (this=0x0, __in_chrg=<optimized out>) at ./arm_opencv_source/include/opencv2/core/cvstd.hpp:648 648 deallocate(); (gdb) next 649 } (gdb) next cv::String::operator= (this=0xa2170b1c <__GI__IO_file_jumps>, str=...) at ./arm_opencv_source/include/opencv2/core/cvstd.hpp:653 653 { (gdb)
06-19
输入为apt-cache search gazebo 输出结果为gz-harmonic - Collection of Gazebo packages - Harmonic gz-ionic - Collection of Gazebo packages - Ionic gz-launch7-cli - Gazebo Launch Library - CLI gz-launch8-cli - Gazebo Launch Library - CLI gz-msgs11-cli - Set of message definitions used by robotics apps - CLI gz-plugin2-cli - Collection of useful code used by robotics apps - CLI tool gz-plugin3-cli - Collection of useful code used by robotics apps - CLI tool gz-sim8-cli - Gazebo Sim classes and functions for robot apps - CLI gz-sim9-cli - Gazebo Sim classes and functions for robot apps - CLI gz-tools2 - Entry point for using all the suite of Gazebo tools - app gz-transport13-cli - Gazebo transport Library - CLI gz-transport14-cli - Gazebo transport Library - CLI libdart-core+collisions+odelcpsolver6.13 - Kinematics Dynamics and Optimization Library - main library libgz-cmake3-dev - Gazebo CMake Library - Development files libgz-cmake4-dev - Gazebo CMake Library - Development files libgz-common5 - Collection of useful code used by robotics apps - Shared library libgz-common5-av - Collection of useful code used by robotics apps - AV libraries libgz-common5-av-dev - Collection of useful code used by robotics apps - AV libraries libgz-common5-core-dev - Collection of useful code used by robotics apps - Core dev files libgz-common5-dev - Collection of useful code used by robotics apps - Metapackage libgz-common5-events - Collection of useful code used by robotics apps - Events libraries libgz-common5-events-dev - Collection of useful code used by robotics apps - Events dev files libgz-common5-geospatial - Collection of useful code used by robotics apps - Geospatial libries libgz-common5-geospatial-dev - Collection of useful code used by robotics apps - Geospatial dev files libgz-common5-graphics - Collection of useful code used by robotics apps - Graphics libraries libgz-common5-graphics-dev - Collection of useful code used by robotics apps - Graphics dev files libgz-common5-io - Collection of useful code used by robotics apps - I/O libraries libgz-common5-io-dev - Collection of useful code used by robotics apps - I/O dev files libgz-common5-profiler - Collection of useful code used by robotics apps - Profiler libs libgz-common5-profiler-dev - Collection of useful code used by robotics apps - Profiler dev file libgz-common5-testing - Collection of useful code used by robotics apps - Testing libries libgz-common5-testing-dev - Collection of useful code used by robotics apps - Testing dev files libgz-common6 - Collection of useful code used by robotics apps - Shared library libgz-common6-av - Collection of useful code used by robotics apps - AV libraries libgz-common6-av-dev - Collection of useful code used by robotics apps - AV libraries libgz-common6-core-dev - Collection of useful code used by robotics apps - Core dev files libgz-common6-dev - Collection of useful code used by robotics apps - Metapackage libgz-common6-events - Collection of useful code used by robotics apps - Events libraries libgz-common6-events-dev - Collection of useful code used by robotics apps - Events dev files libgz-common6-geospatial - Collection of useful code used by robotics apps - Geospatial libries libgz-common6-geospatial-dev - Collection of useful code used by robotics apps - Geospatial dev files libgz-common6-graphics - Collection of useful code used by robotics apps - Graphics libraries libgz-common6-graphics-dev - Collection of useful code used by robotics apps - Graphics dev files libgz-common6-io - Collection of useful code used by robotics apps - I/O libraries libgz-common6-io-dev - Collection of useful code used by robotics apps - I/O dev files libgz-common6-profiler - Collection of useful code used by robotics apps - Profiler libs libgz-common6-profiler-dev - Collection of useful code used by robotics apps - Profiler dev file libgz-common6-testing - Collection of useful code used by robotics apps - Testing libries libgz-common6-testing-dev - Collection of useful code used by robotics apps - Testing dev files libgz-fuel-tools10 - Gazebo fuel-tools classes and functions - Shared library libgz-fuel-tools10-dev - Gazebo fuel-tools classes and functions - Development files libgz-fuel-tools9 - Gazebo fuel-tools classes and functions - Shared library libgz-fuel-tools9-dev - Gazebo fuel-tools classes and functions - Development files libgz-gui8 - Gazebo Gui classes and functions for robot apps - Shared library libgz-gui8-dev - Gazebo Gui classes and functions for robot apps - Development files libgz-gui9 - Gazebo Gui classes and functions for robot apps - Shared library libgz-gui9-dev - Gazebo Gui classes and functions for robot apps - Development files libgz-launch7 - Gazebo Launch Library - Launch libraries libgz-launch7-dev - Gazebo Launch Library - Development files libgz-launch8 - Gazebo Launch Library - Launch libraries libgz-launch8-dev - Gazebo Launch Library - Development files libgz-math7 - Gazebo Math Library - Shared library libgz-math7-dbg - Gazebo Math Library - Debugging symbols libgz-math7-dev - Gazebo Math Library - Development files libgz-math7-eigen3-dev - Gazebo Math Library - Eigen3 Development files libgz-math8 - Gazebo Math Library - Shared library libgz-math8-dbg - Gazebo Math Library - Debugging symbols libgz-math8-dev - Gazebo Math Library - Development files libgz-math8-eigen3-dev - Gazebo Math Library - Eigen3 Development files libgz-msgs10 - Set of message definitions used by robotics apps - Shared library libgz-msgs10-dev - Set of message definitions used by robotics apps - Dev files libgz-msgs11 - Set of message definitions used by robotics apps - Shared library libgz-msgs11-dev - Set of message definitions used by robotics apps - Dev files libgz-physics7 - Gazebo Physics classes and functions for robot apps - Shared library libgz-physics7-bullet - Gazebo Physics classes and functions for robot apps - Bullet engine libgz-physics7-bullet-dev - Gazebo Physics classes and functions for robot apps - Development files libgz-physics7-core-dev - Gazebo Physics classes and functions for robot apps - Development files libgz-physics7-dartsim - Gazebo Physics classes and functions for robot apps - Dartsim library libgz-physics7-dartsim-dev - Gazebo Physics classes and functions for robot apps - Development files libgz-physics7-dev - Gazebo Physics classes and functions for robot apps - Metapackage libgz-physics7-heightmap-dev - Gazebo Physics classes and functions for robot apps - Heightmap Dev files libgz-physics7-mesh-dev - Gazebo Physics classes and functions for robot apps - Mesh Dev files libgz-physics7-sdf-dev - Gazebo Physics classes and functions for robot apps - SDF Dev files libgz-physics7-tpe - Gazebo Physics classes and functions for robot apps - TPE library libgz-physics7-tpe-dev - Gazebo Physics classes and functions for robot apps - Development files libgz-physics7-tpelib - Gazebo Physics classes and functions for robot apps - TPE library libgz-physics7-tpelib-dev - Gazebo Physics classes and functions for robot apps - Development files libgz-physics8 - Gazebo Physics classes and functions for robot apps - Shared library libgz-physics8-bullet - Gazebo Physics classes and functions for robot apps - Bullet engine libgz-physics8-bullet-dev - Gazebo Physics classes and functions for robot apps - Development files libgz-physics8-core-dev - Gazebo Physics classes and functions for robot apps - Development files libgz-physics8-dartsim - Gazebo Physics classes and functions for robot apps - Dartsim library libgz-physics8-dartsim-dev - Gazebo Physics classes and functions for robot apps - Development files libgz-physics8-dev - Gazebo Physics classes and functions for robot apps - Metapackage libgz-physics8-heightmap-dev - Gazebo Physics classes and functions for robot apps - Heightmap Dev files libgz-physics8-mesh-dev - Gazebo Physics classes and functions for robot apps - Mesh Dev files libgz-physics8-sdf-dev - Gazebo Physics classes and functions for robot apps - SDF Dev files libgz-physics8-tpe - Gazebo Physics classes and functions for robot apps - TPE library libgz-physics8-tpe-dev - Gazebo Physics classes and functions for robot apps - Development files libgz-physics8-tpelib - Gazebo Physics classes and functions for robot apps - TPE library libgz-physics8-tpelib-dev - Gazebo Physics classes and functions for robot apps - Development files libgz-plugin2 - Gazebo Plugin Library - Shared library libgz-plugin2-dbg - Gazebo Plugin Library - Debugging symbols libgz-plugin2-dev - Gazebo Plugin Library - Development files libgz-plugin3 - Gazebo Plugin Library - Shared library libgz-plugin3-dbg - Gazebo Plugin Library - Debugging symbols libgz-plugin3-dev - Gazebo Plugin Library - Development files libgz-rendering8 - Gazebo Rendering classes and functions for robot apps - Shared library libgz-rendering8-core-dev - Gazebo Rendering classes and functions - Core development files libgz-rendering8-dev - Gazebo Rendering classes and functions for robot apps - Metapackage libgz-rendering8-ogre1 - Gazebo Rendering classes and functions for robot apps - Ogre1 lib libgz-rendering8-ogre1-dev - Gazebo Rendering classes and functions for robot apps - Ogre1 dev files libgz-rendering8-ogre2 - Gazebo Rendering classes and functions for robot apps - Development files libgz-rendering8-ogre2-dev - Gazebo Rendering classes and functions for robot apps - Development files libgz-rendering9 - Gazebo Rendering classes and functions for robot apps - Shared library libgz-rendering9-core-dev - Gazebo Rendering classes and functions - Core development files libgz-rendering9-dev - Gazebo Rendering classes and functions for robot apps - Metapackage libgz-rendering9-ogre1 - Gazebo Rendering classes and functions for robot apps - Ogre1 lib libgz-rendering9-ogre1-dev - Gazebo Rendering classes and functions for robot apps - Ogre1 dev files libgz-rendering9-ogre2 - Gazebo Rendering classes and functions for robot apps - Development files libgz-rendering9-ogre2-dev - Gazebo Rendering classes and functions for robot apps - Development files libgz-sensors8 - Gazebo Sensors classes and functions for robot apps - Shared library libgz-sensors8-air-pressure - Gazebo Sensors classes and functions for robot apps - Lib air-pressure libgz-sensors8-air-pressure-dev - Gazebo Sensors classes and functions for robot apps - Dev files air-pressure libgz-sensors8-air-speed - Gazebo Sensors classes and functions for robot apps - Lib air-speed libgz-sensors8-air-speed-dev - Gazebo Sensors classes and functions for robot apps - Dev files air-speed libgz-sensors8-altimeter - Gazebo Sensors classes and functions for robot apps - Lib altimeter libgz-sensors8-altimeter-dev - Gazebo Sensors classes and functions for robot apps - Dev files altimeter libgz-sensors8-boundingbox-camera - Gazebo Sensors classes and functions for robot apps - Lib Bounding Box Camera libgz-sensors8-boundingbox-camera-dev - Gazebo Sensors classes and functions for robot apps - Dev files Bounding Box Camera libgz-sensors8-camera - Gazebo Sensors classes and functions for robot apps - Lib Camera libgz-sensors8-camera-dev - Gazebo Sensors classes and functions for robot apps - Dev files Camera libgz-sensors8-core-dev - Gazebo Sensors classes and functions for robot apps - Development files libgz-sensors8-depth-camera - Gazebo Sensors classes and functions for robot apps - Lib depth-camera libgz-sensors8-depth-camera-dev - Gazebo Sensors classes and functions for robot apps - Dev files depth-camera libgz-sensors8-dev - Gazebo Sensors classes and functions for robot apps - Metapackage libgz-sensors8-dvl - Gazebo Sensors classes and functions for robot apps - Lib DVL libgz-sensors8-dvl-dev - Gazebo Sensors classes and functions for robot apps - Dev files DVL libgz-sensors8-force-torque - Gazebo Sensors classes and functions for robot apps - Lib force-torque libgz-sensors8-force-torque-dev - Gazebo Sensors classes and functions for robot apps - Dev files force-torque libgz-sensors8-gpu-lidar - Gazebo Sensors classes and functions for robot apps - Lib gpu-lidar libgz-sensors8-gpu-lidar-dev - Gazebo Sensors classes and functions for robot apps - Dev files gpu-lidar libgz-sensors8-imu - Gazebo Sensors classes and functions for robot apps - Lib imu libgz-sensors8-imu-dev - Gazebo Sensors classes and functions for robot apps - Dev files imu libgz-sensors8-lidar - Gazebo Sensors classes and functions for robot apps - Lib lidar libgz-sensors8-lidar-dev - Gazebo Sensors classes and functions for robot apps - Dev files lidar libgz-sensors8-logical-camera - Gazebo Sensors classes and functions for robot apps - Lib logical-camera libgz-sensors8-logical-camera-dev - Gazebo Sensors classes and functions for robot apps - Dev files logical-camera libgz-sensors8-magnetometer - Gazebo Sensors classes and functions for robot apps - Lib magnetometer libgz-sensors8-magnetometer-dev - Gazebo Sensors classes and functions for robot apps - Dev files magnetometer libgz-sensors8-navsat - Gazebo Sensors classes and functions for robot apps - Lib navsat libgz-sensors8-navsat-dev - Gazebo Sensors classes and functions for robot apps - Dev files navsat libgz-sensors8-rendering - Gazebo Sensors classes and functions for robot apps - Lib rendering libgz-sensors8-rendering-dev - Gazebo Sensors classes and functions for robot apps - Dev files rendering libgz-sensors8-rgbd-camera - Gazebo Sensors classes and functions for robot apps - Lib rgbd-camera libgz-sensors8-rgbd-camera-dev - Gazebo Sensors classes and functions for robot apps - Dev files rgbd-camera libgz-sensors8-segmentation-camera - Gazebo Sensors classes and functions for robot apps - Lib segmentation-camera libgz-sensors8-segmentation-camera-dev - Gazebo Sensors classes and functions for robot apps - Dev files segmentation-camera libgz-sensors8-thermal-camera - Gazebo Sensors classes and functions for robot apps - Lib thermal-camera libgz-sensors8-thermal-camera-dev - Gazebo Sensors classes and functions for robot apps - Dev files thermal-camera libgz-sensors8-wide-angle-camera - Gazebo Sensors classes and functions for robot apps - Lib wide-angle-camera libgz-sensors8-wide-angle-camera-dev - Gazebo Sensors classes and functions for robot apps - Dev files wide-angle-camera libgz-sensors9 - Gazebo Sensors classes and functions for robot apps - Shared library libgz-sensors9-air-pressure - Gazebo Sensors classes and functions for robot apps - Lib air-pressure libgz-sensors9-air-pressure-dev - Gazebo Sensors classes and functions for robot apps - Dev files air-pressure libgz-sensors9-air-speed - Gazebo Sensors classes and functions for robot apps - Lib air-speed libgz-sensors9-air-speed-dev - Gazebo Sensors classes and functions for robot apps - Dev files air-speed libgz-sensors9-altimeter - Gazebo Sensors classes and functions for robot apps - Lib altimeter libgz-sensors9-altimeter-dev - Gazebo Sensors classes and functions for robot apps - Dev files altimeter libgz-sensors9-boundingbox-camera - Gazebo Sensors classes and functions for robot apps - Lib Bounding Box Camera libgz-sensors9-boundingbox-camera-dev - Gazebo Sensors classes and functions for robot apps - Dev files Bounding Box Camera libgz-sensors9-camera - Gazebo Sensors classes and functions for robot apps - Lib Camera libgz-sensors9-camera-dev - Gazebo Sensors classes and functions for robot apps - Dev files Camera libgz-sensors9-core-dev - Gazebo Sensors classes and functions for robot apps - Development files libgz-sensors9-depth-camera - Gazebo Sensors classes and functions for robot apps - Lib depth-camera libgz-sensors9-depth-camera-dev - Gazebo Sensors classes and functions for robot apps - Dev files depth-camera libgz-sensors9-dev - Gazebo Sensors classes and functions for robot apps - Metapackage libgz-sensors9-dvl - Gazebo Sensors classes and functions for robot apps - Lib DVL libgz-sensors9-dvl-dev - Gazebo Sensors classes and functions for robot apps - Dev files DVL libgz-sensors9-force-torque - Gazebo Sensors classes and functions for robot apps - Lib force-torque libgz-sensors9-force-torque-dev - Gazebo Sensors classes and functions for robot apps - Dev files force-torque libgz-sensors9-gpu-lidar - Gazebo Sensors classes and functions for robot apps - Lib gpu-lidar libgz-sensors9-gpu-lidar-dev - Gazebo Sensors classes and functions for robot apps - Dev files gpu-lidar libgz-sensors9-imu - Gazebo Sensors classes and functions for robot apps - Lib imu libgz-sensors9-imu-dev - Gazebo Sensors classes and functions for robot apps - Dev files imu libgz-sensors9-lidar - Gazebo Sensors classes and functions for robot apps - Lib lidar libgz-sensors9-lidar-dev - Gazebo Sensors classes and functions for robot apps - Dev files lidar libgz-sensors9-logical-camera - Gazebo Sensors classes and functions for robot apps - Lib logical-camera libgz-sensors9-logical-camera-dev - Gazebo Sensors classes and functions for robot apps - Dev files logical-camera libgz-sensors9-magnetometer - Gazebo Sensors classes and functions for robot apps - Lib magnetometer libgz-sensors9-magnetometer-dev - Gazebo Sensors classes and functions for robot apps - Dev files magnetometer libgz-sensors9-navsat - Gazebo Sensors classes and functions for robot apps - Lib navsat libgz-sensors9-navsat-dev - Gazebo Sensors classes and functions for robot apps - Dev files navsat libgz-sensors9-rendering - Gazebo Sensors classes and functions for robot apps - Lib rendering libgz-sensors9-rendering-dev - Gazebo Sensors classes and functions for robot apps - Dev files rendering libgz-sensors9-rgbd-camera - Gazebo Sensors classes and functions for robot apps - Lib rgbd-camera libgz-sensors9-rgbd-camera-dev - Gazebo Sensors classes and functions for robot apps - Dev files rgbd-camera libgz-sensors9-segmentation-camera - Gazebo Sensors classes and functions for robot apps - Lib segmentation-camera libgz-sensors9-segmentation-camera-dev - Gazebo Sensors classes and functions for robot apps - Dev files segmentation-camera libgz-sensors9-thermal-camera - Gazebo Sensors classes and functions for robot apps - Lib thermal-camera libgz-sensors9-thermal-camera-dev - Gazebo Sensors classes and functions for robot apps - Dev files thermal-camera libgz-sensors9-wide-angle-camera - Gazebo Sensors classes and functions for robot apps - Lib wide-angle-camera libgz-sensors9-wide-angle-camera-dev - Gazebo Sensors classes and functions for robot apps - Dev files wide-angle-camera libgz-sim8 - Gazebo Sim classes and functions for robot apps - Shared library libgz-sim8-dbg - Gazebo Sim classes and functions for robot apps - Debug symbols libgz-sim8-dev - Gazebo Sim classes and functions for robot apps - Development files libgz-sim8-plugins - Gazebo Sim classes and functions for robot apps - Plugins libgz-sim9 - Gazebo Sim classes and functions for robot apps - Shared library libgz-sim9-dbg - Gazebo Sim classes and functions for robot apps - Debug symbols libgz-sim9-dev - Gazebo Sim classes and functions for robot apps - Development files libgz-sim9-plugins - Gazebo Sim classes and functions for robot apps - Plugins libgz-tools2-dev - Entry point for using all the suite of Gazebo tools - cmake support libgz-transport13 - Gazebo Transport Library - Shared library libgz-transport13-core-dev - Gazebo transport Library - Core Dev files libgz-transport13-dbg - Gazebo transport Library - Debugging symbols libgz-transport13-dev - Gazebo transport Library - Metapackage libgz-transport13-log - Gazebo Transport Library - Log Shared library libgz-transport13-log-dev - Gazebo transport Library - Core Dev libgz-transport13-parameters - Gazebo Transport Library - Parameters Shared library libgz-transport13-parameters-dev - Gazebo transport Library - Parameters Dev libgz-transport14 - Gazebo Transport Library - Shared library libgz-transport14-core-dev - Gazebo transport Library - Core Dev files libgz-transport14-dbg - Gazebo transport Library - Debugging symbols libgz-transport14-dev - Gazebo transport Library - Metapackage libgz-transport14-log - Gazebo Transport Library - Log Shared library libgz-transport14-log-dev - Gazebo transport Library - Core Dev libgz-transport14-parameters - Gazebo Transport Library - Parameters Shared library libgz-transport14-parameters-dev - Gazebo transport Library - Parameters Dev libgz-utils2 - Gazebo Utils Library - Shared library libgz-utils2-cli-dev - Gazebo Utils Library - CLI Development files libgz-utils2-dbg - Gazebo Utils Library - Debugging symbols libgz-utils2-dev - Gazebo Utils Library - Development files libgz-utils3 - Gazebo Utils Library - Shared library libgz-utils3-cli-dev - Gazebo Utils Library - CLI Development files libgz-utils3-dbg - Gazebo Utils Library - Debugging symbols libgz-utils3-dev - Gazebo Utils Library - Development files libgz-utils3-log - Gazebo Utils Library - Log shared library libgz-utils3-log-dev - Gazebo Utils Library - Log Development files python3-gz-math7 - Gazebo Math Library - Python3 bindings python3-gz-math8 - Gazebo Math Library - Python3 bindings python3-gz-msgs10 - Set of message definitions used by robotics apps - Dev files python3-gz-msgs11 - Set of message definitions used by robotics apps - Dev files python3-gz-sim8 - Gazebo Sim classes and functions for robot apps - Development files python3-gz-sim9 - Gazebo Sim classes and functions for robot apps - Development files python3-gz-transport13 - Gazebo transport Library - Python3 bindings python3-gz-transport14 - Gazebo transport Library - Python3 bindings ruby-gz-math7 - Gazebo Math Library - Ruby bindings ruby-gz-math8 - Gazebo Math Library - Ruby bindings ros-jazzy-clearpath-generator-gz - Clearpath Gazebo Generator ros-jazzy-clearpath-gz - Clearpath Gazebo Simulator ros-jazzy-crane-plus-gazebo - CRANE+ V2 gazebo simulation package ros-jazzy-dolly-gazebo - Launch Gazebo simulation with Dolly robot. ros-jazzy-gazebo-msgs - Message and service data structures for interacting with Gazebo from ROS2. ros-jazzy-gazebo-msgs-dbgsym - debug symbols for ros-jazzy-gazebo-msgs ros-jazzy-gz-cmake-vendor - Vendor package for: gz-cmake3 3.5.4 Gazebo CMake : CMake Modules for Gazebo Projects ros-jazzy-gz-common-vendor - Vendor package for: gz-common5 5.7.1 Gazebo Common : AV, Graphics, Events, and much more. ros-jazzy-gz-fuel-tools-vendor - Vendor package for: gz-fuel_tools9 9.1.1 Gazebo Fuel Tools: Classes and tools for interacting with Gazebo Fuel ros-jazzy-gz-gui-vendor - Vendor package for: gz-gui8 8.4.0 Gazebo GUI : Graphical interfaces for robotics applications ros-jazzy-gz-launch-vendor - Vendor package for: gz-launch7 7.1.1 Gazebo Launch : Run and manage programs and plugins ros-jazzy-gz-math-vendor - Vendor package for: gz-math7 7.5.2 Gazebo Math : Math classes and functions for robot applications ros-jazzy-gz-msgs-vendor - Vendor package for: gz-msgs10 10.3.2 Gazebo Messages: Protobuf messages and functions for robot applications ros-jazzy-gz-physics-vendor - Vendor package for: gz-physics7 7.5.0 Gazebo Physics : Physics classes and functions for robot applications ros-jazzy-gz-plugin-vendor - Vendor package for: gz-plugin2 2.0.4 Gazebo Plugin : Cross-platform C++ library for dynamically loading plugins. ros-jazzy-gz-rendering-vendor - Vendor package for: gz-rendering8 8.2.2 Gazebo Rendering: Rendering library for robot applications ros-jazzy-gz-ros2-control - Gazebo ros2_control package allows to control simulated robots using ros2_control framework. ros-jazzy-gz-sensors-vendor - Vendor package for: gz-sensors8 8.2.2 Gazebo Sensors : Sensor models for simulation ros-jazzy-gz-sim-vendor - Vendor package for: gz-sim8 8.9.0 Gazebo Sim : A Robotic Simulator ros-jazzy-gz-tools-vendor - Vendor package for: gz-tools2 2.0.2 Gazebo Tools: Entrypoint to Gazebo's command line interface ros-jazzy-gz-transport-vendor - Vendor package for: gz-transport13 13.4.1 Gazebo Transport: Provides fast and efficient asynchronous message passing, services, and data logging. ros-jazzy-gz-utils-vendor - Vendor package for: gz-utils2 2.2.1 Gazebo Utils : Classes and functions for robot applications ros-jazzy-leo-gz-bringup - Bringup package for Leo Rover Gazebo simulation in ROS 2 ros-jazzy-leo-gz-plugins - Plugins for Leo Rover Gazebo simulation in ROS 2 ros-jazzy-leo-gz-worlds - Gazebo worlds for Leo Rover simulation in ROS 2 ros-jazzy-leo-simulator - Metapackage for Leo Rover Gazebo simulation in ROS2 ros-jazzy-menge-vendor - Menge is a powerful, cross-platform, modular framework for crowd simulation developed at the University of North Carolina - Chapel Hill. ros-jazzy-raspimouse-gazebo - The raspimouse_gazebo package ros-jazzy-rmf-building-sim-gz-plugins - Gazebo plugins for building infrastructure simulation ros-jazzy-rmf-robot-sim-common - Common utility functions for Gazebo-classic and Gazebo RMF plugins ros-jazzy-rmf-robot-sim-gz-plugins - ROS 2 Gazebo plugins for TeleportIngestors and TeleportDispensers ros-jazzy-ros-gz - Meta-package containing interfaces for using ROS 2 with Gazebo simulation. ros-jazzy-ros-gz-bridge - Bridge communication between ROS and Gazebo Transport ros-jazzy-ros-gz-image - Image utilities for Gazebo simulation with ROS. ros-jazzy-ros-gz-interfaces - Message and service data structures for interacting with Gazebo from ROS2. ros-jazzy-ros-gz-sim - Tools for using Gazebo Sim simulation with ROS. ros-jazzy-ros-gz-sim-demos - Demos using Gazebo Sim simulation with ROS. ros-jazzy-scenario-execution-gazebo - Scenario Execution library for Gazebo ros-jazzy-test-ros-gz-bridge - Bridge communication between ROS and Gazebo Transport ros-jazzy-turtlebot3-gazebo - Gazebo simulation package for the TurtleBot3 ros-jazzy-turtlebot3-gazebo-dbgsym - debug symbols for ros-jazzy-turtlebot3-gazebo ros-jazzy-turtlebot4-gz-bringup - TurtleBot 4 Gazebo Simulator bringup ros-jazzy-turtlebot4-gz-gui-plugins - Turtlebot4 Gazebo Simulator GUI Plugins ros-jazzy-turtlebot4-gz-toolbox - Turtlebot4 Gazebo Toolbox ros-jazzy-ur-simulation-gz - Example and configuration files for Gazebo simulation of UR manipulators. ros-rolling-dolly-gazebo - Launch Gazebo simulation with Dolly robot. ros-rolling-gz-cmake-vendor - Vendor package for: gz-cmake4 4.1.1 Gazebo CMake : CMake Modules for Gazebo Projects ros-rolling-gz-common-vendor - Vendor package for: gz-common6 6.0.2 Gazebo Common : AV, Graphics, Events, and much more. ros-rolling-gz-fuel-tools-vendor - Vendor package for: gz-fuel_tools10 10.0.1 Gazebo Fuel Tools: Classes and tools for interacting with Gazebo Fuel ros-rolling-gz-gui-vendor - Vendor package for: gz-gui9 9.0.1 Gazebo GUI : Graphical interfaces for robotics applications ros-rolling-gz-launch-vendor - Vendor package for: gz-launch8 8.0.1 Gazebo Launch : Run and manage programs and plugins ros-rolling-gz-math-vendor - Vendor package for: gz-math8 8.1.1 Gazebo Math : Math classes and functions for robot applications ros-rolling-gz-msgs-vendor - Vendor package for: gz-msgs11 11.0.2 Gazebo Messages: Protobuf messages and functions for robot applications ros-rolling-gz-physics-vendor - Vendor package for: gz-physics8 8.1.0 Gazebo Physics : Physics classes and functions for robot applications ros-rolling-gz-plugin-vendor - Vendor package for: gz-plugin3 3.0.1 Gazebo Plugin : Cross-platform C++ library for dynamically loading plugins. ros-rolling-gz-rendering-vendor - Vendor package for: gz-rendering9 9.1.0 Gazebo Rendering: Rendering library for robot applications ros-rolling-gz-ros2-control - Gazebo ros2_control package allows to control simulated robots using ros2_control framework. ros-rolling-gz-sensors-vendor - Vendor package for: gz-sensors9 9.1.0 Gazebo Sensors : Sensor models for simulation ros-rolling-gz-sim-vendor - Vendor package for: gz-sim9 9.1.0 Gazebo Sim : A Robotic Simulator ros-rolling-gz-tools-vendor - Vendor package for: gz-tools2 2.0.2 Gazebo Tools: Entrypoint to Gazebo's command line interface ros-rolling-gz-transport-vendor - Vendor package for: gz-transport14 14.0.1 Gazebo Transport: Provides fast and efficient asynchronous message passing, services, and data logging. ros-rolling-gz-utils-vendor - Vendor package for: gz-utils3 3.1.1 Gazebo Utils : Classes and functions for robot applications ros-rolling-leo-gz-bringup - Bringup package for Leo Rover Gazebo simulation in ROS 2 ros-rolling-leo-gz-plugins - Plugins for Leo Rover Gazebo simulation in ROS 2 ros-rolling-leo-gz-worlds - Gazebo worlds for Leo Rover simulation in ROS 2 ros-rolling-leo-simulator - Metapackage for Leo Rover Gazebo simulation in ROS2 ros-rolling-menge-vendor - Menge is a powerful, cross-platform, modular framework for crowd simulation developed at the University of North Carolina - Chapel Hill. ros-rolling-rmf-building-sim-gz-plugins - Gazebo plugins for building infrastructure simulation ros-rolling-rmf-robot-sim-common - Common utility functions for Gazebo-classic and Gazebo RMF plugins ros-rolling-rmf-robot-sim-gz-plugins - ROS 2 Gazebo plugins for TeleportIngestors and TeleportDispensers ros-rolling-ros-gz - Meta-package containing interfaces for using ROS 2 with Gazebo simulation. ros-rolling-ros-gz-bridge - Bridge communication between ROS and Gazebo Transport ros-rolling-ros-gz-image - Image utilities for Gazebo simulation with ROS. ros-rolling-ros-gz-interfaces - Message and service data structures for interacting with Gazebo from ROS2. ros-rolling-ros-gz-sim - Tools for using Gazebo Sim simulation with ROS. ros-rolling-ros-gz-sim-demos - Demos using Gazebo Sim simulation with ROS. ros-rolling-test-ros-gz-bridge - Bridge communication between ROS and Gazebo Transport ros-rolling-turtlebot3-gazebo - Gazebo simulation package for the TurtleBot3 ros-rolling-turtlebot3-gazebo-dbgsym - debug symbols for ros-rolling-turtlebot3-gazebo ros-rolling-ur-simulation-gz - Example and configuration files for Gazebo simulation of UR manipulators. 查询支持的Gazebo版本来决定要安装的具体版本号
05-24
### 查找系统中支持的 Gazebo/GZ 版本并决定具体安装版本号 通过命令 `apt-cache search gazebo | grep -E 'gz-harmonic|gz-ionic|gz-sim[0-9]|gz-plugin[0-9]'` 可以筛选出当前系统可用的 Gazebo 或其后续重命名后的 GZ 系列版本。此方法能够帮助识别哪些版本已经打包到系统的软件源中,从而便于选择适合的版本进行安装。 以下是关于该命令及其输出解释的内容: --- #### 1. **解析命令的作用** - `apt-cache search gazebo`: 搜索所有与关键词 “gazebo” 相关的软件包。 - `grep -E 'gz-harmonic|gz-ionic|gz-sim[0-9]|gz-plugin[0-9]'`: 过滤出符合正则表达式的条目,这些通常是现代 Gazebo 的替代品或插件集合[^3]。 命令的目标是从大量可能的结果集中提取最相关的几个选项,例如: ```plaintext gz-harmonic - Harmonic version of Ignition Robotics simulation tools (meta-package) gz-ionic - Ionic version of Ignition Robotics simulation tools (meta-package) gz-sim7 - Simulation engine for robotics and multi-physics applications gz-plugin6 - Plugin system for Ignition libraries ``` --- #### 2. **分析返回结果的意义** - **Meta-Packages**: 类似于 `gz-harmonic`, 它们代表整个系列工具的一个入口点,通常包含了核心模拟器和其他必要组件的一致组合。 - **Specific Tools/Engines**: 如 `gz-sim7` 表示第七代仿真引擎;而像 `gz-plugin6` 则专注于提供第六版插件框架支持。 根据您的需求(如硬件接口、传感器模型精度或者社区活跃度),可以挑选最适合的那个版本。值得注意的是,越新的版本往往意味着更好的性能和更多的特性,但也可能存在兼容性风险特别是针对老旧代码库的时候[^4]^。 --- #### 3. **处理依赖问题** 上次提到过尝试安装 `ros-foxy-rmf-demos-gz` 遇到了未满足的依赖项错误[^1]。这表明即使找到了理想的 Gazebo/GZ 版本,也需要确保所有关联模块都能顺利加载进来。为此建议采取如下措施之一: - 执行修复破损状态的指令:`sudo apt --fix-broken install` - 明确指定额外需要一并拉取的相关子包名重新发起请求 同样重要的是核查 ROS Foxy 自身是否完全适配所选的 GZ 版本范围之外的数据交换机制变化情况,比如 TF 前缀弃用的影响[^2]^。 --- #### 示例操作流程 假定经过前面步骤发现 `gz-sim7` 是理想的选择,则按照下面的方式继续前进: ```bash sudo apt update sudo apt install gz-sim7 ``` 随后验证安装成功与否并通过简单测试案例确认基本功能正常运作即可。 --- ### 总结 综合运用上述技巧不仅有助于精确找到匹配期望条件下的 Gazebo/GZ 版本编号,而且还能有效规避常见陷阱诸如隐含依赖缺失之类的问题发生几率降到最低限度之内。 ---
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值