aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbarenblat@galois.com>2014-02-03 10:55:58 -0800
committerGravatar Benjamin Barenblat <bbarenblat@galois.com>2014-02-03 11:32:09 -0800
commita24b6930e40232e131980ed34c4895018d29055b (patch)
tree94bb00ec77837ca0997beb417c67cba742a1bd00 /src
parent50969a223482384ea98bf0ca234d52f778f85c18 (diff)
Correct documentation and example for 'simExtAutomobileRequestNoise'
The documentation string (and README documentation) for 'simExtAutomobileRequestNoise' specified that distance noise was passed before intensity noise. In actuality, the reverse is true. This is an API-compatible change; only the documentation and example have been updated.
Diffstat (limited to 'src')
-rw-r--r--src/automobile.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/automobile.cpp b/src/automobile.cpp
index 365c96b..0a639be 100644
--- a/src/automobile.cpp
+++ b/src/automobile.cpp
@@ -1,5 +1,5 @@
/* automobile.cpp -- recording data about the car
- * Copyright (C) 2013 Galois, Inc.
+ * Copyright (C) 2013, 2014 Galois, Inc.
*
* This library is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
@@ -170,10 +170,10 @@ void registerLuaFunctions() {
std::vector<float>, // angle
std::vector<float>, // speed
std::vector<float>, // steering angle
- std::vector<float>, // distance
- std::vector<float>>( // intensity
+ std::vector<float>, // intensity
+ std::vector<float>>( // distance
"simExtAutomobileRequestNoise",
- "simExtAutomobileRequestNoise(table2 xy, table2 angle, table2 speed, table2 steeringAngle, table2 distance, table2 intensity)",
+ "simExtAutomobileRequestNoise(table2 xy, table2 angle, table2 speed, table2 steeringAngle, table2 intensity, table2 distance)",
setNoiseParameters);
vrep::exposeFunction<float, float, float, float>(
"simExtAutomobileSavePose",