Python controlled robot arm: part 1

  Рет қаралды 57,213

Nathan Naerts

Nathan Naerts

2 жыл бұрын

With the help of inverse kinematics, I was able to make a simple pick and place machine. In this version of the software, it's still necessary to define the coordinates of the piece of foam manually. I am planning to eliminate this and use video images to define the exact location.
Code:
github.com/NNaert/Python-cont...
Tinkerkit Braccio robot arm:
store-usa.arduino.cc/products...

Пікірлер: 62
@SYNAPSEdwl
@SYNAPSEdwl Жыл бұрын
Great job! I am currently working on a project of my own robot, I started with the simplest thing, I programmed forward kinematics. The next step is inverse kinematics.
@tombackhouse9121
@tombackhouse9121 Жыл бұрын
Keep at it pal, IK is a satisfying nut to crack. You'll never be happier to see something move in a straight line!
@seginim9576
@seginim9576 Жыл бұрын
@@tombackhouse9121 power of maths
@kingsleyekechukwu8229
@kingsleyekechukwu8229 Жыл бұрын
is it possible to link the coding u used i am stuck in the coding of my robot @BoGu
@kaloanneichev3353
@kaloanneichev3353 Жыл бұрын
Worked , thanks a lot!
@PhG1961
@PhG1961 Жыл бұрын
Waw, dit is echt schitterend !!
@rockman1942
@rockman1942 Жыл бұрын
ARMS:whats the purpose of my life? Me: you move stuff
@davidegrasso3480
@davidegrasso3480 Жыл бұрын
Hi Natan, can you please tell me where to find the "prev_teta.txt" file? I'm having some problems running the code due to this file, that apparently my pc cannot find.
@jichen6516
@jichen6516 10 ай бұрын
This is a great project. I love it. I would like to integrate it into a robotics course. May I know the dimension of the wood board and also the measurements of grid you set it up. are 100, 200 and 300 marked on the board 100mm, 200mm, 300mm?
@REALVIBESTV
@REALVIBESTV Жыл бұрын
Why do the servo motors make so much loud noise?
@muhriddintashlanov4538
@muhriddintashlanov4538 Жыл бұрын
👌👏👏👏👏
@crazylongjumper95
@crazylongjumper95 Жыл бұрын
A question: is there a way to know the value of the force that the gripper should exert in order to correctly grasp the object?
@NathanNaerts
@NathanNaerts Жыл бұрын
Yeah it's possible, but not with this setup. The gripper is actuated by a cheap servo which can't be force controlled. A robot arm with such actuators, sensors and accuracy gets expensive real quick. You should look up: closed loop force control robot arm
@handlesarefeckinstupid
@handlesarefeckinstupid Жыл бұрын
You could use pressure switches/ sensors on a feedback loop on the fingers the robots I have used had them to ensure correct grip. Some of the simpler ones had microswitches and servos set to torque.
@judsondunne4075
@judsondunne4075 2 жыл бұрын
Currently having this issue when running any inverse kinematic function ("go to" or move vertically": AttributeError: module 'solverNNA' has no attribute 'move_to_position_cart' Any idea of what I should do
@judsondunne4075
@judsondunne4075 2 жыл бұрын
I believe it is an issue with the get previous teta as it darkened up where I imported it. I am not sure what to do from here
@carlliljedahl3499
@carlliljedahl3499 2 жыл бұрын
How did you compensate the play in the components? Are you able te get encoder data from the servos? Any other compensations done? Thanks :)
@NathanNaerts
@NathanNaerts 2 жыл бұрын
No, i did an 'optical calibration' since the servo closed feedback postioning loop was off. I tried to match my positiong command to real servo angle that was created. E.g. o motor position of 93 degrees resulted in an effective arm position of 90 degrees. So, each time i needed an angle of 90 degrees, i write 93 to the motor.
@NitinSharma-so9hg
@NitinSharma-so9hg Жыл бұрын
@@NathanNaerts Did you use optical encoder .
@unaivirtolapitz7701
@unaivirtolapitz7701 Жыл бұрын
@@NitinSharma-so9hg Not exactly. In this case, "optical calibration" means doing it aproximately by eye.
@qtuan4070
@qtuan4070 Ай бұрын
Can you let me know what is the list hardware is used in this project, thanks sir
@williamhuang5329
@williamhuang5329 2 жыл бұрын
Hanzhen harmonic drive gear , robot joint , strain wave reducer, over 30 years experience
@llbrandoxgtll6811
@llbrandoxgtll6811 2 жыл бұрын
I would like to learn how to do that compensation thing to get to exactly the same point... that's with the Control Theory course, right?... programming in python would also be part of this course?... or how come is that achieved? Excellent project friend, success.
@NathanNaerts
@NathanNaerts 2 жыл бұрын
Thanks! The baclash compensation is actually quite simple. You just need to log previous operations of the arm. E.g. when the previous operation was CCW for the base servo, i now that the play is 3 degrees. So my next rotation that is CW, I just need to add an extra 3 degrees to the motor command. Try looking up backlash compensation.
@abdelmajedmuktar3015
@abdelmajedmuktar3015 2 жыл бұрын
It's one of my dreams to create my own robot, not just a robot arm but a really robot
@seginim9576
@seginim9576 Жыл бұрын
Don't keep on dreaming start doing..
@automationrobotics4099
@automationrobotics4099 Жыл бұрын
What
@neonicblader
@neonicblader Жыл бұрын
What type of micro controller are you using and what programming ide
@NathanNaerts
@NathanNaerts Жыл бұрын
I write the code in Python (VScode). The microcontroller is an Arduino.
@filbertfuraha
@filbertfuraha 7 күн бұрын
please where can we find prev_teta.txt it's not linked in the repository
@junaidmalik7140
@junaidmalik7140 Жыл бұрын
how should i run the code?
@tag_of_frank
@tag_of_frank Жыл бұрын
Have you used ROS? Do you recommend pure python over ROS?
@NathanNaerts
@NathanNaerts Жыл бұрын
No I haven't. It's on my to do list to try it out.
@oldrepublic7251
@oldrepublic7251 Жыл бұрын
Great project. Do you think in use opencv?
@NathanNaerts
@NathanNaerts Жыл бұрын
I use it in part 2
@chrishofland264
@chrishofland264 2 жыл бұрын
Hi, nice work, do you have a code to share...
@NathanNaerts
@NathanNaerts 2 жыл бұрын
I uploaded the code to Git. Link in description.
@chakerbellili2441
@chakerbellili2441 4 ай бұрын
I am working on my graduation project: “automation of fusible insertions by a robot.” When I follow this work, can I control the robot automatically to know each piece and place it in its appropriate place?
@NathanNaerts
@NathanNaerts 4 ай бұрын
It should work
@chakerbellili2441
@chakerbellili2441 4 ай бұрын
Plz where i find the description of this code
@NathanNaerts
@NathanNaerts 4 ай бұрын
@@chakerbellili2441 There is no full documentation for the code. There is some explanation in the code itself. See description for the code.
@judsondunne4075
@judsondunne4075 2 жыл бұрын
Could you maybe link code.
@NathanNaerts
@NathanNaerts 2 жыл бұрын
I uploaded the code to Git. Link in description.
@muhammadmohidfarooq456
@muhammadmohidfarooq456 22 күн бұрын
Can i get the code??
@Pyramid1501
@Pyramid1501 Жыл бұрын
Code is linked but missing BraccioRobot.h and Position.h?
@NathanNaerts
@NathanNaerts Жыл бұрын
I don't think you need this in order to make it work? Or where do you see this?
@Pyramid1501
@Pyramid1501 Жыл бұрын
@@NathanNaerts in your github you linked, in the folder with the .ino file that you upload to the arduino. It includes these files but they are not in the github?
@NathanNaerts
@NathanNaerts Жыл бұрын
@@Pyramid1501 Ah sorry, yes indeed. You can add these libraries through the 'library manager' of your python IDE. docs.arduino.cc/software/ide-v1/tutorials/installing-libraries
@Pyramid1501
@Pyramid1501 Жыл бұрын
@@NathanNaerts yeah thanks for the tutorial but where can I download these libraries
@user-pl5yj1gs6u
@user-pl5yj1gs6u Жыл бұрын
Brother I want to get why have you written one-twentieth of code using C++?
@NathanNaerts
@NathanNaerts Жыл бұрын
Just to communicate with the Arduino. The arduino receives input from the python script to send the motor commmands.
@user-pl5yj1gs6u
@user-pl5yj1gs6u Жыл бұрын
@@NathanNaerts are there nice courses explaining how to program in this field?
@NathanNaerts
@NathanNaerts Жыл бұрын
I recently used DatacCamp to learn a bit more about using Pandas. I can recommend the platform, it is really good!
@ritikadiwekar8670
@ritikadiwekar8670 Жыл бұрын
Plz share me code 🥺🥺 tell me where I find code of this???
@NathanNaerts
@NathanNaerts Жыл бұрын
It's in the description.
@chakerbellili2441
@chakerbellili2441 4 ай бұрын
Plz Where can I find this description ?
@waveboardteamturkey
@waveboardteamturkey Ай бұрын
hi man, We are from Turkey. We are doing our Senior design project. We confused a lot and stucked in so many. If you would help us about our project. We would be so thankfull. We are waiting for your response. ps: Our topic is the exactly what you did in the video.
@NathanNaerts
@NathanNaerts Ай бұрын
What is the problem?
@waveboardteamturkey
@waveboardteamturkey Ай бұрын
@@NathanNaerts can ı add you on discord sir?
@NathanNaerts
@NathanNaerts Ай бұрын
@@waveboardteamturkey sorry i'm not on discord
@waveboardteamturkey
@waveboardteamturkey Ай бұрын
If you have any communication app or social media, I can add you. We need help and would like to accept your assistance.
@waveboardteamturkey
@waveboardteamturkey Ай бұрын
@@NathanNaerts if you have any communication app or social media we would like to meet up with you. We need very much help.
Optical pick and place robot arm with ArUco markers: part 2
6:34
Nathan Naerts
Рет қаралды 11 М.
The coolest robot I've ever built!
19:40
Thomas Burns
Рет қаралды 4,5 МЛН
Can You Draw A PERFECTLY Dotted Line?
00:55
Stokes Twins
Рет қаралды 84 МЛН
ОСКАР ИСПОРТИЛ ДЖОНИ ЖИЗНЬ 😢 @lenta_com
01:01
Robotic Arm Arduino - Save/Play/Export/Import Movements/positions.
10:34
I took Taser Chess to Open Sauce
12:40
Everything Is Hacked
Рет қаралды 243 М.
Mirobot | 6-axis Mini-industrial Robot Arm
4:23
CF OG
Рет қаралды 756 М.
This piano shocks you if you make a mistake
11:24
Joel Creates
Рет қаралды 281 М.
I Built a Mini Mars Rover
11:14
Nikodem Bartnik
Рет қаралды 284 М.
Dorna Robotic Arm: Python API and Programming Tutorial
11:43
Dorna Robotics
Рет қаралды 50 М.
Can Reaction Wheels control a Drone?
24:32
Tom Stanton
Рет қаралды 2,4 МЛН
Programming an Arduino Robot with Python 🐍
8:30
YouMakeTech
Рет қаралды 123 М.
Using Image Recognition to DESTROY Fruit Ninja
10:08
CodeNoodles
Рет қаралды 589 М.