ingeniamc / ingeniamotion

Motion library for Ingenia servo drives
Other
6 stars 0 forks source link

Ignore initial zeros of saco and avoid session reset1 transitions #221

Closed polfeliu closed 1 month ago

polfeliu commented 1 month ago

Description

Saco responds with initial zeros after initializing FSoE, and while this is technically and error from it's part, we want to avoid triggering additional errors to the user. The master now will ignore all frames that start with 0 (which is invalid command) after start() is called. After a valid command is receive all frames will be passed and evaluated.

Tests

RESET1 transition no longer appears on wizard test: image

DATA_RESET2 still appears when finishing the test: https://novantamotion.atlassian.net/browse/INGK-958