Skip to content

Incorrect CmdMsg::DATA_LENGTH used for HornCmdMsg when it is pushed into rx_list #67

@jilinzhouas

Description

@jilinzhouas

The issue is self-explained in the code (in pacmod3_node.cpp):

    rx_list.emplace(
      HornCmdMsg::CAN_ID,
      std::shared_ptr<LockedData>(new LockedData(HeadlightCmdMsg::DATA_LENGTH)));

Although HeadlightCmdMsg::DATA_LENGTH is equal to HornCmdMsg::DATA_LENGTH, it should be changed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions