Ads 468x60px

Thursday, August 30, 2012

V-REP : An advanced robot simulator

V-REP is the Swiss army knife among robot simulators: you won't find a simulator with more functions, features, or more elaborate APIs.

The robot simulator V-REP, with integrated development environment, is based on a distributed control architecture: each object/model can be individually controlled via an embedded script, a plugin, a ROS node, a remote API client, or a custom solution. This makes V-REP very versatile and ideal for multi-robot applications. Controllers can be written in C/C++, Python, Java, Lua, Matlab or Urbi.

V-REP is used for fast algorithm development, factory automation simulations, fast prototyping and verification, robotics related education, remote monitoring, safety double-checking, etc.

Maple development board

The LeafLabs Maple is a microcontroller board based on the STM32F103RB microprocessor. The Maple runs at a maximum of 72 MHz, has 39 digital input/output pins, 16 analog inputs, native full speed USB, 3 USARTs (hardware serial ports), integrated SPI/I2C support, a power jack, and a reset button.

Wednesday, August 29, 2012

C++ Template:Hello World

Hi guys

     C++ templates are very useful when we write a generic code, ie it will work with all data types. I am giving a sample code which shows the working of templates

Setting OpenCV on eclipse working on Ubuntu 12.04

Hi all 

     I am giving instruction for setting opencv on eclipse IDE. I am using Eclipse INDIGO .

1)Install Eclipse and eclipse CDT plugin from synaptic package manager

Friday, August 24, 2012

Boost library on Ubuntu 12.04


       I am giving some instruction for setting boost library on Ubuntu 12.04

1)Install boost library using synaptic package manager

Sunday, August 19, 2012

ROS Video Tutorials Series 1

Hey guys

     I made some video tutorials about Robotic Operating System. I am giving the videos below

ROS Introduction

ROS Installation

Saturday, August 11, 2012

ARToolkit for ROS

I am giving the procedures for setting ARToolkit on ROS

1)Download ar_pose

git clone

ARToolkit for Ubuntu 12.04 32 bit

Hi all 

       I am giving  tips to run ARToolkit on Ubuntu 12.04. I got reference from the following link


1)Download ARToolkit 2.7 for linux and patch

Screen-recorder for Ubuntu 12.04

Hey guys

     I got a good screen-recorder for Ubuntu 12.04 for making you-tube video tutorials.

The application name is KAZAM Screencaster. 

Thursday, August 9, 2012

How to fix crash in Ubuntu 12.04?

Hi all 

  I got this error when i installed some libraries. This is how i fixed

Sunday, August 5, 2012

How to convert RGB to HSV using OpenCV


 I am sharing a simple program  which convert RGB image into HSV color space. I am handling cv::Mat instead of IplImage.


  /// HSV Conversion  
 #include "opencv2/highgui/highgui.hpp"   
 #include "opencv/cv.h"  
 #include <iostream>   
 #include <stdio.h>   
 using namespace std;   
 using namespace cv;   
  int main(int argc,   
   char *argv[]   
  /// input and hsv image variable  
  cv::Mat input,hsv;  
  input =imread(argv[1],1);  
  ///hsv conversion  
 ///displaying hsv and input  
  return 0;   

Setting cvbloblib in Visual studio 2010

Hey guys

           I am giving tutorials for setting cvbloblib in Microsoft Visual studio 2010

*Download cvblobllib from willogarage website

Setting OpenCV in Visual studio2010

Download cvbloblib for linux(Note:Windows version not working for me)

Extract all files to project folder

How to start with git using github

Hey guys
         This tutorial is absolutely for beginers. In this tutorial ,i am giving the steps to start a test repository on github


* Start an account in github

*Create a repository like shown below

How to set cvbloblib in Ubuntu 12.04

Hey guys

        I am giving the instruction for setting cvbloblib from OpenCV in Ubuntu 12.04

*Extract into some folder say desktop

Saturday, August 4, 2012

How to make You-tube videos in Ubuntu

Hey guys 

     There is a good tool available in Ubuntu, for recording the screen. The main purpose of recording screen is making you-tube videos. The tool is called gtk-recordscreen

You can install it by command line or through synaptic package manager

$sudo apt-get install recordmydesktop

From synaptic package manager

x-IMU:An Inertial Measurement Unit

The x-IMU was designed to be the most versatile IMU and AHRS platform available. Its host of on-board sensors, algorithms, configurable auxiliary port and real-time communication via USB, Bluetooth or UART make it both a powerful sensor and controller. The on-board SD card, battery charger (via USB), real-time clock/calendar and motion trigger wake up also make the x-IMU an ideal standalone data logger.

Meshlab: A 3D Viewer for Linux

MeshLab is an open source, portable, and extensible system for the processing and editing of unstructured 3D triangular meshes.

The system is aimed to help the processing of the typical not-so-small unstructured models arising in 3D scanning, providing a set of tools for editing, cleaning, healing, inspecting, rendering and converting this kind of meshes.


Installation in Ubuntu

$sudo apt-get install meshlab

How to convert opencv IplImage to cv::Mat and cv::Mat to IplImage

Hey guys

     This is a tutorial for converting OpenCV image handlers 

*IplImage to cv::Mat
*cv::Mat to IplImage

IplImage to cv::Mat example program


 ///Opencv 2.4.2   
 #include "opencv2/highgui/highgui.hpp"  
 #include <iostream>  
 #include <stdio.h>  
 using namespace std;  
 using namespace cv;  
 int main(int argc,  
    char *argv[]  
 ///Loading image to IplImage  
 IplImage *img=cvLoadImage(argv[1]);  
 ///converting IplImage to cv::Mat  
 Mat image=cvarrToMat(img);  
 return 0;  

Thursday, August 2, 2012

How to get 3D Coordinates from Kinect

This is a simple tutorial helps you to get the 3D coordinates from Kinect using OpenNI library

Code snippet

 xn::DepthGenerator & Xn_depth;  
 const XnDepthPixel * pDepthMap = Xn_depth.GetDepthMap();  
 XnPoint3D Point2D, Point3D;  
 Point2D.X = ii;   //x-pixels  
 Point2D.Y = jj;  //y-pixels  
 Point2D.Z = pDepthMap[jj*640+ii];Xn_depth.ConvertProjectiveToRealWorld(1, &Point2D, &Point3D);  

Example Code showing the usage of this snippet. This code combine OpenCV and OpenNI. It gives X,Y,Z coordinate of the desired x,y pixel that we supply through command line argument.

Setting OpenCV in Windows

Installing OpenNI in Windows 7

Setting OpenNI in Visual studio 2010

How to program using OpenNI in Visual C++ 2010 express

Hi Guys 

      Today i am going to show you how we can set OpenNI in Visual studio 2010


1)Install OpenNI in Windows 7

2)Creating an empty project

Wednesday, August 1, 2012

How to flip an image in OpenCV

OpenCV provides a function to flip an  image.


void flip(const Mat& src, Mat& dst, int flipCode)

Flips a 2D array around vertical, horizontal or both axes.

src – The source array
dst – The destination array; will have the same size and same type as src
flipCode – Specifies how to flip the array: 0 means flipping around the x-axis, positive (e.g., 1) means flipping around y-axis, and negative (e.g., -1) means flipping around both axes. See also the discussion below for the formulas.
The function flip flips the array in one of three different ways (row and column indices are 0-based):

Example code: