Put the loadMotor() method back since it is useful to python bindings.
This commit is contained in:
parent
538fa66415
commit
1ee93fdab0
@ -113,10 +113,8 @@ public class Startup2 {
|
|||||||
// Load motors etc.
|
// Load motors etc.
|
||||||
log.info("Loading databases");
|
log.info("Loading databases");
|
||||||
|
|
||||||
ConcurrentLoadingThrustCurveMotorSetDatabase motorLoader = new ConcurrentLoadingThrustCurveMotorSetDatabase(THRUSTCURVE_DIRECTORY);
|
loadMotor();
|
||||||
motorLoader.startLoading();
|
|
||||||
Application.setMotorSetDatabase(motorLoader);
|
|
||||||
|
|
||||||
Databases.fakeMethod();
|
Databases.fakeMethod();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@ -137,6 +135,14 @@ public class Startup2 {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* this method is useful for the python bindings.
|
||||||
|
*/
|
||||||
|
public static void loadMotor() {
|
||||||
|
ConcurrentLoadingThrustCurveMotorSetDatabase motorLoader = new ConcurrentLoadingThrustCurveMotorSetDatabase(THRUSTCURVE_DIRECTORY);
|
||||||
|
motorLoader.startLoading();
|
||||||
|
Application.setMotorSetDatabase(motorLoader);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check that the JRE is not running headless.
|
* Check that the JRE is not running headless.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user