comp.lang.ada
 help / color / mirror / Atom feed
From: Jochen Hayek <Jochen.Hayek@gmail.com>
Subject: Ada and CANopen
Date: Tue, 5 Aug 2008 01:42:49 -0700 (PDT)
Date: 2008-08-05T01:42:49-07:00	[thread overview]
Message-ID: <61f0e81c-5921-40d6-b872-f0894f57307d@l64g2000hse.googlegroups.com> (raw)

Is there any (other) project using Ada to communicate over the CAN-Bus
via CANopen?

My project is in an automotive niche area.

My focus is on the object dictionary and the PDO list.
and I started specifying them in my own XML dialect,
formally described using RELAX-NG.

My approach is to derive all the (Ada, ...) code from that central
data structure,
all the code, that has been hand-written traditionally.

A lot of 'unsigned ints' in the object dictionary are actually records
with rep. specs,
and I extended my object dictionary definition by such records rep.
specs;
the "extra value" from that is to derive / generate record component
accessors from that.

Of course, the object dictionary can also be made use of to specify
GUIs from them,
implemented in a script language.
Such a GUI can ease in the assembly of a PDO to be sent
resp. in the disassembly of a PDO received.
That's good for manual, interactive testing,
maybe even for future GUI interfaces.

A by-product can also be scripted testing.



                 reply	other threads:[~2008-08-05  8:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox