GithubHelp home page GithubHelp logo

kl-paths's Introduction

Paths

FANUC KAREL generic paths, and helper functions for path types. Uses rossum and ktrans_w.

kl-paths's People

Contributors

halmusaibeli avatar kobbled avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

kl-paths's Issues

ERROR: ROUTINE argument data type does not match the parameter definition. | Building "pathmotion" tests

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

Can not compile. Pathdraw is missing

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.