Skip to content

Comments

Unified firmware for rosbot-XL and core2 hardware#23

Open
Jakub-husarz wants to merge 22 commits intohusarion:masterfrom
Jakub-husarz:unified_firmware_with_core_2
Open

Unified firmware for rosbot-XL and core2 hardware#23
Jakub-husarz wants to merge 22 commits intohusarion:masterfrom
Jakub-husarz:unified_firmware_with_core_2

Conversation

@Jakub-husarz
Copy link

@Jakub-husarz Jakub-husarz commented Oct 3, 2025

Before merging

  • Test on rosbot_XL to ensure nothing was broken!
  • Finalize breaking issues in TO-DO section

Description

Use the same codebase for both rosbot-XL and core-2 hardware (ex. rosbot-ros2), depending on build flag defined.

Build with:
platformio run -e rosbot_xl_digital_board
or:
platformio run -e rosbot_2_digital_board

TO-DO:

  1. Fix the motors (currently not running)
  2. Try to port following tasks to core2 (currently disabled):
  • SbcShutdownTask: handle the shutdown without PowerBoard in Core2?
  • PowerBoardTask: read battery voltage from ADC_VBAT instead of sending the request
  • PowerOffSignalLoopHandler: can we read the poweroff signal in Core2? “PG_6“ should be connected to RPI pull-up
  • GetBoardVersion: implement runtime board discovery here?
  • GetInsideTemperature: change temperature calculations to match Core2
  1. Implement features available in core2 but missing in rosbot XL:
  • buttons
  • red LED
  • distance sensors
  • servo
  • ...?
  1. Switch hardware version in runtime instead of compile flags

Version

bump::minor

@rafal-gorecki rafal-gorecki force-pushed the unified_firmware_with_core_2 branch from a389d5f to 33598a6 Compare December 30, 2025 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant