Herkulex Servos and PyHerkulex

Herkulex are the smart servos manufactured by Dongbu Robotics. Smart servos are far superior to RC servos in performance and quality. They make the ideal choice for making robots. Herkulex servos stand in between the common RC servos and the high end harmonic geared servo motors.


Continue reading “Herkulex Servos and PyHerkulex”

V-REP , a Powerful Simulator for ROS

V-REP (Virtual Robot Experimentation Platform ) is often called the  Swiss Army Knife among all the robot simulators. It is a comprehensive tool which can be used by beginners as well as robotics gurus. It provides interfaces  in C/C++, Python, Lua, Java, Matlab and URBI. Moreover it is cross platform compatible and works flawlessly in Windows, Linux and Mac. What attracted me to V-REP was that, it can be used for fast prototyping and verification, fast algorithm development.It also has the possibility of testing sensors and vision algorithm. V-REP handles dynamics and kinematics simulations pretty well. Two dynamics engines, Bullet and ODE , are present and the user can choose which one suits to his need. It also allows the user to create his own user interfaces for the robots. V-REP has plenty of common robot models included as default.

Dr. Marc Freese from Coppelia Robotics explains the main strengths of V-REP compared to similar products: “V-REP allows the user to create virtually any robotic system quickly, thanks to a built-in script interpreter and more than 300 different API functions: sophisticated sensors, actuators or whole robots can be edited from within the simulator, which offers an integrated development environment. Created models can be reused by a simple drag-and-drop operation”.

ROS has a major share in the robotics research & development happening worldwide. Moreover, it has a super cool community support. More and more robots are being supported by ROS day by day. Plenty of core research in robotics algorithms, especially robot navigation, manipulation, cognitive robotics are  happening in ROS. The default simulator that comes with ROS is Gazebo.  But what i feel is that Gazebo is not as stable as V-REP and crashes often. Also Gazebo is resource hungry. It needs a decent machine to run Gazebo properly. Here comes the importance of V-REP. It is comparatively lightweight and runs fine even  on my personal laptop with no dedicated graphics card and an Intel Core2duo processor. V-REP has an extensive ROS API. So , the advantages of ROS and V-REP can be combined to result in a much better solution.

GSM Controlled Robot Car

This is a Robot car which can be controlled using any mobile phone. This was a project I did years ago, while learning digital electronics in the college. It was a time when I knew only less about microcontroller programming else almost the whole circuit could be replaced by a small microcontroller. The  mobile phone is placed inside the car. To control the car, just call that mobile phone  in the car after enabling the DTMF keypad tones in the calling phone. Then press 2 to move forward, 8 for backward, 2/4 for left/right control.The following video shows it in action although it is not controlled by another phone in the video.

Speech Recognition in ROS / Linux

Speech recognition in ROS/Linux has been has been traditionally done using projects like CMU-Sphinx or Julius. But they lack an efficient vocabulary  and is not stable. So reliable speech recognition was confined to Windows/Mac users only. Initially I was using a windows virtual  machine inside ubuntu to do speech processing, even though it was quite resource consuming. A good alternative is to use the speech recognition built into Chrome by Google. The speech samples are sent to Google’s servers for processing and they return the recognized speech and a confidence value.It is quite easy to use this possibility of speech recognition. It also offers an advantage of speaker independent recognition of speech. The only disadvantage is the delay caused in detection. It normally takes about 3 seconds for the speech to be recognized.A simple python script for speech recognition is shown below

I have also created a ROS package for speech recognition. It can be run by checking out theGithub  repo, and running  ‘rosrun gspeech‘. It will publish two topics: /speech and /confidence. The first one is the detected speech while the latter one is the confidence level of detection