Category Archives: C/C++

MEX file in MATLAB – Part 1

In this tutorial I will show you a very simple example of a MEX file in MATLAB. A MEX file is a compiled version of a C/C++ code written and compiled in MATLAB that can be used/executed as an M-file. … Continue reading

Posted in C/C++, Linux, MATLAB, programming, Software, Ubuntu | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Minimum CMake file for YARP – A Small Tutorial

The following CMakeLists.txt file is the minimum requirement to be used in compiling codes written in YARP:  

Posted in C/C++, Linux, programming, Software, Ubuntu, yarp | Tagged , , , , , , , , , , , , , , , , , , , , | Leave a comment

CMAKE – tips & tricks

for pointing at the source directory in the cmake file you can use the parameter : CMAKE_CURRENT_SOURCE_DIR usage in the CMakeLists.txt file:      

Posted in C/C++, Linux, programming, Software, Ubuntu | Tagged , , , , , , , , , , , , , , , , | Leave a comment

CMAKE by Example – Part.3

You can check previous tutorial: CMake by Example – part.2 In this tutorial, I will show you how to find a pre-installed package and use it in your project. For example, we want to use the OpenCV libraries. We have … Continue reading

Posted in C/C++, Linux, programming, Software, Ubuntu | Tagged , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

CMAKE by example – Part.2

(The first CMake tutorial: CMAKE by Example – Part.1) In this tutorial, I will show you how to check the variables (e.g. environment variables). This can be very useful for debugging your CMake file as well. First of all, to … Continue reading

Posted in C/C++, Linux, programming, Software, Ubuntu | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

CMAKE by Example – Part. 1

CMAKE is the cross-platform, open-source build system. CMake is a family of tools designed to build, test and package software. CMake is used to control the software compilation process using simple platform and compiler independent configuration files. CMake generates native makefiles … Continue reading

Posted in C/C++, Linux, programming, Software, Ubuntu | Tagged , , , , , , , , , , , , , , , , , , , , | Leave a comment

Estimate the Transformation Matrix between two sets of points (PCL)

Consider we have two sets of points (point clouds) and we want to find the transformation matrix that can be used to transform one to other. we assume that the transformation is a rigid transformation. So in my example,  I … Continue reading

Posted in C/C++, Linux, point cloud, point cloud library, programming, Robotics, Software, Ubuntu | Tagged , , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Transformation matrix & Euler angles

There is a simple code in this post, that shows the usage of two important functions from pcl library: getEulerAngles and getTransformation : so if the inputs are: translation and Euler angles (roll,pitch,yaw angles), the function getTransformation provides us with … Continue reading

Posted in C/C++, Linux, point cloud, point cloud library, programming, Software, Ubuntu | Tagged , , , , , , , , , , , , , , , , , | Leave a comment

Simple test with PCL (point cloud library)

I will explain the detalied installation of pcl in another post. But for now you can check the main website. In this example, I am going to use a very simple function in pcl library, which has nothing to do … Continue reading

Posted in C/C++, Linux, point cloud, point cloud library, programming, Software, Ubuntu | Tagged , , , , , , , , , , , , | Leave a comment

CMA-ES

The CMA Evolution Strategy The CMA-ES (Covariance Matrix Adaptation Evolution Strategy) is an evolutionary algorithm for difficult non-linear non-convex optimization problems in continuous domain. The CMA-ES is typically applied to unconstrained or bounded constraint optimization problems, and search space dimensions between three and a hundred. The … Continue reading

Posted in C/C++, java, Linux, Machine Learning, MATLAB, Optimization, programming, Python, Reinforcement Learning, Robotics, Thoughts, Ubuntu | Tagged , , , , , | Leave a comment