0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

[WIP] ScicosでRTAIコード生成

Posted at

ScicosのRTAIブロックからコード生成を行えるようにする。

既に、他でRTAIブロックの導入はできています。

Screenshot from 2019-06-01 15-29-06.png

はじめにシミュレーションを試してみようと思ったが、エラーが出て動かない。

によると、シミュレーションは非対応らしい。シミュレーションで動作確認する時は、まずは、RTAIじゃないブロックでつくって、期待通り動くようになってからRTAIのブロックへ差し替えるなどする必要があるみたいだ。

%a_c が未定義と出たが、これは、6.0.2の不備らしい。

edit do_compile_superblock42
// CTRL+F: search the [++"] pattern (without []) and replace ++" => +"
// Save the file
predef clear
Dir = SCI+"/modules/scicos/macros/scicos_scicos";
genlib("scicos_scicoslib", Dir)

上記の対応方法を実施で以下のブロックからはコード生成できるように。

Screenshot from 2019-06-01 15-23-44.png

まだ上手くコード生成できないブロックはありますが、前進。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?