CanRawSender doesn't update frame data unless "Send" is toggled
erikboto opened this issue · 1 comments
erikboto commented
Steps to reproduce:
- Set up a CanRawSender with a repeating frame, "Id: 111, Data: 00000000, Loop: checked, Interval: 100".
- Enable it by clicking "Send"
- Change the Id to 112.
- Start simulation
The CanRawSender will now send frames with Id 111 and not Id 112, until "Send" is set to off and then on again.
I had a quick look at the code, and it looks like only NewLineManager::SetSendButtonState() is called on changes to Id, Data etc, but the actual set up of the frame is only done in NewLineManager::SendButtonPressed().
rkollataj commented
Good catch and many thanks for the fix!