bugfix, part 3: Pod numbers now update correctly.
This commit is contained in:
parent
8371876718
commit
a3f3b3b3bb
@ -147,7 +147,7 @@ public abstract class ExternalComponent extends RocketComponent implements Outsi
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public double getAngularPosition() {
|
public double getAngularPosition() {
|
||||||
if (outside) {
|
if (this.isInline()) {
|
||||||
return 0.;
|
return 0.;
|
||||||
}
|
}
|
||||||
return this.position_angular_rad;
|
return this.position_angular_rad;
|
||||||
@ -160,7 +160,7 @@ public abstract class ExternalComponent extends RocketComponent implements Outsi
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public double getRadialPosition() {
|
public double getRadialPosition() {
|
||||||
if (outside) {
|
if (this.isInline()) {
|
||||||
return 0.;
|
return 0.;
|
||||||
}
|
}
|
||||||
return this.position_radial_m;
|
return this.position_radial_m;
|
||||||
@ -173,7 +173,7 @@ public abstract class ExternalComponent extends RocketComponent implements Outsi
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public double getRotation() {
|
public double getRotation() {
|
||||||
if (outside) {
|
if (this.isInline()) {
|
||||||
return 0.;
|
return 0.;
|
||||||
}
|
}
|
||||||
return this.rotation_rad;
|
return this.rotation_rad;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user