Commit be79278b authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add destination coords to the nodes table for robots.

	alter table nodes add destination_x float NOT NULL default '0';
	alter table nodes add destination_y float NOT NULL default '0';

Unlike other coords, these are meters and translated to pixels
later when displayed (trying to head in the right direction ...)
parent 7da57ad4
......@@ -1161,6 +1161,8 @@ CREATE TABLE nodes (
battery_percentage float default NULL,
battery_timestamp int(10) unsigned default NULL,
boot_errno int(11) NOT NULL default '0',
destination_x float NOT NULL default '0',
destination_y float NOT NULL default '0',
PRIMARY KEY (node_id),
KEY phys_nodeid (phys_nodeid),
KEY node_id (node_id,phys_nodeid),
......
......@@ -2420,3 +2420,11 @@ last_net_act,last_cpu_act,last_ext_act);
config tinytext,
PRIMARY KEY (name,building,floor)
) TYPE=MyISAM;
1.309: Add destination coords to the nodes table for robots.
alter table nodes add destination_x float NOT NULL default '0';
alter table nodes add destination_y float NOT NULL default '0';
Unlike other coords, these are meters and translated to pixels
later when displayed (trying to head in the right direction ...)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment