Skip to content

Fix loopback option to be sender only#66

Merged
JWhitleyWork merged 2 commits into
autowarefoundation:mainfrom
khallenbeck-dsi:sender_loopback
Jan 21, 2026
Merged

Fix loopback option to be sender only#66
JWhitleyWork merged 2 commits into
autowarefoundation:mainfrom
khallenbeck-dsi:sender_loopback

Conversation

@khallenbeck-dsi

Copy link
Copy Markdown
Contributor

The loopback option added in #45 is functionally hard-coded to false. It was added to the common code with a default of false, and exposed as a parameter and launch argument on the receiver. However, the sender is the one that selects if the transmitted message loops back and shows up on the receiver. The loopback option on the receiver has no effect.

This PR moves the loopback option from the receiver to the sender.

Signed-off-by: Kevin Hallenbeck <khallenbeck@dataspeedinc.com>
Revert most of e39a814

Signed-off-by: Kevin Hallenbeck <khallenbeck@dataspeedinc.com>
@ismetatabay

ismetatabay commented Jan 20, 2026

Copy link
Copy Markdown
Member

@JWhitleyWork friendly ping :)

#69

@JWhitleyWork JWhitleyWork left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@JWhitleyWork JWhitleyWork enabled auto-merge (squash) January 21, 2026 00:27
@JWhitleyWork JWhitleyWork merged commit b1d1a66 into autowarefoundation:main Jan 21, 2026
6 checks passed
TetsuKawa pushed a commit to TetsuKawa/ros2_socketcan that referenced this pull request Mar 18, 2026
* Add loopback option to sender

Signed-off-by: Kevin Hallenbeck <khallenbeck@dataspeedinc.com>

* Remove loopback option from receiver

Revert most of e39a814

Signed-off-by: Kevin Hallenbeck <khallenbeck@dataspeedinc.com>

---------

Signed-off-by: Kevin Hallenbeck <khallenbeck@dataspeedinc.com>
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.

3 participants