Skip to content

adapt to calculator #24

Open
ipa-rwu wants to merge 4 commits into
hsd-dev:masterfrom
ipa-rwu:rwu-araig-calculator
Open

adapt to calculator #24
ipa-rwu wants to merge 4 commits into
hsd-dev:masterfrom
ipa-rwu:rwu-araig-calculator

Conversation

@ipa-rwu

@ipa-rwu ipa-rwu commented Nov 23, 2020

Copy link
Copy Markdown

I created a calculator ros package. But I need to modify a little bit of this package.
It seems that this package is still functional. But please check it again.


def start(self):
self._pub_diag = rospy.Publisher(
'/diagnostics', DiagnosticArray, queue_size=10

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Shouldn't you be using output_topic_name and msg_type here?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I rewrite this function in my code.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

self._pub_diag = rospy.Publisher(
            '/diagnostics', DiagnosticArray, queue_size=10

Should be

self._pub_diag = rospy.Publisher(
            output_topic_name, msg_type, queue_size=10

isn't it?

@hsd-dev

hsd-dev commented Nov 24, 2020

Copy link
Copy Markdown
Owner

Have you made any changes in monitor.py? It looks similar to the existing monitor script.

@ipa-rwu

ipa-rwu commented Nov 24, 2020

Copy link
Copy Markdown
Author

I didn't change any in monitor.py. I just rewrite some functions in my code.

@hsd-dev

hsd-dev commented Nov 24, 2020

Copy link
Copy Markdown
Owner

I didn't change any in monitor.py

Then can you remove monitor.py from the PR?

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