<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 28, 2016 at 7:21 AM, Jan Cools <span dir="ltr"><<a href="mailto:coolsjan@outlook.com" target="_blank">coolsjan@outlook.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
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?<br>
<br>
Thank you!<br></blockquote><div><br></div><div><br></div><div>Hello,</div><div><br></div><div>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. </div><div><br></div><div>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). </div><div><br></div><div>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.</div><div><br></div><div>Regards,</div><div><br></div><div>J.</div><div><br></div></div></div></div>