diff options
-rw-r--r-- | README | 4 | ||||
-rw-r--r-- | examples/simple.ttt | bin | 509554 -> 509562 bytes | |||
-rw-r--r-- | src/automobile.cpp | 8 |
3 files changed, 6 insertions, 6 deletions
@@ -51,8 +51,8 @@ disposal five new Lua functions: incident. - simExtAutomobileRequestNoise(table2 xy, table2 angle, table2 speed, - table2 steeringAngle, table2 distance, - table2 intensity) + table2 steeringAngle, table2 intensity, + table2 distance) Requests that, in addition to the gathered data, the plugin also generate a data set with artificial Gaussian noise added. Should you wish to use this function, we strongly recommend you only call it once per run. The diff --git a/examples/simple.ttt b/examples/simple.ttt Binary files differindex 57c7840..e5c33ea 100644 --- a/examples/simple.ttt +++ b/examples/simple.ttt 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", |