Using python codlet inside cpp apps

I want to use a python code inside a cpp codlet
Is their any example present in the sdk?
or can someone send a way to implement this

Hi bimarc21,
We have the component isaac::alice::PyCodelet which gives you a way of building a Python Codelet. It mimics the effect of embedding Python scripts into a C++ codelet. Is this what you are looking for?

Under apps/tutorials/ping_python you can find a small example on how to implement it. For comparison purposes you can look into the the equivalent implementation in C++ (apps/tutorials/ping).
A slightly more complex example is the Proportional Control one (proportional_control_cpp and proportional_control_python).

You can find more detailed documentation in