Skip to content

Detect a line points by camera and send them over socket.

Notifications You must be signed in to change notification settings

CVH95/Monterrey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Camera Detections Over Socket

This porject was tested for a UR3 robot to follow a line detected by camera. The UR3 was configurated as client, and the program was made on the teach pendant.

Camera (C++)

Detects white lines and store 2 distant points in the line into a file in ../genfiles.

Server (Python)

Reads the points written in by the camera program and sends over socket.

Usage

$ git clone <repo_url>
$ cd <repo_dir>/camera/src 
$ cmake .
$ make

Create a program in the teach pendant that receives the points and use them for robot motion. Then, connect to the robot by ethernet, put the IPs in the server and client nodes and:

$ ./camera
$ python ../sockets/server.py (in other terminal)

Run robot program.

About

Detect a line points by camera and send them over socket.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published