Robotics is the branch of technology that deals with the design, construction, operation, and application of automated machines known as robots. It also involves the computers systems for their control, sensory feedback, and information processing.

Share tech news, updates, or what's on your mind.

Sign up to Post


I am trying to create a small 2D game where I have a field of dimensions 1000x1000 units.
On this field I have a robot and a box.
Robot is defined by its coordinates (in field units) and the direction where it is looking (in degrees).
         - for example:    RobotPositionX = 323,       RobotPositionY = 476,       RobotDirection = 43              (RX, RY, RD      - to make it simple)

Box is defined only by its coordinates:     BoxPositionX,   BoxPositionY     (BX, BY)

The robot has the field of view of 90 degrees. Which means, it can see 45 degrees to the left and 45 degrees to the right.

I would like to know the following:
    - can the robot see the box: YES or NO.
    - where on its view is the box:    from -45 to +45 degrees, where 0 means that the box is right in front of it, -34 means it is on robot's left side.
    - how far is the box

Now some more information which might or might not be usefull:
 - origin point of coordinate system is at top-left point of playfield
 - when robot's direction is set to 0 degrees, it is looking towards north (up)
 - degrees are increasing clockwise which means when RD = 90, robot is looking towards East


RX = 800
RY = 900
RD = 315 degrees
BX = 400
BY = 800

would look something like this:

      |                                                                |
      |                                                                |
      |     …
its for a line follower Robot
 main:      ORG    $0000         ;$0800  CODE Starts here (Normally in ROM)
        LJMP   START

        ORG    $0003
        LJMP   SERVICE_EX0

        ORG    $000B
START:  EQU     *
      MOV      SP,#?stk-1;      Set up initial stack
        ORL  TMOD,#00000001;    set timer 0 to be counter 16 bit
        SETB    IE.7;            $AF  EA
        SETB    IE.1;           $A9  ET0 Enable timer 0 interrupt
        SETB    TCON.4;          start timer 0

      LCALL      main;            Execute program
        SJMP    *;               JUMP HERE
exit:      LCALL      $001B            Call Timer-1 interrupt
      SJMP      exit            Incase he go's again
   MOV  TH0,#$FF;      reload timer 0 for ms
   MOV  TL0,#$00
   INC  tick

   MOV  A,tick
   CJNE A,#100,RIGHT
   MOV  tick,#0

   CLR  C
   SUBB A,speedright
   CLR  P1.0

   SETB P1.0

   MOV  A,tick
   CLR  C
   SUBB A,speedleft
   CLR  P1.1

   SETB P1.1


   INC  cputick
      ORG      $0008;            Internal ram ALWAYS starts here

tick         DS  1
speedright   DS  1
speedleft    DS  1  
cputick      DS  1
Hello everyone.

Really need someone to explain to me how do I communicate from a VB interface with a robot. I want to connect a robot (Basic Stamp language) to a pc where the user would use the interface from VB to input data or give instruction to the robot. But I don't know how these two (VB & Basic Stamp) communicates. Hope that someone out there can help me here.

Thanx in advance.
I am programming a robot on a 16 bit HCS12 processor and I am trying to measure the changle in x/y. The problem that I am having is that I cannot use floating point math. I am given a delta-angle and a delta-distance where:


the angle has a precision of .5 degrees and delta-distance is not in terms of real units.

Does anyone have a algorithm that does not require floating point math? X and Y don't have to be in terms of real units, they just need to be proportional to each other.
can c programming be used for programming robots or hardware? if yes,can u help me with some indian author's books on this topic?
I'm having trouble with the calculateValue function in my minimax class.

Occasionally the AI behaves Intrinsically Stupid rather than Artificially Intelligent.

All the class files I use are available at the link below:

Any pointers on areas of the code would be greatly appreciated especially on the calculateValue function.

Don't hesitate to let me know if you have any queries.


PS. I'll open a seperate thread for each aspect commented on, so as to make splitting the points alot easier :-)
how can i put the implementation of the artificial intelligence in the following paper on this link , basically this a published paper and i have to tell that how can apply AI in the biometric system that is the above published paper (link)

Please i will thankfull if u tell about it?
Ok this is my first time ! Hi there !
I ve got a problem, I m working now on a experement of controlling Robot arm using image source(camera) that orders to the robert to move when it s sees an object, using the image signal processing. My problem is in the labeling phase, also I have written a program to calculate and draw the center of inertia just of 1 object, but i don t know how to do it for infinite numbers of objects.

#include <stdio.h>
#include <stdlib.h>
#include <conio.h>

#include "robot.h"
#include "img.h"

#define MODE 4

extern BYTE *img_work2;
extern BYTE *img_work3;


void disp_image_while_kbhit(BYTE *img, HDC *hDC); /*(サンプル)*/
void gray2(BYTE *img_src, HDC *hDC);
void get_rid_of_noise(BYTE *img_src, BYTE *img_tmp, HDC *hDC);
double scan_angle(BYTE *img, int g_x, int g_y);
void straight_line(BYTE *img, int g_x, int g_y, double theta, HDC *hDC);
double sqrt( double x );
double atan2( double x,double y);
double tan( double x);

void myfunc(BYTE *img_src , BYTE *img_tmp , HDC *hDC){
  char motor;
  int  count;
  int  x1, y1, z1, x2, y2, z2 ;
  int i, j, s=0;
  int g_x, g_y, x_sum, y_sum, all_sum, threshold;
  double theta;

  /*-- rotate_longの動作確認(1) ----------------------------------------*/
  case 1:
    printf("rotate_longのmovement …

Im programming a robot in java using the lejos operating system and the lego mindstorm kits. Do you know a way of distinguishing between two sensors on the same connector. Any help is greatly appreciated.
I am trying to get some informaion on Micro-processor based robotics.  I would like to know if there is any micro-processors that can be programmed using C language.[ Something that comes with an evaluation board or kind of like that].  Any information regarding this would be helpful as I have just started to explore the technology.  Related links would also be helpful.


Recently a thread was started about AI.  Unfortunately the thread was terminated before really comming to a conclusion.

See details here:

The question was posed:
  If you had to communicate with someone who had virtually no senses, how would you do it?  This "individual" could hear you, but could not see, feel, taste or smell.

To expand, what do you think would be required for a computer to learn, adapt and respond to stimuli/input?
Dear there,
         I am software Engineering graduate who would like to continue her studies. I know this section might not be the right place to write down my thoughts, however, I believe that someone could help me answering some questions. As you can notise that the topic that iam going to talk about is the Artificial Intelligence. One question is as a SWET person what shall I study in AI -- i wonder if it focused only on programming or I can work with machines as well (building one 4 example then programme it) -- Later on, How can I use AI with my career as SW Engineer or even a programmer. I don't know if you could help me by giving me names of people i can ask about AI courses.

Hope anyone can understand me and help me with this issue -- or at least give me a hint where to search and whom i can ask

Thank you & Regards, huda
I would like to build a case based reasoning advisory system, which is a web-based system. I just not sure that is it I can implement case based reasoning technique (artificial intelligence features) in either ASP.NET or .NET MOBILE? If so, what languages I can use for case based reasoning part? C#? VBScript? Or java? If I use java, is it java can implement in ASP.NET or .NET Mobile?

If now I like to build a mobile-based system, can somebody list out the software I need to build it? As I know, I need Microsoft Mobile Internet Toolkit, and emulators to test the pages. And what else?

What languages are suitable to implement case based reasoning technique? Where can get helpful and useful resources and references on CBR for artificial intelligence?
I have been fooling around with the 6811, getting a feel for it......

I was just wonder how to display a message.. not on the buffalo monitor itself, but on the screen...

I understand that much actually.. becasue I bought a book on it... and I saw in that book that you can enter a string lets say "Hello World" and it prints out "HelloWorld" with no spaces...... I was just wondering if neone can hel me out becasue the book isn't really telling me much... I would eventually like to program robots and stuff... Please help

The aim is that i have six microphones that will be placed around the babies head, and two in the eyes. i have to organise it in a Octahedral configuration, to obtain balanced sound. So the aim is that the baby responds to a noise and follows a talker. The ultimate aim is to give it vision and sound recognition, so it can handle commands.and it will record and analyse the sound once obtained. This cybernetic project is very interesting. I am sure you people out there would like to make opinions on it. Much appreciated.

I have the algorithm for talker tracking.

what is the procedure to obtain Analog signals from 8 microphones using a USB onto a PC.?

I was considering a 6-8 channel A/D 16 bit resoloution and sampling the data at 22-36 Khz

But i am not sure of what is the intermediate device/s required to interface a USB.1.1 with the ADC's?

What is better to develop the algorithm MATLAB or Visual C++

I had been reading up on many books about robotics.  Building the platform and other physical parts of the robot are not hard, but can be accomplished.

I have one huge problem, however.  A robot cannot run without a brain, right?  So that's where embedded micontrollers come into play.  My problem is I don't know how to even start programming them.  I don't want to waste huge amounts of money buying the BASIC program for PIC Microcontrollers or buy Parallax Stamps that also uses the BASIC programming.  I have some background in C++.  I am taking my 2nd semester in C++.  I'm learning object orientated programming.  I heard from someone that it'll help me with the embedded chip programming, but I'm not sure how it will help me.

Getting to my main question, how do I even start to program embedded microchips like the PIC16F84 or the PIC16F627?  If you know how to program other microcontrollers, please answer as well.  If there are books out there, can someone suggest one or more?  I already have one called "Programming Robot Controllers", but all the programming is done in C.  I'm learning C++ and the coding in C is a bit different.  

If possible, can someone include a tutorial or instructions on how to start programming a microcontroller in C++?  Or sample codes on how to program a microcontroller.  Please explain the code, if possible.  If there are any internet links that relate to my question feel free to post it here.  If anyone has any experience with embedded chip …
I am having a problem.
I have to write a program for a robot to move from (1,1) to 20,20 on a surface of 20 by 20 without hitting the obstacle.The robot is considered as one pixel(1,1)initially. The obstacle is input to the program .How do i write a progarm in VB to find the obstacle free path.
how do I get LEGO MINDSTORMS RCX2  usb tower in linux
My school is working on webpage that you can control a
LEGO MINDSTORMS form the net with a camara hook on to it
we want to use linux as the os but cant find how to talk to the tower in linux  we use NQC to program the robot
Hi, I am currently doing an Artificial Intelligence project. I am requried to built a Robot Delivery System where I have to simulate the delivery of parcels to rooms(which need key to open) and labs(don't need any key).

The area I am stuck in is to find the shortest path using depth first search algorithm, from a location to the destination. I has wrote up some algorithm but to no success.

How do I code a simple search algorithm? The general idea is this, I have the following datas.

1.) Rooms, labs, corridors each are represented by grids where I have plotted a 9 X 6 two dimensional array.

2.) Each grid is a square that has 4 adjacent to another grid square (but some have less adjacent depending if they have walls, doors and route to the other square).

My robot have to sent parcel from a location to another in the shortest route.

Really appreciate if anyone can help, thanks alot.

i need a clips/pascal program to implement a expert system can be of less complexity
Can anyone know a site where a can learn some biometric thniques?
I'm interested in fingerprint identification.
I have'n find anysite that describe some method of doing this.

Im looking to write a vb program to enable a user to play chess against an industrial robot. programming and communicating with the robot is not a problem. what I need is VB source code or an OCX for playing chess. Any one got any ideas?
I have a robot doing some works and  it is guided by a couple of cameras. The system is controled by software on a PC running Windows.

Now I want to migrate the system to internet and let people take control the sytem through internet.

The requirements are like this
1. User controls the system through internet browers.
2. Realtime pictures are displayed and updated in browers.
3. User designates targets by clicking on these images.

My current robot vision software is developed in Visual C++ 6.0.

My question is how to run my software remotely and let it communicate with people all over the world?

I need some guidelines of the general strategy. Which software I should use and what architecture...?

Thanks in advance.

If you prefer, you can contact me at for more information.
I'm doing some research in the area of problem solving through artificial intelligence.  I was wanting some text book examples of some common problems solved through Artificial intelligence and the methods used to solve them.

For instance the travelling salesman problem.
Genetic Algorithms.
The chalk board method.

Any other AI problem solving techniques that anybody can think of.  I'm asking here because if I ask in the C or C++ I will get answers in C and I don't know C so VB will have to do.

Thanks in advance.

I have an old home built 486 that I want to bring down from the attic to use to control a robot project.

The existing single parallel port is a bit limited, can I add more IO cards to get more ports, or is there a card I can get that provides an array of parallel ports ???






Robotics is the branch of technology that deals with the design, construction, operation, and application of automated machines known as robots. It also involves the computers systems for their control, sensory feedback, and information processing.