summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2013-03-20 14:00:42 +0100
committerjmoenig <jens@moenig.org>2013-03-20 14:00:42 +0100
commit45fcc9d14da40c1f395f513cffa70fbe42d8a587 (patch)
tree551852999acede4e1d67bbc2c1c497e3fe8342dd
parent7fb09720015de452b124ea889c1af288243e88cb (diff)
downloadsnap-45fcc9d14da40c1f395f513cffa70fbe42d8a587.tar.gz
snap-45fcc9d14da40c1f395f513cffa70fbe42d8a587.zip
YPR: Fix for turnLeft / turnRight swap bug
Thanks for reporting this, Dan!
-rwxr-xr-xhistory.txt5
-rw-r--r--ypr.js6
2 files changed, 8 insertions, 3 deletions
diff --git a/history.txt b/history.txt
index 930a8db..581df24 100755
--- a/history.txt
+++ b/history.txt
@@ -1542,4 +1542,7 @@ ______
130320
------
-* GUI: deactivated motd and cloudmsg mechanism for now (has some issues) \ No newline at end of file
+* GUI: deactivated motd and cloudmsg mechanism for now (has some issues)
+* Updated Portuguese translation, thanks, Manuel!
+* Updated all translations for %keyHat and %msgHat specs
+* YPR: fixed turnLeft / turnRight swap bug \ No newline at end of file
diff --git a/ypr.js b/ypr.js
index f167008..f392e03 100644
--- a/ypr.js
+++ b/ypr.js
@@ -8,6 +8,8 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+last change: 2013-March-20 by Jens Moenig
+
*/
var sb = (function (sb) {
@@ -824,8 +826,8 @@ var sb = (function (sb) {
}, blockSelectors = {
// Motion': '',
'forward:': 'forward',
- 'turnLeft:': 'turn',
- 'turnRight:': 'turnLeft',
+ 'turnLeft:': 'turnLeft',
+ 'turnRight:': 'turn',
'heading:': 'setHeading',
'pointTowards:': 'doFaceTowards',
'gotoX:y:': 'gotoXY',