Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to getting started with ros2_socketcan? #51

Open
Caracal117 opened this issue Jul 19, 2024 · 3 comments
Open

How to getting started with ros2_socketcan? #51

Caracal117 opened this issue Jul 19, 2024 · 3 comments

Comments

@Caracal117
Copy link

Hi, I'm new to both ROS2 and Socketcan. I'm trying to use this package, built from source in ROS humble, but with the command of
ros2 launch socket_can_bridge.launch.xml, the terminal output turns out to be
Screenshot from 2024-07-19 15-24-36
In my system, I'm able to use can-utils to send out some simple message.
Screenshot from 2024-07-19 15-57-53

Am i missing some configuration step, could you help me use this package? Thanks in advance.

@Caracal117
Copy link
Author

Update: The launch file works without warning message with vcan. Monitoring and publishing data from/to can bus seems normal with can0 as well. However, the timeout warning still exists when testing no matter how I set timeout_sec in launch file. Any suggestion?

@anandadio
Copy link

Any updates? i'm having the same issue

@tonynajjar
Copy link

Are you getting seeing data on the receiving topic? If yes then the timeouts are probably nothing to worry about. It's likely that you just don't send data fast enough on the canbus. You can confirm this by sending data at a higher rate and see if the timeout goes away, e.g. cangen can0 -g 1 -I 123 -L 8 -D i. If that's the issue then you can "supress" the warning by increasing the "receiver_interval_sec"

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

No branches or pull requests

3 participants