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

Rospy: transformBroadcaster.sendTransform cannot be overloaded #84

Closed
lsouchet opened this issue Mar 23, 2015 · 2 comments
Closed

Rospy: transformBroadcaster.sendTransform cannot be overloaded #84

lsouchet opened this issue Mar 23, 2015 · 2 comments
Assignees
Labels

Comments

@lsouchet
Copy link

Hello,

I recently upgraded my Ubuntu packages (including ros-indigo-geometry), and when I tried to execute a
transformBroadcaster.sendTransform(position, rotation, time, parent, child), I get this error:

TypeError: sendTransform() takes exactly 2 arguments (6 given)

When looking at the source files, I found this commit :

924d688

This seems to rely on python inheritance which I don't think exist.

Maybe this commit should be simply reverted.

Thank you

@tfoote
Copy link
Member

tfoote commented Mar 23, 2015

You're right it collides with the other method. It needs to use a different name. probably sendTransformMessage would be better.

@tfoote
Copy link
Member

tfoote commented Mar 23, 2015

I'll try to patch this within a day or two.

FYI @DLu Re #81

@tfoote tfoote added the bug label Mar 23, 2015
@tfoote tfoote self-assigned this Mar 23, 2015
@tfoote tfoote closed this as completed in 52e56e2 Mar 25, 2015
tfoote added a commit that referenced this issue Mar 25, 2015
Broadcaster: Rospy fix #84. Add sendTransformMessage.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants