Skip to content

Converted heartbeat_listener.py#4

Open
Jorza wants to merge 1 commit intomasterfrom
jory
Open

Converted heartbeat_listener.py#4
Jorza wants to merge 1 commit intomasterfrom
jory

Conversation

@Jorza
Copy link
Copy Markdown

@Jorza Jorza commented Sep 2, 2021

Didn't know how to deal with the ros param so I left it as a TODO lol

@liamwhittle
Copy link
Copy Markdown
Contributor

Hey- awesome work! I've added a pic of the the output I got when I ran it (I was publishing once per second to the topic). Any idea why this is happening?
Otherwise really great work- documentation looks great!
image

@Jorza
Copy link
Copy Markdown
Author

Jorza commented Sep 2, 2021

Yep that makes sense. It's checking at 50Hz so 1sec publishing is probably too slow. If you change the LOOP_DELAY to something larger it should behave itself. I just used the same frequency as LOOP_HERTZ in the original implementation.

@liamwhittle
Copy link
Copy Markdown
Contributor

Oh true! That makes sense, awesome work!

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.

2 participants