Skip to content

fix(pdo): avoid PdoMaps(0,0) aliasing; delegate combined PDO to rx/tx#634

Closed
surajSFDC wants to merge 1 commit intocanopen-python:masterfrom
surajSFDC:fix/pdo-613-combined-maps
Closed

fix(pdo): avoid PdoMaps(0,0) aliasing; delegate combined PDO to rx/tx#634
surajSFDC wants to merge 1 commit intocanopen-python:masterfrom
surajSFDC:fix/pdo-613-combined-maps

Conversation

@surajSFDC
Copy link

@surajSFDC surajSFDC commented Mar 23, 2026

  • Add PdoMaps map_offset/com_offset and getitem fallbacks for record indices
  • Replace dict merge with _CombinedPdoMaps;
  • Expand PdoBase fast path
  • fix CiA 301 mapping tests
  • Add test_pdo_iterate

- Add PdoMaps map_offset/com_offset and __getitem__ fallbacks for record indices
- Replace dict merge with _CombinedPdoMaps; route 0x1400-0x17FF/0x1800-0x1BFF in PDO
- Expand PdoBase fast path to 0x1400-0x1BFF; fix CiA 301 mapping tests (0x1A00 TPDO)
- Add test_pdo_iterate

Fixes flawed combined-PDO approach from PR canopen-python#613 (dummy zero offsets).

Made-with: Cursor
@surajSFDC surajSFDC closed this Mar 23, 2026
@surajSFDC surajSFDC deleted the fix/pdo-613-combined-maps branch March 23, 2026 15:09
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.

2 participants