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

ROS2/odrive nodes for nav2 #1

Open
HusamZain opened this issue Jan 27, 2022 · 4 comments
Open

ROS2/odrive nodes for nav2 #1

HusamZain opened this issue Jan 27, 2022 · 4 comments

Comments

@HusamZain
Copy link

Hi !
I'm new to ros2 and the odrive, and I want to use them in order to make a differential mobile robot navigate, to do so I need to make two nodes one (base controller node) subscribe to cmd_velocity topic and make the motor rotate, and one to subscribe to the position data from the encoder reading and publish the odometery topic.

and I'm trying to use your code, but couldn't understand how to do it,
any suggestion or help ?
thanks in advance

@skymaze
Copy link
Owner

skymaze commented Jan 30, 2022

Hi, You can read turtlebot3 code and example, my code refers to its design and should work the same way.

@ArghyaChatterjee
Copy link

Hi @HusamZain , can you share the code that you created to work with ros 2 examples which creates a /cmd_vel topic and /odom topic. I am also facing the same issue. My setup is similar to yours. Any help is appreciated.

@HusamZain
Copy link
Author

@ArghyaChatterjee sorry for the late reply.

I haven't done it yet, I'm wondering as well how to do it.
now I'm trying another repo where you can use it with ros2-control
https://github.com/Factor-Robotics/odrive_ros2_control.git
and check this project I think it has all you need
https://github.com/kallaspriit/rosbot.git

@ArghyaChatterjee
Copy link

@HusamZain thanks a lot.

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