Hi there,
I'm working with Robot Sensor Interface (RSI) and a KR60 and having trouble producing smooth motion.
For reference, I've attached a directory called "shared.zip" containing a SRC file and two RSI files, one of which connects inputs received via an Ethernet object directly to an AxisCorr object and the other incorporates a PID object. I have tried using P, PD, I, D, and PID with varying parameters in place of that PID object without success, though it's quite likely my implementation of RSI simply isn't correct. Otherwise, I'm using #IPO_FAST (4ms cycle time) and sending corrections in the range 0.001 to 0.01 degrees to any or all of my robot's axes, though I would like to send corrections as large as 0.1 degree. I have a custom C# application (connected upstream to a game controller) on an external PC which transmits datagrams to the Ethernet object.
The robot appears to move abruptly and rapidly, its motors making a terrible noise as it does; corrections are not reached smoothly. I've read a couple of posts here that refer to jagged motion and robots appearing to tear themselves apart using RSI, though I've not seen any actionable solutions (except for modifying the system variable $FILTER at the expense of the robot's warranty). What I'd like to know is how, specifically, do I (a) implement and (b) tune the parameters of RSI such that I can achieve smooth -- think slow or surfy -- corrections of larger size? I'm a programmer and, if possible, I'd really like to see example code. Let me know if I can provide more information.
Thanks a ton for your answers,.
FlexoWasTaken
(gratuitous smiley: )