diff --git a/Nasal/engine.nas b/Nasal/engine.nas
index 795894e..ec934f7 100644
--- a/Nasal/engine.nas
+++ b/Nasal/engine.nas
@@ -42,9 +42,9 @@ var Engine = {
return me.gear;
},
- rotor_moi: 2.5,
- wheel_moi: 0.7688,
- wheel_radius: 0.31, #//M
+ rotor_moi: 2.3,
+ wheel_moi: 0.9,
+ wheel_radius: 0.31,#//M
rpm: 0,
@@ -67,9 +67,8 @@ var Engine = {
var angularSpeed = rpm * 0.10471975; #//rps * 2 * 3.1415926
var friction_lbs = props.getNode("/",1).getValue("fdm/jsbsim/forces/fbx-gear-lbs");
- var friction = 4.4492 * friction_lbs;
- #//var frictionTorque = friction * 0.045;
- var angularDecelaeration = friction * me.wheel_radius * (1/me.wheel_moi) * 0.25; #//frictionTorque = friction * wheel_radius, angularDecelaeration = frictionTorque/wheel_moi;
+ var friction = 4.4492 * friction_lbs * 0.25;#//0.25: single wheel
+ var angularDecelaeration = friction * me.wheel_radius * (1/me.wheel_moi); #//frictionTorque = friction * wheel_radius, angularDecelaeration = frictionTorque/wheel_moi;
#print(angularAcceleration);
#print("de"~angularDecelaeration);
diff --git a/followme_e-tron.xml b/followme_e-tron.xml
index c9a02c0..e7b0dba 100644
--- a/followme_e-tron.xml
+++ b/followme_e-tron.xml
@@ -90,7 +90,7 @@
0.06
5400
1600
- 0.0
+ -5
LEFT
0
@@ -105,7 +105,7 @@
0.06
5400
1600
- 0.0
+ -5
RIGHT
0
@@ -115,9 +115,8 @@
0
0.38
- 2.0
+ 3.0
2.0
- 2.0
8000
5000
0.0
@@ -130,9 +129,8 @@
0
0.38
- 2.0
+ 3.0
2.0
- 2.0
8000
5000
0.0
@@ -145,9 +143,8 @@
0
0.54
- 2.0
+ 3.0
2.0
- 2.0
8000
5000
0.0
@@ -160,9 +157,8 @@
0.66
0.54
- 2.0
+ 3.0
2.0
- 2.0
8000
5000
0.0
@@ -175,9 +171,8 @@
-0.66
0.54
- 2.0
+ 3.0
2.0
- 2.0
8000
5000
0.0
@@ -190,9 +185,8 @@
0.80
0.75
- 2.0
+ 3.0
2.0
- 2.0
8000
5000
0.0
@@ -205,9 +199,8 @@
-0.80
0.75
- 2.0
+ 3.0
2.0
- 2.0
8000
5000
0.0
@@ -220,9 +213,8 @@
0
0.62
- 2.0
+ 3.0
2.0
- 2.0
8000
5000
0.0
@@ -235,9 +227,8 @@
0.73
0.76
- 2.0
+ 3.0
2.0
- 2.0
8000
5000
0.0
@@ -250,9 +241,8 @@
-0.73
0.76
- 2.0
+ 3.0
2.0
- 2.0
8000
5000
0.0
@@ -265,9 +255,8 @@
0
0.90
- 2.0
+ 3.0
2.0
- 2.0
8000
5000
0.0
@@ -280,9 +269,8 @@
0
1.73
- 2.0
+ 3.0
2.0
- 2.0
8000
5000
0.0
@@ -295,9 +283,8 @@
0.37
1.96
- 2.0
+ 3.0
2.0
- 2.0
8000
5000
0.0
@@ -310,9 +297,8 @@
-0.37
1.96
- 2.0
+ 3.0
2.0
- 2.0
8000
5000
0.0
@@ -325,9 +311,8 @@
0.8
0.9
- 2.0
+ 3.0
2.0
- 2.0
8000
5000
0.0
@@ -340,9 +325,8 @@
-0.8
0.9
- 2.0
+ 3.0
2.0
- 2.0
8000
5000
0.0
@@ -355,9 +339,8 @@
0.94
1.05
- 2.0
+ 3.0
2.0
- 2.0
8000
5000
0.0
@@ -370,9 +353,8 @@
-0.94
1.05
- 2.0
+ 3.0
2.0
- 2.0
8000
5000
0.0
@@ -385,9 +367,8 @@
0.80
0.7
- 2.0
+ 3.0
2.0
- 2.0
8000
5000
0.0
@@ -400,9 +381,8 @@
-0.80
0.7
- 2.0
+ 3.0
2.0
- 2.0
8000
5000
0.0