[osg-users] OSG & RTOS software architecture
Jan Ciger
jan.ciger at gmail.com
Wed Sep 28 08:02:52 PDT 2016
On Wed, Sep 28, 2016 at 7:21 AM, Jan Cools <coolsjan at outlook.com> wrote:
> Hi,
>
> This is a more high level software architecture question considering a
> combination of OSG with a RTOS. My application considers 3D visualization
> and navigation for automatic machine control. The machine control loop will
> be implemented on a RTOS. In this control loop also some functions of OSG
> will perform some 3D calculations. For the RTOS I'm looking into the
> Xenomai patches for Linux. However this API is written in C while the OSG
> API is written in C++. I'm familiar with both languages however never
> attempted to combine 2 API's of different programming languages. Is it even
> possible what I'm trying to attempt? Any good advice?
>
> Thank you!
>
Hello,
You may also want to consider a different architecture - instead of forcing
everything to run on the RTOS, with all the complications that brings (RTOS
+ OpenGL is likely a non starter if you need hard real time, also driver
availability/compatibility is an issue), use the RTOS only for time
sensitive matters - i.e. the control loop.
Visualization is unlikely to be time sensitive, so a good solution could be
a second computer to run that and have the realtime system share its data
with it somehow (networking or even custom hardware if really necessary).
This sort of setup lets you use smaller real time system where you really
need it and run the parts that don't need to be real time (like the
visualization) on commodity hardware. Both resulting in a cheaper and most
likely more reliable setup as well.
Regards,
J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160928/b0bf16ea/attachment-0003.htm>
More information about the osg-users
mailing list