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

Connecting a Servo to the OpenCR #304

Open
pitosalas opened this issue Apr 8, 2022 · 6 comments
Open

Connecting a Servo to the OpenCR #304

pitosalas opened this issue Apr 8, 2022 · 6 comments

Comments

@pitosalas
Copy link

Looking around the source code and googling around, it seems to be that the Turtlebot3 / OpenCR board is set up to accept a servo connector. I see there's a package called servo etc. My question is where on the OpenCR board should we attach the servo connector? THank you!

@shiba-8ro
Copy link

shiba-8ro commented Apr 9, 2022

Hi,
If it is meaning PWM servo, ROBOTIS e-manual has the Pin assign description.
https://emanual.robotis.com/docs/en/parts/controller/opencr10/#pwm

@pitosalas
Copy link
Author

I see. Can you say whether how to enable the topic via rosserial on the OpenCR or does that happen "automatically"?

@ROBOTIS-Will
Copy link
Contributor

Hi,
This OpenCR ROS examples may help you to implement the publisher / subscriber for PWM motor control.
Similar sub/pubs are implemented in the TurtleBot3 ROS example.

@pitosalas
Copy link
Author

pitosalas commented Apr 12, 2022 via email

@ROBOTIS-Will
Copy link
Contributor

ROBOTIS-Will commented Apr 21, 2022

@pitosalas
I'm sorry about the delayed response.
ROS examples in OpenCR board manager have those pub/sub implmentations.
For example, the bumper status is published via "bumper" topic in the example below.
https://github.com/ROBOTIS-GIT/OpenCR/blob/master/arduino/opencr_arduino/opencr/libraries/ROS/examples/02.%20Sensors/a_bumper/a_bumper.ino#L58

Similarly, the TurtleBot3 sensor state message is published in the below.
https://github.com/ROBOTIS-GIT/OpenCR/blob/master/arduino/opencr_arduino/opencr/libraries/turtlebot3/examples/turtlebot3_burger/turtlebot3_core/turtlebot3_core.ino#L258

Thank you.

@pitosalas
Copy link
Author

pitosalas commented Apr 27, 2022 via email

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