Repository navigation
Merged
Conversation
RobotGameRefereePack grows from 92 to 117 bytes (Referee feat/host-referee-pack). SharedTopicClient needs payload + 17 bytes of the UART write queue: 134 > 128. usb_otg_hs_cdc (omni_infantry_3/4) and usb_otg_hs_cdc2 (sentry) get a 256 B transmit buffer (CDCUart tx_buffer_size 128 -> 256, app_main.cpp regenerated with generator 6.0.0), leaving 105 B for later fields. The lock pins Referee feat/host-referee-pack f3f44bd. FreeRTOS heap (heap_1, 64 KiB) grows by about 0.66 KiB per affected config (2 x 128 B CDC buffer + 16 SharedTopicClient slots x 25 B). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…riod hero: rename the IMU topics to gimbal_gyro/gimbal_accl/gimbal_quat, add CameraSync and forward camera_sync_command/camera_sync_result and robot_game_ref over the auto-aim SharedTopic. sentry: add CameraSync and the same forwarding; the host converts the board's x-forward IMU axes. omni_infantry_3/4: trigger_period_us is in microseconds, 10 -> 10000.
XRobot Terminal (FS), XRobot AutoAim and XRobot Aux (HS) set through interface in libxr_config.yaml; the auto-aim host opens its port by VID:PID and XRobot AutoAim. Needs the generator release that supports cdc interface.
Includes xrobot-org/libxr#333. With 783b157 no USB CDC port sent any data: writes made before configuration filled the queue and transmission never restarted, and on OTG_HS a late EPDISD flush discarded the first packet after SET_CONFIGURATION.
…antry Matches the host CameraFrameSync trigger_period_us. Bench-verified on PI-HAILO-13T with LibXR 98bc7b29.
v4 自瞄重构:DevC 相机同步、自瞄 Topic 与 CDC 接口名
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
把 dev 合进 master,使 DevC 固件与车载 BSP master(bsp-linux-autoaim)的 v4 自瞄链路对齐。上一次发版(#30)早于 #29 合入 dev,所以 master 还缺下面这些。
camera_sync_command,上行 IMU(gimbal_gyro/gimbal_accl/gimbal_quat)、camera_sync_result、robot_game_ref;英雄 IMU Topic 改名为gimbal_*。trigger_period_us由 10(单位 µs,错值)改为 5000。XRobot Terminal、HSusb_otg_hs_cdcXRobot AutoAim、usb_otg_hs_cdc2XRobot Aux。车载 BSP 按 VID:PID 加接口名XRobot AutoAim打开 DevC,master 固件没有这个接口名时打不开。robot_game_ref包)。LibXR、xrobot、CodeGenerator 与 master 相同(LibXR v2.0.1,含 xrobot-org/libxr#333 的 CDC 修复;CodeGenerator 6.0.1 重新生成的
app_main.cpp与提交一致)。dev CI 通过。提交:
a9ec7defeat: 256 B HS CDC transmit buffers for the larger robot_game_ref pack65fb5bfCamera sync and auto-aim topics for hero and sentry; 10 ms trigger period0568163Name the CDC interfaces5947bd4Update LibXR to 98bc7b2: CDC sends after enumeration on STM32 OTG6398edeCameraSync trigger period 5 ms (200 Hz) for hero, sentry and omni infantry339f089Merge dev: LibXR v2.0.1, xrobot 1.0.1, CodeGenerator 6.0.19a565d3Merge pull request v4 自瞄重构:DevC 相机同步、自瞄 Topic 与 CDC 接口名 #29 from QDU-Robomaster/refactor/autoaim-v4未在实车验证:英雄 BMI088 安装旋转与上位机
imu_axes: BODY、哨兵X_FORWARD_Y_LEFT_Z_UP。13T 台架会用 dev 固件(与本 PR 相同内容)配合车载 BSP master 做一次正式配置验证,结果补在本 PR 评论里。