-
Notifications
You must be signed in to change notification settings - Fork 238
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
OpenCR1.0 turtlebot3_motor_setup #54
Comments
Hi, here is the source that makes the OpenCR run as USB2Dynamixel. Questions are welcomed |
Hi! https://github.com/ROBOTIS-GIT/dynamixel-workbench I got this error:
Communication with the device works fine! It's not a simple problem of authorization anyway! I'm thinking about and maybe the dynamixel is not connected to the correct location... I've connected it at the "dynamixel port" on the OpenCR, accordgin to the turtlebot tutorial... |
Update: Tested with Windows and Dynamixel Firmware Recovery. Same issue... The robot communicate but does not find motors! |
hi, again. change the baudrate of the motor from 57600(default) into 1000000 after firmware recovery(this was done). or change the access baudrate in the script of single_manager.launch into 57600 ( which might be set as default in the Dynamixel) |
Hi! |
hi, again 4pin and 3pin circuit are connected, and you dont need to choose either of them. |
Ok! |
okay, dont worry let me check your environment again. you're using couple of xl430-350 with newest firmware updated(41) youve just changed the firmware of the opencr board from the turtlebot core to usb-to-dxl what I mentioned previously. and now you downloaded the ROS dynamixel-workbench and it couldn't detect both anyhow right? did you set the IDs of those to 1 and 2? first and foremost |
sorry, xl430-250 |
It’s not a problem! just trying to understand!! |
Just to be clear: the main problem is that i’m not able to set the ID to one motor. The motor with ID 2 works, the other one does not communicate with turtlebot_core and i’m trying to reset it! But a part from the turtlebot_core program, I don’t find others ways to communicate with both motors.. I’ve tried several scripts in the examples of dynamixel_sdk 2.0 on arduino ide and using the usb-to-dxl |
kay, I will find out tomorrow morning stay tuned |
Thx! |
Hi, Here is my configuratio:
After fushing the usb_to_dxl code I cat this stuff (that in my understand means "ok")
The OpenCR is also powered by the turtlebot3 battery. When I power on it, the motor led blinks one time! But when I open the Dynamixel Wizard program and try to do something (not important what). Only the led User2 blinks. If I correctly understand, it means that the device does not respond to the PC... |
@ROBOTIS-Leon any news? |
@ludusrusso Hello, |
@ROBOTIS-Will thanks! |
@ludusrusso |
Ok thanks! However, when I try to do the recovery procedure, nothing happens, also the RX led does not blinks... I've tried different configuration of Serial1 baud and Serial3 baud in the usb_to_dxl.. There is something other I can do? |
Update! Strange fact: I noticed that the User1 led blinks also if no motor is connected. By reading the usb_to_dxl program, it should blinks only if it receives data from Serial3... My question is: is Serial3 the correct dynamixel port? Is there something other attached to it? Or maybe is something strange with the buffer.. |
@ludusrusso |
Hi! I'm using the version of dxl_to_usb.ino linked above, I'll copy it here:
I've only changed the DXL_BAUD to the various baud rate supported by the dxl... 9600 57600, 115200 etc. I'll done a video tomorrow |
Hi! |
Hi @ROBOTIS-Will, I am facing the similiar issue while interfacing OpenCR with RaspberryPi3. I tried to use openCR as U2D2 while uploading 'usb_to_dxl' sketch from Arduino. But before uploading when I compiled it, it failed. I can see the connected port as /dev/ttyACM0. In fact, when I run rosrun with roscore, its works but in case of roslaunch, it failed with process died message. Please suggest. Thanks. |
Hi @Ash-S |
Hi @ROBOTIS-Will , thanks for your prompt reply.
Error compiling for board OpenCR Board. |
If you are compiling the sketch from other software than Arduino IDE, I cannot guarantee its success. |
@ROBOTIS-Will I am only compiling it with Arduino IDE version 1.8.9 on windows 10. |
According to your error, it looks like your compiler cannot find the header file.
|
Hi @ROBOTIS-Will thanks for your suggestion but 'gcc' is already appended in my windows env path. Also i didn't understand why this openCR package get installed in MATLAB support package. Do I need to change the install path some where? If yes, then where I have to dig into it, please suggest. |
I'd suggest to completely remove the Arduino IDE and reinstall with default settings. |
Hi @ROBOTIS-Will thanks. Seems that was the only solution when nothing works. :) |
Hi @Ash-S |
Okay @ROBOTIS-Will . I am deleting the query from this repository. Thanks. |
Hi,
I've recently bought a Turtlebot3 but one motor does not communicate.
I've try using the
turtlebot3_motor_setup
but it seems not able to find any motor. Both with the working motor attached or not.Any solution? Unfortunatly I've not a USB2Dynamixel and it's complicate to buy one!
The text was updated successfully, but these errors were encountered: