Showing posts with label Grasp. Show all posts
Showing posts with label Grasp. Show all posts

Wednesday, June 21, 2017

TensorFlow "Hello World!" on Windows

1. Install Python from here.
2. Install PyCharm from here.
3. Open command prompt and enter the following command:
       pip3 install --upgrade tensorflow
4. Open PyCharm and create a new project and a python file.
5. Enter the following short program inside the python file:
    import tensorflow as tf
    hello = tf.constant('Hello World!')
    sess = tf.Session()
    print(sess.run(hello))
6. Shift + F10

Deep Learning

The best book for deep learning: http://www.deeplearningbook.org
Best language: Python
Best Library: Tensorflow

Saturday, April 2, 2016

Controlling DC motor by means of direction of rotation and torque/power insertion

For running a DC motor in both direction (in our case CRS Robotics gripper) you need to have a bridge to be able to switch the polarity of the source. For this purpose I have used  EVAL6206PD board which not only provides a protected bridge but also it has PWM current control for both of its output independently.

The two bridges are designated A and B and their output pins designated as OUT1A, OUT2A, OUT1B, and OUT2B. These outputs are controlled independently by logic inputs IN1A, IN2A, IN1B, and IN2B respectively.

A logic high or low on any of these inputs will drive its corresponding output to the positive supply rail or to ground. Both of the A outputs will be forced to an off (high impedance) state if the ENA pin is taken logic low, as will the B outputs if ENB is taken low. Each bridge also has an analog control signal, VREFA and VREFB, which control the current.

Monday, June 29, 2015

How to install GraspIt!

GraspIt! was created to serve as a tool for grasping research. It is a simulator that can accommodate arbitrary hand and robot designs. It can also load objects and obstacles of arbitrary geometry to populate a complete simulation world. The GraspIt! engine includes a rapid collision detection and contact determination system that allows a user to interactively manipulate a robot or an object and create contacts between them. Once a grasp is created, one of the key features of the simulator is the set of grasp quality metrics. Each grasp is evaluated with numeric quality measures, and visualization methods allow the user to see the weak point of the grasp and create arbitrary 3D projections of the 6D grasp wrench space. Here is the website: http://www.cs.columbia.edu/~cmatei/graspit/

If you are running Ubuntu 12 you can use this precompiled version: https://drive.google.com/file/d/0B7S255p3kFXNSmFLREd6dWdDOVk/view?pli=1