-
Notifications
You must be signed in to change notification settings - Fork 39
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
Could not find motor #22
Comments
Hello, Greetings |
Hi, did some more testing with a virtual machine. The indigo version really stops being able to find motors only when the ubuntu 14.04 is completely updated, some old versions work as expected. Since I already had to upgrade my project to 16.04 I solved my problem, so I recommend it for everyone having this trouble, but people that have to use the 14.04 should install an outdated iso and turn off updates until this is fixed :/ I will leave this thread open until the authors help us find a way to make it work again on updated 14.04 |
I am pretty much a newbe here. Thanks so long. |
Hi @OliEfr , here on GitHub there is an unreleased version of the package for kinetic. |
Great! I cloned kinetic-devel and runned example.launch ... but unfortunately the same error "Could not find motors" occurred. For me it seems like a problem with the controller-spawner, because the "could not find motors" error is not declared in epos_hardware pkg IMHO. |
The 'could not find motor' error is in the epos.cpp file. Run 'rosrun epos_hardware list_devices' with the motor connected in USB to see if list_devices can inform the motor serial number, if it finds, check the yaml, urdf and launch file to see if everything is set up with the right parameters It may also be the USB permission, you can type 'sudo chmod 777 -R /dev/tty*' to get permission, then try list_devices and example.launch again |
Thanks- at least I found the Error in epos.cpp. But already set-up permissions. Running list_devices i get "Could not get port names: Bad Parameter" My EPOS4 status LED is blinking green. Btw the HelloEposCmd.cpp is working. Just not the epos_hardware package. |
Blinking green is how it is supposed to be. Don't know what might it be then. When you type 'lsusb' it lists the EPOS FTDI connection? |
Running lsusb or lsinput lists the port and that something is connected, but doesn't display any name for the connection. Much like no device would be connected. I tried on 2 PCs. Windows though, recognises the device via USB as EPOS4. |
Strange, try reconfiguring the motor on epos studio. |
I tried everything out with epos studio - everything works finde. I updated the firmware of EPOS4 controller just to be sure. I tried it with 3 Ubuntus now: on 1 it works and on 2 not. All basically having same software packages. When i ran 'dmesg | grep USB' i get: and lsusb -v also shows Manufactur: Maxon, Product: EPOS4. So actually the EPOS controller IS recognised by the system. But still not with lsusb. |
Hi @OliEfr did you finally get the motor the motor work?
|
Hi @grafoteka , unfortunately no. If you have any further questions, feel free to ask. Greetings |
Hi @OliEfr , thank you for your answer. Kinds regards, |
Ok. Here is my ros--python code. It's so easy. If you run it, the motor should move a bit.
|
Thank you for the information OliEfr, I am trying to configure all the CANopen and SocketCan for ROS, but still continue trying with package too. I continue following the code and I think that the error is in utils.cpp line 180:
I try to insert it manually:
And unfortunately I got the message: Error in CreateDeviceHandle |
@OliEfr with the ros--python code are you able to control the position/velocity of the motor and get it position? Jorge |
Yeah, it is possible |
@OliEfr have you controlled the motors in velocity profile? or just in position? I can't move them in velocity. |
In both i think, you can show me your code If you want.
Jorge De León Rivas <[email protected]> schrieb am Do., 28. Juni
2018, 09:32:
… @OliEfr <https://github.com/OliEfr> have you controlled the motors in
velocity profile? or just in position?
I can't move them in velocity.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AdrskNyOFvNT7qiupYdhv1yQvjHusA4Mks5uBIZ2gaJpZM4SVla0>
.
|
@OliEfr do you mind if we talk in this ros question? Just because we are talking from another package. Thank you |
Closing this issue since it's been open for a few months now and I got around the problem upgrading to 16.04, I don't think many people will use 14.04 anymore meaning this issue will hardly be useful again. |
Hi, firstly, I have seen the other 'Could not find motor' thread, but it did not help me.
I have been using the package on (ROS Indigo/Ubuntu 14.04) to control the position of an EC brushless motor (number 118889) and everything was working fine, but a week ago the package could not find my motor anymore, apparently with no changes to my yaml, urdf or launch files. I suspect it was a software update but I'm not able to say which software.
I then tried to install the package in an older ubuntu pc I have and it worked on first try. The old ubuntu 14.04 was kernel 4.2.0-42-generic, while the 14.04 in my regular pc is 4.4.0-116-generic. To determine if it really was an update I updated the software and the kernel of the old ubuntu (using ubuntu's software updater), and it stopped being able to find the motor as well. Then, I did the logical step of downgrading the regular pc to the 4.2.0 kernel, but it still could not find the motor. I have tried compiling in a new catkin workspace and giving USB permissions every step. I don't know what else I should try, is it possible that some software update made the package not work anymore? Or is downgrading not as effective as I think it is? How could I proceed to debug this further?
Any response should be useful, thanks in advance :)
The text was updated successfully, but these errors were encountered: