THE ANNIN ROBOTICS FORUM HAS MOVED TO A NEW COMMUNITY. 👉
Request for J7 Cali...
 
Notifications
Clear all

Request for J7 Calibration Command in AR4 Software

4 Posts
3 Users
0 Reactions
91 Views
Elijah Peralta
(@elijah-peralta)
Eminent Member
Joined: 2 months ago
Posts: 23
Topic starter  

Hello. I would like to add an autocalibrate J7 command in tab number 0 in the code so the robot calibrates J7 with the rest of the joints upon startup. There is an Autocalibrate CMD command but nothing for external joints. Is there a way to do this?

 

https://anninrobotics.com/wp-content/uploads/2025/08/Request-for-J7-Calibration-Command-in-AR4-Software.avif

I asked ChatGPT, and it gave me some suggestions for editing the software, but I'm not sure if they are correct. I can't share the chat, but here are the screenshots:

https://anninrobotics.com/wp-content/uploads/2025/08/Request-for-J7-Calibration-Command-in-AR4-Software_2.avif

https://anninrobotics.com/wp-content/uploads/2025/08/Request-for-J7-Calibration-Command-in-AR4-Software_3.avif

https://anninrobotics.com/wp-content/uploads/2025/08/Request-for-J7-Calibration-Command-in-AR4-Software_4.avif


This topic was modified 1 month ago by Elijah Peralta

   
Quote
Chris Annin
(@chris-annin)
Member Admin
Joined: 2 months ago
Posts: 535
 

I added some code to a beta version 5.2 for the HMI interface. Here is the source code - I didnt get a chance to fully test but if you have python installed you can try running this. I didnt make a button to insert the command automatically but you can use the manual entry field and insert "Cal_J7" into your program. Let me know if this works - I'll add buttons and clean it up when I get some time and ready to release 5.2 Im not sure about the GPT suggestion but the individual calibrate is already there - I just added and executeRow def for all the individual joints:

##Calibrate J7##   
  if (cmdType == "Cal_J7"):
    if (moveInProc == 1):
      moveInProc == 2
    calRobotJ7() 

https://anninrobotics.com/wp-content/uploads/2025/08/Request-for-J7-Calibration-Command-in-AR4-Software_5.avif



   
ReplyQuote
Avatar of Thu Htet
(@thu-htet)
New Member
Joined: 2 months ago
Posts: 1
 

@chris-annin Hello, thank you for the 5.2 source code. I'm currently running into a problem where after converting the python code to an executable file, the executable file will not load when I try to open it. I have included a screenshot of the problem below. I am currently using Python 3.13.2 and I followed the step-by-step instructions provided in the ReadMe text file. Can you please provide me with further assistance on this issue? Thanks!

https://anninrobotics.com/wp-content/uploads/2025/08/Request-for-J7-Calibration-Command-in-AR4-Software_6.avif



   
ReplyQuote
Chris Annin
(@chris-annin)
Member Admin
Joined: 2 months ago
Posts: 535
 

@thu-htet Are there any errors listed in the python console? When you create the .exe you also need to make sure all the supporting files are copied over to your exe folder. You can also just run the py file through python rather than converting to an exe.

https://anninrobotics.com/wp-content/uploads/2025/08/Request-for-J7-Calibration-Command-in-AR4-Software_7.avif



   
ReplyQuote
Share:
Upload your Photo