Python path generation
Worldwide
I have an existing Python program that generates robot application trajectories from contours detected by a camera. The program receives recipe parameters from a PLC, including: -filling direction and spacing; -offset around holes; -offset from the exterior edge; -other robot application parameters. The current program works correctly in most situations. The problem occurs in narrow passages between: -two holes; -a hole and the exterior contour. When the available passage is too narrow compared with the offsets requested by the PLC recipe, the two offset trajectories overlap or leave insufficient space. The program then attempts to merge them into one centered trajectory, but in certain geometries the merge can be: -off-center; -disconnected from the surrounding trajectories; -connected to the wrong trajectory; -shaped with small square or zigzag links; -replaced by an incorrect diagonal connector; -partially missing. For example, if the PLC requests an 8 mm offset on both sides but the physical passage is only 10 mm wide, both requested offsets cannot fit. In that situation, the program should locally ignore the requested offsets and create one trajectory centered in the passage. The important requirement is that the existing logic must remain unchanged everywhere it already works. Only narrow passages below a defined threshold, currently approximately 10 mm, should use the special merge logic. The expected behavior is: -Detect the real local width using the original contours, independently of the PLC offsets. -Identify only the portion of the passage that is below the width threshold. -Remove only the conflicting offset trajectories in that local portion. -Generate one trajectory exactly centered between the two boundaries. -Connect that centered trajectory to the correct surrounding trajectories. -Avoid unnecessary intermediate points, square links, long diagonals and incorrect global stitching. -Apply the same logic to hole-to-hole and hole-to-exterior-contour passages. -Preserve the current PLC recipe handling, trajectory ordering and robot export format. The program uses Python, Shapely, NumPy, scikit-image skeletonization and Matplotlib. I can provide the complete program, PCD test files, PLC recipe files, screenshots of incorrect results and repeatable test cases.
- Less than 30 hrs/weekHourly
- < 1 monthDuration
- IntermediateExperience Level
$20.00
-
$40.00
Hourly- Remote Job
- One-time projectProject Type
Skills and Expertise
Activity on this job
- Proposals:50+
- Last viewed by client:yesterday
- Interviewing:1
- Invites sent:0
- Unanswered invites:0
About the client
- Canada6:17 PM
Explore similar jobs on Upwork
How it works
Create your free profileHighlight your skills and experience, show your portfolio, and set your ideal pay rate.
Work the way you wantApply for jobs, create easy-to-by projects, or access exclusive opportunities that come to you.
Get paid securelyFrom contract to payment, we help you work safely and get paid securely.
About Upwork
- 4.9/5(Average rating of clients by professionals)
- G2 2021#1 freelance platform
- 49,000+Signed contract every week
- $2.3BFreelancers earned on Upwork in 2020
Find the best freelance jobs
Growing your career is as easy as creating a free profile and finding work like this that fits your skills.
Trusted by