官网提供的centerpoint工程是否支持在RDK-X5上运行

目前工程:https://github.com/D-Robotics/hobot_centerpoint 在分支feature-x5是否已经支持RDK-X5设备上运行。

在RDK-X5设备上运行时,会提示以下错误:1. 不支持RDK-X5设备 2. hbrt版本库不兼容,这个跟装的镜像相关,可以先忽略

[hobot_centerpoint-1]  pub_topic_name: /hobot_centerpoint
[hobot_centerpoint-1]  lidar_pre_path: config/hobot_centerpoint_data
[hobot_centerpoint-1] [BPU_PLAT]BPU Platform Version(1.3.6)! soc info(x5)
[hobot_centerpoint-1] [HBRT] set log level as 0. version = 3.15.55.0
[hobot_centerpoint-1] [DNN] Runtime version = 1.24.5_(3.15.55 HBRT)
[hobot_centerpoint-1] [WARN] [1782115258.534420905] [hobot_centerpoint]: A total of 81 files were fetched! 
[hobot_centerpoint-1] [W][DNN]bpu_model_info.cpp:491][Version](2026-06-22,16:00:58.530.855) Model: centerpoint_pointpillar_nuscenes_5dim. Inconsistency between the hbrt library version 3.15.55.0 and the model build version 3.15.25.0 detected, in order to ensure correct model results, it is recommended to use compilation tools and the BPU SDK from the same OpenExplorer package.
[hobot_centerpoint-1] [BPU_PLAT]Make sure inst Suport (X5) Platform!!
[hobot_centerpoint-1] [BPU_PLAT]Incompatible Platform!!
[hobot_centerpoint-1] [BPU_PLAT]FC Parse error!
[hobot_centerpoint-1] [BPU_PLAT]Calloc fc space failed!

我想确认是否已经兼容完在RDK-X5设备上,查看CMakeList.txt只兼容只有RDK-X3的相关设置,并没有RDK-X5的

if(PLATFORM_X3)
  message("build platform X3")
  add_definitions(-DPLATFORM_X3)
  set(PREFIX_PATH x3)
elseif(PLATFORM_Rdkultra)
  message("build platform Rdkultra")
  add_definitions(-DPLATFORM_Rdkultra)
  set(PREFIX_PATH rdkultra)
elseif(PLATFORM_X86)
  message("build platform x86")
  add_definitions(-DPLATFORM_X86)
  set(PREFIX_PATH x86)
  set(SYS_ROOT ${THIRD_PARTY})
else()
  if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "aarch64")
    message("invalid platform, build platform X3 default")
    add_definitions(-DPLATFORM_X3)
    set(PREFIX_PATH x3)
  elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
    message("build platform X86")
    add_definitions(-DPLATFORM_X86)
    set(PREFIX_PATH x86)
    set(SYS_ROOT ${THIRD_PARTY})
  endif()
endif()

当前报错表明:你使用的模型文件(.hbm)与当前的硬件平台或运行时环境不匹配。

具体原因有两点:

  1. 模型版本过旧/不兼容:日志显示模型是用 HBRT 3.15.25.0 编译的,而你系统运行的 HBRT 版本是 3.15.55.0。虽然通常小版本兼容,但日志明确提示了不一致。建议先更新板端系统包:sudo apt update && sudo apt full-upgrade

  2. 关键错误 - 平台不支持[BPU_PLAT]Incompatible Platform!![BPU_PLAT]FC Parse error! 是最致命的错误。这通常意味着.hbm 模型文件并非为 X5 芯片架构编译,或者模型内部包含 X5 BPU 不支持的算子/配置。建议检查模型文件架构是否为X5芯片架构bayes-e。

注意:GitHub 上的 feature-x5 分支代码本身是支持 RDK-X5 的,但代码支持不代表预置的模型文件支持。你需要确认你使用的 model.hbm 是否专门针对 X5 进行了编译。

1.我当前设备安装的镜像版本就是最新的

2.我从哪里可以拿到基于X5设备上编译的这个模型 我的文件是从github上下载下来的

参考RDK TROS手册目前交付内容只支持 S100 / S100P