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

Python Bindings for Robot State Publisher #199

Open
geoeo opened this issue Sep 7, 2022 · 2 comments
Open

Python Bindings for Robot State Publisher #199

geoeo opened this issue Sep 7, 2022 · 2 comments
Labels

Comments

@geoeo
Copy link

geoeo commented Sep 7, 2022

Would it be possible to write python bindings for the accessing the library?

I think currently its only possible to manually publish a robot state publisher via cpp code?

@clalancette
Copy link
Contributor

It would be possible, but I'm not entirely sure why you would want to do it. As it stands, robot_state_publisher does exactly one thing; it subscribes to /joint_states, and given a URDF, it publishes the joint states out to /tf or /tf_static. There isn't much of an API to call here.

Can you explain why you want a Python API, and what you are trying to accomplish?

@geoeo
Copy link
Author

geoeo commented Sep 7, 2022

I have a mesh of an object im tracking that I want to visualize in rviz. Since I can only publish the robot state model via the node I either 1) need an extra terminal or 2) use the launch file. When Im developing I dont want to use the launch file. So I need an extra terminal. It would be more ergonomic (in my opinion) if I could publish all data from my node (via code). I guess this is more a quality of life improvement

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