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

Best practice for ROS2 node subscribing to "/franka_state_controller/franka_states" #6

Closed
Olimoyo opened this issue Jun 1, 2022 · 3 comments

Comments

@Olimoyo
Copy link

Olimoyo commented Jun 1, 2022

Hi,

I am running the Franka ROS1 packages and using a bridge to get the messages in ROS2.

If I would like to write a ROS2 python node that subscribes to the topic /franka_state_controller/franka_states of type FrankaState, what would be the best way to import this message definition and dependency? I'm trying to do the following right now:

from franka_msgs.msg import FrankaState

Thank you,
Oliver

@baslinjames
Copy link

Hello. Is there an update on reading the robot state with franka_ros2 @Olimoyo @marcbone ?

@Olimoyo
Copy link
Author

Olimoyo commented May 5, 2023

I ended up not using ROS2 unfortunately.

@BarisYazici
Copy link
Collaborator

Franka robot state broadcaster is now supported default in ROS2 Humble. So you don't need the bridge now. You can access the franka_robot_state topic directly

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