Skip to contentSkip to conversation

Scilab/Scicos code generator for Xenomai

Xenomai-help Claudio Scordino 4 participants 4 messages Sep 19, 2008 – Sep 23, 2008

lore
Share & tools
lore
#0 lore raw

Dear all,

My name is Claudio Scordino from Evidence (http://www.evidence.eu.com). In collaboration with the Scilab Group Digiteo (previously INRIA Roquencourt), and SUPSI Lugano, we developed a software integration between the following software packages:

- the Xenomai environment with the POSIX skin
- the Scilab/Scicos code generator
- a modified version of CANFestival

The result is now that we can use the Scilab/Scicos code generator to automatically generate application code for Xenomai!

We believe that this opens new possibilities for the usage of Xenomai in industrial applications, especially when these tools are used to implement control algorithms, fast prototyping systems and hardware in the loop simulations... all made using free open source tools!

We also developed a set of custom Scicos blocks that integrates with CANFestival for sending CANopen commands to control remote I/Os peripherals. These blocks can be inserted inside Scicos designs, and the generated code will control directly the remote peripheral.

In addition, we implemented a set of blocks which make available a UDP connection to exchange data between the Xenomai target and a Scilab simulation running on the PC. This allows, for example, remote display of data, as well as communication and data exhange for hardware in the loop, monitoring and remote control.

If interested, the following links contain some description of the project, as well as source code to download, and a wiki page with installing instructions.

- http://www.evidence.eu.com/content/view/301/388/ - Xenomai and Scilab/Scicos for Industrial COTS PC and remote CANopen I/O

- http://www.evidence.eu.com/content/view/175/216 - Scilab/Scicos code generator for FLEX and Xenomai

We added these links to our Wiki too in the "Embedded Linux" section.

Best regards,

Claudio Scordino

Signature · 8 lines
Ing. Claudio Scordino		
Software Engineer, PhD
Tel. +39-050-5492050
http://retis.sssup.it/~scordino/

Evidence Srl
Embedded Real-Time Solutions
http://www.evidence.eu.com
#1 lore raw
Quoted 7 lines · Claudio Scordino

Dear all,

My name is Claudio Scordino from Evidence
(http://www.evidence.eu.com). In collaboration with the Scilab Group Digiteo (previously INRIA Roquencourt), and SUPSI Lugano, we developed a software integration between the following software packages:

Quoted 6 lines

- the Xenomai environment with the POSIX skin
- the Scilab/Scicos code generator
- a modified version of CANFestival

The result is now that we can use the Scilab/Scicos code generator to automatically generate application code for Xenomai!

Cool.

Quoted 5 lines

We believe that this opens new possibilities for the usage of Xenomai in industrial applications, especially when these tools are used to implement control algorithms, fast prototyping systems and hardware in the loop simulations... all made using free open source tools!

Even cooler. ;)

Quoted 5 lines

We also developed a set of custom Scicos blocks that integrates with CANFestival for sending CANopen commands to control remote I/Os peripherals. These blocks can be inserted inside Scicos designs, and the generated code will control directly the remote peripheral.

I browsed your pages a few days ago and found some CAN driver patch. Maybe you want to submit a polished :) version for inclusion into mainline - so that your users don't have to patch Xenomai for this.

Quoted 11 lines

In addition, we implemented a set of blocks which make available a UDP connection to exchange data between the Xenomai target and a Scilab simulation running on the PC. This allows, for example, remote display of data, as well as communication and data exhange for hardware in the loop, monitoring and remote control.

If interested, the following links contain some description of the project, as well as source code to download, and a wiki page with installing instructions.

Quoted 7 lines

- http://www.evidence.eu.com/content/view/301/388/ - Xenomai and Scilab/Scicos for Industrial COTS PC and remote CANopen I/O

- http://www.evidence.eu.com/content/view/175/216 - Scilab/Scicos code generator for FLEX and Xenomai

We added these links to our Wiki too in the "Embedded Linux" section.

I think a link from the Xenomai wiki to your project would be appropriate as well.

BTW, did you already have a look at the recently merged COMEDI-over-RTDM framework (2.5-SVN)? Do you plan to add support for it as well?

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux
#2 lore raw
Quoted 2 lines · Jan Kiszka

I think a link from the Xenomai wiki to your project would be appropriate as well.

This seems to have been done already.

Signature · 1 line
                                                 Gilles.
#3 lore raw
In reply to Claudio Scordino

Hello Claudio.

I just discovered your mail. Really great work !

Why didn't you post this scoop also on the canfestival-devel mailing list ? I nearly missed it.

Let me try and see if all this can interoperate with Beremiz project [1] as well.

I will also add a link to this project on canfestival.org.

Best regards,

Edouard TISSERANT

[1] www.beremiz.org

Quoted 31 lines · Claudio Scordino

Dear all,

My name is Claudio Scordino from Evidence (http://www.evidence.eu.com). In collaboration with the Scilab Group Digiteo (previously INRIA Roquencourt), and SUPSI Lugano, we developed a software integration between the following software packages:

- the Xenomai environment with the POSIX skin
- the Scilab/Scicos code generator
- a modified version of CANFestival

The result is now that we can use the Scilab/Scicos code generator to automatically generate application code for Xenomai!

We believe that this opens new possibilities for the usage of Xenomai in industrial applications, especially when these tools are used to implement control algorithms, fast prototyping systems and hardware in the loop simulations... all made using free open source tools!

We also developed a set of custom Scicos blocks that integrates with CANFestival for sending CANopen commands to control remote I/Os peripherals. These blocks can be inserted inside Scicos designs, and the generated code will control directly the remote peripheral.

In addition, we implemented a set of blocks which make available a UDP connection to exchange data between the Xenomai target and a Scilab simulation running on the PC. This allows, for example, remote display of data, as well as communication and data exhange for hardware in the loop, monitoring and remote control.

If interested, the following links contain some description of the project, as well as source code to download, and a wiki page with installing instructions.

- http://www.evidence.eu.com/content/view/301/388/ - Xenomai and Scilab/Scicos for Industrial COTS PC and remote CANopen I/O

- http://www.evidence.eu.com/content/view/175/216 - Scilab/Scicos code generator for FLEX and Xenomai

We added these links to our Wiki too in the "Embedded Linux" section.

Best regards,

Claudio Scordino