Project

General

Profile

Revision 936

Added by Ryan Cahoon over 15 years ago

Incremental update; working on:
- new vision algorithm utilizing edge detection instead of thresholding
- sending camera images over sockets instead of using the webserver

View differences:

ColonetServerInterface.java
57 57
	public static final String GLOBAL_DEST = "200";
58 58
	
59 59
	//Common requests
60
  public static final String CLIENT_REQUEST_IMAGE = "112";
61
  
60 62
	public static final String CLIENT_REQUEST_ROBOT_POSITIONS = "86";
61 63
	public static final String CLIENT_ASSIGN_ROBOT_ID = "87";
62 64
  public static final String CLIENT_SET_VIRTUAL_WALL = "89";
......
351 353
	public void sendPositionRequest () {
352 354
		sendRequest(ColonetServerInterface.CLIENT_REQUEST_ROBOT_POSITIONS, "");
353 355
	}
356
	
357
	/**
358
	* Requests a current image from the overhead camera.
359
	*/
360
	public void sendImageRequest() {
361
	  sendRequest(ColonetServerInterface.CLIENT_REQUEST_IMAGE, "");
362
	}
354 363

  
355 364
	/**
356 365
	* Send a robot ID assignment update to store on the server.

Also available in: Unified diff