Re: External Lib for Robot-Cars
Bernhard Wymann <[email protected]>
| Newsgroups | gmane.games.torcs.general |
|---|---|
| Organization | wytec |
| Message-ID | <[email protected]> |
Hi Arne If you have the c++ source and can compile the library with the same runtime library and parameters as TORCS for your system you can link it as well with your robot, yes. Dynamic and static libraries usually (!) work, but there can be c++ specific "hazards" which force some linking styles or can require some research to sort them out (usually just a few minutes), e.g. if libraries do some cumbersome static initialization. If you have just a binary of your library or it is not written in c/c++ it depends on the platform, the compiler and linking system. Various issues might pop up in such cases, but in the worst case it is possible to write a wrapper which fixes memory alignment, parameter ordering etc. You can even embed a scripting language like lua or host a JVM if required (e.g. if it is a java library). Hope this helps. Best regards Bernhard On 03/10/2012 05:32 AM, Arne Kreutzmann wrote: > Hello, > > is it possible to add static / dynamic libraries when developing robot cars? > I would like to use SHARK (http://shark-project.sourceforge.net/) a machine learning library. > > Thank you for your quick answere > Arne > ------------------------------------------------------------------------------ > Virtualization& Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Torcs-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/torcs-users > ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/