Skip to content

Commit 3ab37c4

Browse files
committed
patches from PRs
1 parent 508cb2b commit 3ab37c4

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

examples/ctrl/fasr2.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,8 @@ class Robot
203203

204204
Model* fuel_zone;
205205
//Model* pool_zone;
206-
int avoidcount, randcount;
206+
int avoidcount;
207+
// int randcount;
207208
// int work_get, work_put;
208209
bool charger_ahoy;
209210
double charger_bearing;

libstage/model_bumper.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ using namespace Stg;
5757
static const watts_t BUMPER_WATTS = 0.1; // bumper power consumption
5858
static const Color BUMPER_HIT_RGB(1, 0, 0, 1); // red
5959
static const Color BUMPER_NOHIT_RGB(0, 1, 0, 1);// green
60-
static const meters_t BUMPER_HIT_THICKNESS = 0.02;
61-
static const meters_t BUMPER_NOHIT_THICKNESS = 0.01;
60+
//static const meters_t BUMPER_HIT_THICKNESS = 0.02;
61+
//static const meters_t BUMPER_NOHIT_THICKNESS = 0.01;
6262

6363
Option ModelBumper::showBumperData( "Show Bumper Data", "show_bumper", "", true, NULL );
6464

libstage/typetable.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#include "stage.hh"
22
using namespace Stg;
33

4-
54
/* Create named wrappers for model constructors */
65
template <class T>
76
Model* Creator( World* world, Model* parent, const std::string& type )

worlds/fasr2.world

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ floorplan
4747
zone( color "red"
4848
pose [ 18.000 43.000 0 0 ]
4949
name "red_source"
50-
ctrl "source 100 10"
50+
ctrl "source 10 10"
5151
)
5252

5353
zone( color "DarkRed"

worlds/large.world

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ floorplan
3232
name "cave"
3333
size [1000.000 700.000 0.600]
3434
pose [0 0 0 0]
35-
bitmap "bitmaps/SFU_800x600.png"
35+
bitmap "bitmaps/SFU_1200x615.png"
3636
)
3737

3838

0 commit comments

Comments
 (0)