[Robotics] implemented C or C++

Mario Negrello mnegrello at gmail.com
Sun Oct 11 10:06:51 CEST 2009


Hi Nicolas,

Nice to read you! It appears that the world of robotics mailing lists  
is actually quite small =]
And indeed, a useful set of references contributed =]
What are you up to these days?

Best greetings,

Mario.

On 9 Oct 2009, at 18:47, Nicolas Lassabe wrote:

> Hello,
>
>    You can develop your C/C++ algorithms and call it from Python. I  
> use
> SWIG to wrap C/C++ for python.
>
>    http://www.swig.org/
>
>    To wrap automatically my program,s  I use cmake with the flowing
> instructions :
>
> FIND_PACKAGE(SWIG REQUIRED)
> INCLUDE(${SWIG_USE_FILE})
>
> FIND_PACKAGE(PythonLibs)
> INCLUDE_DIRECTORIES(${PYTHON_INCLUDE_PATH})
>
> INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
>
> SET(CMAKE_SWIG_FLAGS "")
>
> SET_SOURCE_FILES_PROPERTIES(example.i PROPERTIES CPLUSPLUS ON)
> SWIG_ADD_MODULE(example python example.i ${SOURCES_AUV_GUIDAGE})
> SWIG_LINK_LIBRARIES(example ${PYTHON_LIBRARIES})
>
>
>
> Nicolas
>
>> Hello everybody,
>>
>> I would like to know if C/C++ algorithms could be implemented instead
>> of Python to communicate with the BGE. Even if I have to use an
>> another software like YARP to do this.
>>
>> Hope someone knows.
>>
>> Bye,
>>
>> Hervé
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Robotics mailing list
>> Robotics at blender.org
>> http://lists.blender.org/mailman/listinfo/robotics
>>
>
> _______________________________________________
> Robotics mailing list
> Robotics at blender.org
> http://lists.blender.org/mailman/listinfo/robotics



More information about the Robotics mailing list