项目介绍

kobbled/Ka-Boost 是一个托管在 GitHub 上的开源项目,主要使用 Batchfile 编写,目前获得 31 个 Star、7 次 Fork。

仓库全名
kobbled/Ka-Boost
Star 数
31
Fork 数
7

README 摘要

[rossum]: https://github.com/kobbled/rossum [ktransw]: https://github.com/kobbled/ktranswpy [GPP]: https://github.com/logological/gpp [here]: https://github.com/kobbled/rossum/releases [TP-Plus]: https://github.com/kobbled/tpplus [yamljson2xml]: https://github.com/kobbled/yamljson2xml [Ka-Boost]: https://github.com/kobbled/Ka-Boost Ka-Boost This is repository of a collection of FANUC Karel libraries. Each package is…

完整内容见 GitHub 原始 README 或本页 。

常见问题

Ka-Boost 用什么语言开发?

主要使用 Batchfile 编写,目前有 31 个 Star。

如何获取 Ka-Boost 的源码?

可以直接克隆仓库:git clone https://github.com/kobbled/Ka-Boost.git,默认分支为 master;安装与运行步骤见仓库 README。

Ka-Boost 最近还在维护吗?

仓库最近一次更新为 6月10日,当前没有未关闭的 Issue;Star 数为 31,可作为社区活跃度的参考。

关于

Support libraries for the FANUC Karel programming language

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
46
价值分
20
活跃状态
活跃

语言占比

Batchfile

Release

README

Ka-Boost

This is repository of a collection of FANUC Karel libraries. Each package is formatted to work with the karel package manager rossum.

[!IMPORTANT] Documentation is currently fairly sparse. If no documentation exists for the package, look in the “/tests” folder for usage.

[!IMPORTANT] Some modules are formatted as classes or templates, and can be identified with the “.klc” file extension. These heavily use the preprocessor GPP in order to define generics, as generics are not a part of the Karel language. Definition of the generics can be found in the “/tests/config” folder in each module.

Dependencies

[!NOTE] TP-Plus is not required to use rossum, regular TP/LS files are also supported.

  • yaml/json conversion to xml is also supported with the yamljson2xml package. This doesn’t need to be installed independently as it is included with rossum.

[!WARNING] While reading xml is supported in karel, and a helper package kl-xml is included in Ka-Boost, xml handling is still very difficult. Look through the test examples, and note the formatting of the xml file, and their corresponding karel structs.

Install

To install all of Ka-Boost’s modules use:

  git clone https://github.com/kobbled/Ka-Boost --recurse-submodules

Add the path where this is stored to the environment variable ROSSUM_PKG_PATH to start using.

Update

Update Ka-Boost submodules with:

git submodule update --recursive

Building

  • Open the root folder of the interested package in a terminal.
  • Set your roboguide configuration with:
del /f robot.ini
setrobot
  • Create a build directory
mkdir build && cd build

Build and send to robot with the following:

  • Build all source files
rossum .. -w -o
ninja
kpush
  • Build all source files and tests. (This will include assosiated objects in the tests)
rossum .. -w -o -t
ninja
kpush
  • Build all dependencies
rossum .. -w -o -b
ninja
kpush

Removing off of controller

All files in the build directory can be removed with:

kpush --delete

Alternatively the support folder /scripts contains windows batch files to remove all of the programs found in Ka-Boost from the controller. They can be run with:

cd ./scripts
./master_del.bat

[!IMPORTANT] Cross dependencies in Ka-Boost can sometimes lead to a MEMO-128 parameters are different error when trying to load the new programs onto the controller. This is specifically a problem when using the kl-draw, and kl-paths modules, as they are the most complicated. The best course of action is to run master_del.bat, and master_test_del.bat.

[!NOTE] Delete test programs off the controller with

cd ./scripts
./master_test_del.bat

They take up space, and are only useful for illustration/usage purposes.

Getting Started

Use rossum_examples_ws as a basic introduction to using rossum, and Ka-Boost. Proper documentation, and tutorials should be added.

评论

暂无评论