Showing posts with label MATLAB. Show all posts
Showing posts with label MATLAB. Show all posts

Sunday, January 10, 2016

ROBOTICS VISION AND CONTROL USING MATLAB

Final result:
Robotic arm following a given trajectory:



Blob Detection:





A simple robot controller:





Thursday, October 22, 2015

GETTING STARTED WITH ROS!

A Citation from http://www.ros.org/about-ros/

The Robot Operating System (ROS) is a flexible framework for writing robot software. It is a collection of tools, libraries, and conventions that aim to simplify the task of creating complex and robust robot behavior across a wide variety of robotic platforms. 
Why? Because creating truly robust, general-purpose robot software is hard. From the robot's perspective, problems that seem trivial to humans often vary wildly between instances of tasks and environments. Dealing with these variations is so hard that no single individual, laboratory, or institution can hope to do it on their own.
As a result, ROS was built from the ground up to encourage collaborative robotics software development. For example, one laboratory might have experts in mapping indoor environments, and could contribute a world-class system for producing maps. Another group might have experts at using maps to navigate, and yet another group might have discovered a computer vision approach that works well for recognizing small objects in clutter. ROS was designed specifically for groups like these to collaborate and build upon each other's work.

ROS has become a standard tool in robot design for a lot of companies. And since it's an open source software, anyone can use it freely in their own projects. Also the architecture of ROS enables modularity, which helps not only on creating your own source code and integrate with others very quickly but also it makes the execution of codes much much faster.

Following video shows some of the robots that are implemented using ROS :



So, to get started with ROS, we decided to start from what we already know : MATLAB ...yes! it's the software that is taught in nearly every Engineering Institute. Staring from MATLAB release 2014a, Mathworks has incorporated a support for ROS based simulator and robot. And in release 2015a, they have provided a toolbox called "Robotic System Toolbox" to integrate ROS based simulator or robot much more easily.
At this stage, we are just trying to use the simulator and use the existing algorithms in MATLAB and deploy it and run into the simulator named Gazebo.

Sunday, September 6, 2015

PCB DESIGN USING EAGLE

This summer I made a simple PCB layout and design using EAGLE. Actually, I followed the book http://www.amazon.com/Make-Your-Own-PCBs-EAGLE/dp/0071819258 (Make your own PCBs with EAGLE by Simon Monk) and made the same project as shown in the text. It is called Sound Meter (Indicates the intensity of sound using LED's), and it is just a simple project to get familiar with EAGLE.



Here is the link of its source codes:
https://drive.google.com/folderview?id=0BxvpVhIITsEsZmtVdzd0aDJxbFk&usp=sharing


VIRTUAL COMPUTING WITH MATLAB!

MATLAB is a very sophisticated piece of software with lot's of libraries. This summer I started to work on MATLAB GUI and made a 3D graphing tool:

Here is the link of associated files and source codes:

Earlier as a part of learning project I made an Electric Field Damping Tool (this shows 'skin effect' phenomenon which are usually encountered in Electromagnetic's class). I didn't make it myself though, I followed it from the book:


Here is the source code and compiled version of this tool: