Python Forum
problems with a robotic manipulator GUI
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
problems with a robotic manipulator GUI
#1
Hi to all,
I have a problem with an application for collecting blocks in the shape of a parallelepiped, colored red, green and blue with a robotic manipulator.
Suppose that the manipulator is equipped, on the end-effector, with a color sensor capable of determining
even if the block is absent and with a suction cup capable of capturing and releasing a block.
Consider that, in the environment, there is a container placed in a very precise and freely chosen
position.
Write a strategy with three procedures:
1. generate(N), with N <= 6, which generates N blocks to be placed, randomly, in 10 positions
on the ground established a priori; the color must also be generated randomly;
2. pick(), which allows the manipulator to scan and capture the blocks present on
the floor and insert them into the container respecting the sequence: red, green, blue (i.e. first all the
red blocks, then the green ones, etc.).
My problem is that at some point the manipulator gets stuck.

Here is the code: https://github.com/eliaV95/manipulator.git
This is a python/PHIDIAS code. The PHIDIAS code is strategy.py with which I send commands to the gui.py and control the manipulator. In stratgey.py there is the shortest path algorithm (nf1) too.
I already tried to use ChatGPT but in this case is useless and misleading.
I'm at my wits end (I'm not very good at complex programming).
Thanks in advance!
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020