First of all I would like to present myself. I'm Javier González and
I'm currently studing Automatic and Electronic Engineer.
My team group have recently purchased the Robai Cyton V2 and I have
installed the software included in cyton2ViewerSetup_7LG-3.0.20110301-
msvc2008 package. I've playing around with the Cyton Viewer and I have
managed to move each joint separately executing the "bin
\cytonHardwareExample.exe". The problem comes when I try to launch "bin
\cytonControlExample.exe" or if try to launch the compiled version "bin
\controlExample.exe" with Visual Studio 2010. In the command window I
get all the lines printed like "p:285 Joint Angles: 0.0127957....."
but the arm actually does not move. I have also noticed that sometimes
the wires are not properly connected in between each servo so I have
to reset everything and check them. Is there any chance that the
problem comes from a not-so-well physical connection between the
motors?
Thank you in advance
a) controlExample.exe - ActinSE application showing how to convert from desired end-effector position to generate joint angles (inverse kinematics).b) cytonControlExample.exe - Same as a), but also pushes joint angles through hardwareInterface to move robot.c) cytonHardwareExample.exe - Basic joint testing for hardware. Goes through a series of movements to exercise each joint on the robot. No ActinSE component.
EcWarn : : expected 6 but read 0 bytesEcWarn : read failedEcWarn : FAILED setting some parameter for servo 0EcWarn : FAILED configuring servosEcWarn : Controller::init() failedEcError: Unable to initialize plugin cytonPlugin
Thank you so much for your rapid answer. Now I start to see some
light. I've been working around with the arm and I'm having the same
problem. It seems that a wire is loose or something. The thing is that
the problem that I read in results.txt is:
Plugin './cytonViewerPlugin.ecp' loaded successfully.
Plugin './cytonPlugin' loaded successfully.
EcWarn : : expected 6 but read 0 bytes
EcWarn : read failed
EcWarn : FAILED setting some parameter for servo 8
EcWarn : FAILED configuring servos
So the problem should be around the end-effector servo? How can I know
it for sure? How can I solve it if it's a hardware problem?
Thanks again.
Javier
On Dec 7, 3:42 pm, Chuck Seberino <seber...@energid.com> wrote:
> Javier,
>
> There are a few suggestions that might help:
>
> 1. Precompiled binaries vs. building yourself - You mention that you downloaded the Visual Studio 2008 version of the software (msvc2008), but then talk about running it within VS2010. The precompiled binaries will run fine, but you will get strange runtime errors if you try to compile and link mixed 2008 and 2010 libraries. Here is the link for the 2010 version:http://outgoing.energid.info/Installers/cyton2ViewerSetup_7LG-3.0.201...
>
> 2. Behavior of executables - There are a few different applications utilizing a combination of libraries - ActinSE and cytonHardwareInterface. Here is a quick summary:
> a) controlExample.exe - ActinSE application showing how to convert from desired end-effector position to generate joint angles (inverse kinematics).
> b) cytonControlExample.exe - Same as a), but also pushes joint angles through hardwareInterface to move robot.
> c) cytonHardwareExample.exe - Basic joint testing for hardware. Goes through a series of movements to exercise each joint on the robot. No ActinSE component.
>
> 3. Communication with hardware - When running the cytonViewer, on startup it will attempt to query the hardware and initialize the viewer to the current state of the robot. If it fails for some reason (USB not connected, arm not powered on, etc), then it will popup a message indicating improper initialization. The command-line executables are not GUI-based, and will indicate the error through the default output file (results.txt). You can examine this file to make sure everything is working properly. The arm will fail to initialize even when there is just a single servo not connected. Output in the results.txt will look something like the message below when it fails. The servo number will give a hint on where the problem originates. Numbering for the servos starts at the base of the robot with servo 0 and finishes at the gripper (servo 6).
> EcWarn : : expected 6 but read 0 bytes
> EcWarn : read failed
> EcWarn : FAILED setting some parameter for servo 0
> EcWarn : FAILED configuring servos
> EcWarn : Controller::init() failed
> EcError: Unable to initialize plugin cytonPlugin
>
> Hopefully this gives you enough information to go on. Let me know if you have further questions.
>
> Thanks
> Chuck
>
> --
> Chuck Seberino
This issue is occuring when there is a mismatch b/w
cyton-software and cyton-hardware . Currently you are using the latest
cyton-V2 , but the installer is for old cyton-V2 .Here is the installer for
latest cyton-V2 model .Please verify whether its working .
http://outgoing.energid.info/Installers/cyton2ViewerSetup_7IG-3.0.20111126-msvc2008.exe
http://outgoing.energid.info/Installers/cyton2ViewerSetup_7IG-3.0.20111126-msvc2010.exe
Thanks
Lentin