-
Notifications
You must be signed in to change notification settings - Fork 1
/
UPDATE
35 lines (27 loc) · 1.34 KB
/
UPDATE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
0.8->0.81
* Changed default colors and ground texture
- in order to get the old look and feel use
in ThisSim() constructor:
setGroundTexture("Images/greenground.rgb");
addPaletteFile("colors/DefaultColors-0_8.gpl");
addColorAliasFile("colors/DefaultColorSchema-0_8.txt");
for UrbanColorScheme:
addColorAliasFile("colors/UrbanColorSchema_old.txt");
0.7->0.8
* All OdeRobots subclasses have to be changed:
getSensors() -> getSensorsIntern()
getMotors() -> getMotorsIntern()
getSensorNumber() -> getSensorNumberIntern()
getMotorNumber() -> getMotorNumberIntern()
place() -> placeIntern
In doInternalStuff() call OdeRobots::doInternalStuff()
In update() call OdeRobots::update() and remove the update of all
primitive and joints
Typically you can remove the update and doInternalStuff functions and just the primitives you update
etc to the object list
* AddSensorToRobotAdapter is removed, use addSensor directly at the OdeRobot
* all Sensors: std::list<sensor> get() was renamed to getList()
* IRSensors: they are generic Sensors now, actually PhysicalSensors.
Use setInitData(). Use sense() (before step) and not reset() (done automatically if attached)
Can be generically attached to a robot, just use addSensor(..)).
so: init(..) -> setInitData(...). The init() function is called when attached automatically.