Repository navigation
v4 自瞄重构:DevC 相机同步、自瞄 Topic 与 CDC 接口名 - #29
Merged
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.
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.
gimbal_*。cdc[].interface)。注意:本分支叠在
feat/host-referee-pack(a9ec7de)之上,应先合并该分支。CodeGenerator 带interface字段的版本发布、generator:更新之前,CI 的生成比对会失败。验证:hero、sentry、omni_infantry_3 编译通过;13T 台架 200 Hz 整链通过(板已恢复原固件)。提交:
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 infantry