Skip to content

Commit

Permalink
Fix feature test missing in tutor creation
Browse files Browse the repository at this point in the history
Update copyright
  • Loading branch information
synaptek committed Jun 16, 2017
1 parent a584956 commit 3acd329
Show file tree
Hide file tree
Showing 184 changed files with 244 additions and 385 deletions.
4 changes: 1 addition & 3 deletions LICENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@

### All files in this folder path are covered by the following license terms

Copyright 2016 Jack Mostow

Copyright 2016 Kevin Willows
Copyright(c) 2016-2017 Kevin Willows

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
12 changes: 8 additions & 4 deletions app/src/main/assets/tutors/add_subtract/animator_graph.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@

{"name":"Show Scaffold:", "type": "QUEUEDCOMMAND", "id": "SAddSubtract", "method": "setDotBagsVisible", "parms":"TRUE:Boolean", "features": ""},
{"name":"Adding 3 + 2...", "type": "QUEUEDAUDIO", "command": "PLAY", "soundsource": "Adding 3 things plus 2 things means--.mp3", "soundpackage":"default", "volume": 1.0, "mode":"flow", "features": ""},
{"name":"Let's Tap...", "type": "QUEUEDAUDIO", "command": "PLAY", "soundsource": "Lets tap on the three things to add them to the two things.mp3", "soundpackage":"default", "volume": 1.0, "mode":"flow", "features": ""}
{"name":"Let's Tap...", "type": "QUEUEDAUDIO", "command": "PLAY", "soundsource": "Please tap on the three things to add them to the two things.mp3", "soundpackage":"default", "volume": 1.0, "mode":"flow", "features": ""}
],
"preexit": [],
"edges": [
Expand All @@ -103,7 +103,7 @@
{"name":"Show Scaffold:", "type": "QUEUEDCOMMAND", "id": "SAddSubtract", "method": "setDotBagsVisible", "parms":"TRUE:Boolean", "features": ""},

{"name":"Adding 3 + 2...", "type": "QUEUEDAUDIO", "command": "PLAY", "soundsource": "Adding 3 things plus 0 things means--.mp3", "soundpackage":"default", "volume": 1.0, "mode":"flow", "features": ""},
{"name":"Let's Tap...", "type": "QUEUEDAUDIO", "command": "PLAY", "soundsource": "Let's tap on the 3 things.mp3", "soundpackage":"default", "volume": 1.0, "mode":"flow", "features": ""}
{"name":"Let's Tap...", "type": "QUEUEDAUDIO", "command": "PLAY", "soundsource": "Please tap on the 3 things.mp3", "soundpackage":"default", "volume": 1.0, "mode":"flow", "features": ""}
],
"preexit": [],
"edges": [
Expand All @@ -124,7 +124,7 @@
{"name":"Show Scaffold:", "type": "QUEUEDCOMMAND", "id": "SAddSubtract", "method": "setDotBagsVisible", "parms":"TRUE:Boolean", "features": ""},

{"name":"Adding 3 + 2...", "type": "QUEUEDAUDIO", "command": "PLAY", "soundsource": "Adding 0 things plus 3 things means--.mp3", "soundpackage":"default", "volume": 1.0, "mode":"flow", "features": ""},
{"name":"Let's Tap...", "type": "QUEUEDAUDIO", "command": "PLAY", "soundsource": "Let's tap on the 3 things.mp3", "soundpackage":"default", "volume": 1.0, "mode":"flow", "features": ""}
{"name":"Let's Tap...", "type": "QUEUEDAUDIO", "command": "PLAY", "soundsource": "Please tap on the 3 things.mp3", "soundpackage":"default", "volume": 1.0, "mode":"flow", "features": ""}
],
"preexit": [],
"edges": [
Expand All @@ -146,7 +146,7 @@
{"name":"Show Scaffold:", "type": "QUEUEDCOMMAND", "id": "SAddSubtract", "method": "setDotBagsVisible", "parms":"TRUE:Boolean", "features": ""},

{"name":"Adding 3 + 2...", "type": "QUEUEDAUDIO", "command": "PLAY", "soundsource": "Subtracting 3 things minus 2 things means--.mp3", "soundpackage":"default", "volume": 1.0, "mode":"flow", "features": ""},
{"name":"Let's Tap...", "type": "QUEUEDAUDIO", "command": "PLAY", "soundsource": "Lets tap on the two things and see how many are left.mp3", "soundpackage":"default", "volume": 1.0, "mode":"flow", "features": ""}
{"name":"Let's Tap...", "type": "QUEUEDAUDIO", "command": "PLAY", "soundsource": "Please tap on the two things and see how many are left.mp3", "soundpackage":"default", "volume": 1.0, "mode":"flow", "features": ""}
],
"preexit": [],
"edges": [
Expand Down Expand Up @@ -580,6 +580,10 @@
"tracks": [
{"name": "LOG_EVENT", "type": "QUEUEDCOMMAND", "id": "SAddSubtract", "method": "logState", "parms": "type#node,value#DEMOCOMPLETE:String", "features":""},

// Pace the problem highlight / wiggle based on the language
{"name":"Show Scaffold:", "type": "QUEUEDCOMMAND", "id": "SAddSubtract", "method": "animateTutorial", "parms": "600:Integer", "features": "LANG_EN"},
{"name":"Show Scaffold:", "type": "QUEUEDCOMMAND", "id": "SAddSubtract", "method": "animateTutorial", "parms": "1200:Integer", "features": "LANG_SW"},

{"type": "AUDIO", "command": "PLAY", "soundsource": "So 3 plus 2 is 5.mp3", "soundpackage":"default", "volume": 1.0, "mode":"flow", "features": "FTR_DEMO_ADD"},

{"type": "AUDIO", "command": "PLAY", "soundsource": "So 0 plus 3 is 3.mp3", "soundpackage":"default", "volume": 1.0, "mode":"flow", "features": "FTR_DEMO_ADD_ZERO"},
Expand Down
3 changes: 1 addition & 2 deletions app/src/main/java/cmu/xprize/robotutor/RoboTutor.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -621,7 +620,10 @@ private void onCreate(scene_descriptor scenedata) {

for (type_action cmd : createCmds) {

cmd.applyNode();
if(cmd.testFeatures()) {
cmd.applyNode();
}

}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//*********************************************************************************
//
// Copyright(c) 2016 Carnegie Mellon University. All Rights Reserved.
// Copyright(c) Kevin Willows All Rights Reserved
// Copyright(c) 2016-2017 Kevin Willows All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Loading

0 comments on commit 3acd329

Please sign in to comment.