Project

General

Profile

Revision 1928

Added by Joseph Lee about 13 years ago

more general script for updating linefollowing code into traffic_navigation

View differences:

trunk/code/projects/traffic_navigation/update_linefollow.pl
1
#!/usr/bin/perl -W
2

  
3
my $line;
4

  
5
$line = `pwd`;
6
if($line =~ /linefollowing/igs) {
7
	print "Cannot modify linefollow code from linefollow\n";
8
} #else {
9
#	`rm lineFollow.*`;
10
#	`rm lineFollow.*`;
11
#	`cp ../linefollowing/lineFollow.* .`;
12
#	`cp ../linefollowing/lineDrive.* .`;
13
#}
14

  
15

  
0 16

  

Also available in: Unified diff