Skip to content

CANOpen testing tools failed #13

@vantin2912

Description

@vantin2912

Issue Description

I tried running the test code by following the guidelines in the CANopenDemo test documentation

I used the demo device defined in this repository and connected it to canopend via vcan0.
After executing the test script, several test cases failed.

Upon investigation, the failures seem to be caused by additional received EMCY (Emergency) messages.
Image

Steps to Reproduce

  • Set up the demo device as described in the repository.
  • Connect to canopend using vcan0.
  • Run the provided test script.
  • Observe that some test cases fail due to unexpected EMCY messages.

Expected Behavior

All test cases should pass without receiving unexpected EMCY messages.

Actual Behavior

A few test cases fail because the node sends additional EMCY messages that are not handled or expected by the test.

Questions

  • Am I missing any configuration or setup step?
  • Are these test cases potentially outdated?
  • Could you please suggest a solution or update the test cases to align with the latest CANopenNode behavior?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions