Skip to content

Commit 11f8b5a

Browse files
author
Sven Schneider
committed
Merge branch 'rockin2015' into rockin
2 parents 8089d79 + 6e9948a commit 11f8b5a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+2806
-1680
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ BASEDIR = .
1717

1818
SUBDIRS = src rockin
1919

20+
# Explicit dependencies, this is needed to have make bail out if there is any
21+
# error. This is also necessary for working parallel builds
22+
rockin: src
23+
2024
include $(BASEDIR)/etc/buildsys/config.mk
2125
include $(BUILDSYSDIR)/rules.mk
2226
include $(BUILDSYSDIR)/root/root.mk

cfg/config.yaml

Lines changed: 31 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,20 @@
33
# Main configuration document
44

55
llsfrb:
6-
plugins: "drilling_machine,conveyor_belt,quality_control_camera,force_fitting_machine"
6+
plugins: "drilling_machine,triggered_conveyor_belt,force_fitting_machine"
77

88
log:
99
level: info
1010
general: refbox.log
1111
clips: clips.log
1212
game: game.log
1313

14-
conveyor-belt:
14+
triggered-conveyor-belt:
1515
enable: false
1616
host: !ipv4 eth0
1717
command_port: !tcp-port 55502
1818
status_port: !tcp-port 55501
1919

20-
quality-control-camera:
21-
enable: false
22-
host: !ipv4 192.168.1.102
23-
service_port: !tcp-port 55522
24-
status_port: !tcp-port 55521
25-
2620
drilling-machine:
2721
enable: false
2822
host: !ipv4 eth0
@@ -44,8 +38,8 @@ llsfrb:
4438
debug: true
4539
# debug levels: 0 ~ none, 1 ~ minimal, 2 ~ more, 3 ~ maximum
4640
debug-level: 2
47-
unwatch-facts: [time, signal, benchmark-state]
48-
unwatch-rules: [retract-time, benchmark-update-last-time,
41+
unwatch-facts: [time, signal]
42+
unwatch-rules: [retract-time,
4943
net-send-beacon, net-send-BenchmarkState, net-send-OrderInfo,
5044
net-send-Inventory, net-send-VersionInfo,
5145
net-send-DrillingMachineStatus, net-send-ConveyorBeltStatus]
@@ -61,24 +55,42 @@ llsfrb:
6155
#send-port: !udp-port 4444
6256
#recv-port: !udp-port 4445
6357

64-
b-it-bots-peer:
58+
AugsburgDublin-peer:
6559
host: !ipv4 192.168.1.255
6660
port: !udp-port 4446
6761
#send-port: !udp-port 4446
6862
#recv-port: !udp-port 4447
6963

70-
IASLab-peer:
64+
RobOTTO-peer:
7165
host: !ipv4 192.168.1.255
7266
port: !udp-port 4448
7367
#send-port: !udp-port 4448
7468
#recv-port: !udp-port 4449
7569

76-
SPQR-peer:
70+
smARTLab-peer:
7771
host: !ipv4 192.168.1.255
7872
port: !udp-port 4450
7973
#send-port: !udp-port 4450
8074
#recv-port: !udp-port 4451
8175

76+
SPQR-peer:
77+
host: !ipv4 192.168.1.255
78+
port: !udp-port 4452
79+
#send-port: !udp-port 4452
80+
#recv-port: !udp-port 4453
81+
82+
UvA-peer:
83+
host: !ipv4 192.168.1.255
84+
port: !udp-port 4454
85+
#send-port: !udp-port 4454
86+
#recv-port: !udp-port 4455
87+
88+
wits-peer:
89+
host: !ipv4 192.168.1.255
90+
port: !udp-port 4456
91+
#send-port: !udp-port 4456
92+
#recv-port: !udp-port 4457
93+
8294
mongodb:
8395
enable: true
8496
hostport: localhost
@@ -88,11 +100,14 @@ llsfrb:
88100
protobuf: llsfrb.protobuf
89101

90102
game:
91-
teams: [b-it-bots, IASLab, SPQR]
103+
teams: [AugsburgDublin, RobOTTO, smARTLab, SPQR, UvA, wits]
92104
crypto-keys:
93-
ART: randomkey
94-
b-it-bots: randomkey
105+
AugsburgDublin: randomkey
106+
RobOTTO: randomkey
107+
smARTLab: randomkey
108+
SPQR: randomkey
95109
UvA: randomkey
110+
wits: randomkey
96111

97112
shell:
98113
refbox-host: !ipv4 192.168.1.100

rockin/clips/benchmark-time.clp

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
;---------------------------------------------------------------------------
2+
; benchmark-time.clp - RoCKIn RefBox CLIPS benchmark timer
3+
;
4+
; Licensed under BSD license, cf. LICENSE file
5+
;---------------------------------------------------------------------------
6+
7+
(defclass BenchmarkTime (is-a USER) (role concrete)
8+
(slot timer (type FLOAT) (default 0.0))
9+
10+
; cardinality 2: sec msec
11+
(multislot start-time (type INTEGER) (cardinality 2 2) (default 0 0))
12+
(multislot end-time (type INTEGER) (cardinality 2 2) (default 0 0))
13+
)

0 commit comments

Comments
 (0)