Open SalvoVirga opened 7 years ago
Does this mean that you are working on Cartesian Velocity control, or just changing the speed for position control? I am interested if there any way to change the default Cartesian Velocity for Position control, during runtime.
Hi, sorry for the very late reply! I'm out of office atm. This specific issue is to add Cartesian Velocity control.
You should be able to change the Cartesian velocity in "classic" position control using the configureSmartServo service. KUKA provides a very strange interface for that, when calling that service you should add CartesianControlModeLimits, there is a max_cartesian_velocity field. If I remember correctly, it would only work when setting Cartesian Impedance mode, if you need precise position control just set the stiffness values to the maximum.
Please feel free to ask / comment more or close the issue if that works.
Thank you for the reply. I do not really see the difference between setting different values for the max velocity and if the max limit is too low, instead of the robot slowing down, it just gives me an error that the speed limit was exceeded.
Hi, thank you for you awesome works!
I am now using the latest version of this package, when I connect to iiwa, I can get the /iiwa/command/CartesianVelocity
topic, and I try to publish some message to it, e.g.
rostopic pub -r 100 /iiwa/command/CartesianVelocity geometry_msgs/TwistStamped "header:
seq: 0
stamp:
secs: 0
nsecs: 0
frame_id: 'iiwa_link_0'
twist:
linear:
x: 0.1
y: 0.0
z: 0.0
angular:
x: 0.0
y: 0.0
z: 0.0"
but it seems that the robot did not move with what I desired and very slow. Then I try to increase the value to 10, speed seems increased but not smooth
rostopic pub -r 100 /iiwa/command/CartesianVelocity geometry_msgs/TwistStamped "header:
seq: 0
stamp:
secs: 0
nsecs: 0
frame_id: 'iiwa_link_0'
twist:
linear:
x: 10.0
y: 0.0
z: 0.0
angular:
x: 0.0
y: 0.0
z: 0.0"
Are there any wrong parameters setting in my demo? What's the default unit of linear (mm/s? m/s?) and angular (radian/s?)? And what is the best frequency that this topic publish at? If possible, could you please provide any updates of the documentation?
Thanks!
I've done several tests on this for the linear velocity and it appears to be mm/s, but would let the authors confirm.
as title