FANUC KAREL generic paths, and helper functions for path types. Uses rossum and ktrans_w.
kobbled / kl-paths Goto Github PK
View Code? Open in Web Editor NEWpath functions for FANUC Karel
License: MIT License
path functions for FANUC Karel
License: MIT License
I got this error when building the tests in the pathmotion library (test_pth_mtn.kl and test_pth_rot.kl):
`C:\Users\Kevin Alfsen\EffeeDevelopment\Fanuc Plugins\Karel Environment\Ka-Boost\lib\paths\pathmotion\test\tstrot.kl(1207)
1207 tsplrt_impp(filename)
^ ERROR
ROUTINE argument data type does not match the parameter definition.
===============Translation not successful===============
Error executing KTrans: Error translating program: Code: 0xFFFFFFFF:
KTRANS Version V9.40 (Build 83 4/22/2021)
Copyright (C) FANUC America Corporation, 1985 through 2019.
All Rights Reserved.
C:\Users\Kevin Alfsen\EffeeDevelopment\Fanuc Plugins\Karel Environment\Ka-Boost\lib\paths\pathmotion\test\tstrot.kl(1207)
1207 tsplrt_impp(filename)
^ ERROR
ROUTINE argument data type does not match the parameter definition.
===============Translation not successful===============
Error executing KTrans: Error translating program: Code: 0xFFFFFFFF:
KTRANS Version V9.40 (Build 83 4/22/2021)
Copyright (C) FANUC America Corporation, 1985 through 2019.
All Rights Reserved.
C:\Users\Kevin Alfsen\EffeeDevelopment\Fanuc Plugins\Karel Environment\Ka-Boost\lib\paths\pathmotion\test\tstrot.kl(1207)
1207 tsplrt_impp(filename)
^ ERROR
ROUTINE argument data type does not match the parameter definition.
===============Translation not successful===============
Error executing KTrans: Error translating program: Code: 0xFFFFFFFF:
KTRANS Version V9.40 (Build 83 4/22/2021)
Copyright (C) FANUC America Corporation, 1985 through 2019.
All Rights Reserved.
C:\Users\Kevin Alfsen\EffeeDevelopment\Fanuc Plugins\Karel Environment\Ka-Boost\lib\paths\pathmotion\test\test_pth_rot.kl(1027)
1027 tstrot_pthpl(lines, contours, 4, 1, FALSE, FALSE)
^ ERROR
ROUTINE called has more arguments than ROUTINE definition.
C:\Users\Kevin Alfsen\EffeeDevelopment\Fanuc Plugins\Karel Environment\Ka-Boost\lib\paths\pathmotion\test\test_pth_rot.kl(1085)
1085 tstrot_pthpl(lines, contours, 4, 1, FALSE, FALSE)
^ ERROR
ROUTINE called has more arguments than ROUTINE definition.
C:\Users\Kevin Alfsen\EffeeDevelopment\Fanuc Plugins\Karel Environment\Ka-Boost\lib\paths\pathmotion\test\test_pth_rot.kl(1139)
1139 tstrot_pthpl(lines, contours, 1, 1, FALSE, FALSE)
^ ERROR
ROUTINE called has more arguments than ROUTINE definition.
C:\Users\Kevin Alfsen\EffeeDevelopment\Fanuc Plugins\Karel Environment\Ka-Boost\lib\paths\pathmotion\test\test_pth_rot.kl(1209)
1209 tstrot_pthpl(lines, contours, 4, 1, FALSE, FALSE)
^ ERROR
ROUTINE called has more arguments than ROUTINE definition.
C:\Users\Kevin Alfsen\EffeeDevelopment\Fanuc Plugins\Karel Environment\Ka-Boost\lib\paths\pathmotion\test\test_pth_rot.kl(1265)
1265 tstrot_pthpl(lines, contours, 1, 1, FALSE, FALSE)
^ ERROR
ROUTINE called has more arguments than ROUTINE definition.`
The first error seems to come from pathplan.klc::importPath. There is a comment there stating that the method should be updated to the new csv/layout. The error seems to come from passing a filename as a parameter to the function which is declared to take a PATH : nodedata = t_VEC_PATH as input.
The second error comes from passing to many parameters into the tstrot_pthpl (pathmake.klc::planPath) function.
My workaround was to comment out pathplan.klc::importPath and to remove the last boolean parameter from any calls to planPath in the test_mtn and test_rot scripts.
Here is a changelog of my workaround.
workaround_diff.pdf
Hope this is helpful
pathforms
in the paths library.CALL_PROG
method, and define an interface in main entry point for each object, as objects cannot be passed around in karel.I have following error when trying to compile rossum_example_ws:
CRITICAL | Error occured while checking packages: Package pathforms is missing dependencies: pathdraw. Cannot continue
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.