-
Notifications
You must be signed in to change notification settings - Fork 87
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
Increase upper limit of force in low-level control #54
Comments
Hi @yangbenbo , You did switch the individual actuators's control modes, but did you switch the whole arm to low level control? The error suggests the arm is still in high level control mode. Hope this helps, |
Hi Alex, Thanks for you help, I think I do switch the whole arm to low level control like below.
And when I use Joystick to stop the program, the error is the same. Best regards, |
Hi @yangbenbo , You do indeed switch the base's control mode so that should be good. I understand from the snippet in your first message that this error occurs when calling Do you also mean you get this exact error when the arm is in low level control mode and you try to move it with the joystick, or do you get the error using another API call? You cannot move the arm with the joystick while it's in low-level control mode. Best, |
Hi Alex, joint speed limitI have tested the gravity compensation in current mode and collected the joint velocity, joint torque, joint position and joint current include the command and feedback until the robot reports the error.
cann't reconnect the robotSometimes I send a big joint current like 4A, then I lost the connection. The web app cann't connect the robot and the program reprot a runtime error, but the led is green. Finally I have to reboot the robot. safety error from web app and program is differentI use Communication issue and Firmware issueI use the command below to compare the usual kernel and Real-time kernel As for Firmware issue, I have downloaded the Software Upgrade Package v2.2.0 from this site upgrade the Firmware. summarize
|
Hi @yangbenbo, about the question #3, I would say yes, you'll have much better results using a real time kernel. I have tested it with the kernel 4.15 but I'm pretty sure it could work great on other version. One of the test we do here is that we move the robot in low level mode while monitoring the comm. For a 1 hour test, 3 600 000 cycle of 1 ms, we usually between 20 and 100 cycles that exceed 1 ms threshold. I'll get back to you about question 1 and 2. |
Hi @yangbenbo, I've asked the control team and the limit in high level and low level should be the same. |
Hi @yangbenbo, About the mismatch of error, it is not really a mismatch. The error is a FOLLOWING_ERROR. On the web app, if you are on the general TAB it will says that there is a fault join, which is true. If you want to know what kind of fault, you need to go in the actuator TAB. You should see your FOLLOWING_ERROR there. That said, the following error probably comes from a timing issue. Your 1 Khz control loop must not be tight enough. Make sure that you are a real time kernel and try it again. Also, if you are comfortable about sharing your code, I could check how you compute your loop, maybe I'll see something. |
Hi @yangbenbo, I was wondering, is your issue solved? |
I will assume this issue has been solved and I will close it. |
Version
Kortex Device: 7DOF Gen3
Firmware Version: 2.2.0
KortexAPI: 2.2.0
OS: Ubuntu 18.04
Description
We want to realize the robot’s gravity compensation in current mode, but when we apply a force to robot, it's so easy that the robot raise error and stop. Maybe the force is a little large, the error is below,
We change the ControlMode before control as below and didn't change it when running the code.
I would appreciate it if you can give some advice, is there any ways to increase the upper limit of force in low-level control, I only find that soft limits are not configurable in admittance modes nor in low-level control in User Guide.
Thank you in advance!
Best regards,
yangbenbo
The text was updated successfully, but these errors were encountered: