JoePfeiffer
7a2ede6e24
Use current atmospheric conditions, not previous conditions, in calculating thrust.
...
This lets us get rid of previousAtmosphericConditions completely.
Note that while we pass acceleration and atmospheric conditions into calculateAverageThrust(), we don't actually do anything with them there. They appear to be passed in for some sort of eventual enhancements when we do things like altitude compensation for motors, or acceleration for hybrids or water rockets.
It also turned out that while we called getPreviousAtmosphericConditions() when call ing calculateAverageThrust(), setPreviousAtmosphericConditions() was never called.
2023-09-26 14:46:09 -06:00
JoePfeiffer
65b36af180
cleaned up FlightEventsTest by
...
(1) creating a CompareEvents() method called by both testSingleStage() and testMultiStage() to get rid of duplicate code; also made creation of expected events in testSingleStage() cleaner
(2) tied required time accuracy of events that depend on one of the simulationsteppers to the simulation timestep. This also let us go back to testing time on all events.
2023-09-24 16:37:43 -06:00
JoePfeiffer
1b29a6b767
Testing time on events that are determined by simulation steppers shouldn't be
...
more precise than the simulation time step.
2023-09-23 14:23:59 -06:00
JoePfeiffer
faa7c03308
Make store persistent instead of creating a new one every step()
...
Use timestep remaining in store instead of getPreviousTimeStep() and setPreviousTimeStep()
2023-09-23 14:19:59 -06:00
Sibo Van Gool
c5dd5de96b
Merge pull request #2309 from SiboVG/fix-darklaf-metakeys
...
Update darklaf to support JTable cmd-clicking on macOS
2023-08-27 20:45:35 +01:00
SiboVG
dec58452d4
Update darklaf to support JTable cmd-clicking on macOS
2023-08-27 20:42:10 +01:00
Sibo Van Gool
f7b20a5df7
Merge pull request #2304 from SiboVG/issue-2204
...
[#2204 ] Make flight config naming substitution code more general + add "Cases" substitution
2023-08-27 00:48:15 +02:00
Sibo Van Gool
5eb6507401
Merge pull request #2305 from SiboVG/issue-2303
...
[#2303 ] Copy raw name from flight config
2023-08-25 11:43:00 +02:00
SiboVG
9ff699bcbc
[ #2303 ] Copy raw name from flight configf
2023-08-25 11:41:42 +02:00
SiboVG
93e0ae1dcb
GRRRR, ASCII....
2023-08-25 01:00:23 +02:00
SiboVG
db61dec547
Fix bug
2023-08-25 00:39:11 +02:00
SiboVG
eb549ceb19
Add extra unit tests for case flight config sub
2023-08-25 00:39:04 +02:00
SiboVG
41b6c87550
Add case info to test motors
2023-08-25 00:38:45 +02:00
SiboVG
2c750498bb
Update rename dialog to include cases info
2023-08-25 00:04:06 +02:00
SiboVG
e72870c306
Eujj, add custom separator support :))
2023-08-25 00:00:14 +02:00
SiboVG
ccffffa186
[ #2204 ] Big rewrite of motor config substitutor to make it general + add cases
2023-08-24 23:34:18 +02:00
Joe Pfeiffer
c49e859eba
Merge pull request #2297 from JoePfeiffer/always-extras
...
Remove capability to not compute and save "extra" simulation parameters
2023-08-22 15:25:36 -06:00
Sibo Van Gool
ba67e72e59
Merge pull request #2299 from SiboVG/issue-2295
...
[#2295 ] Use component color for sticker edge mode
2023-08-21 01:33:49 +02:00
Sibo Van Gool
381822ae81
Merge pull request #2300 from SiboVG/issue-2298
...
[#2208 ] Fix manufacturers' list in dark theme
2023-08-21 01:33:23 +02:00
SiboVG
d3158c9046
Add border to manufacturers list
2023-08-21 01:26:02 +02:00
SiboVG
5e8879315c
[ #2208 ] Don't override important methods
...
F**k performance, this caused me a lot of debugging trouble :(
2023-08-21 01:23:02 +02:00
SiboVG
a016d2b87c
Fix color of number of motors (whoops...)
2023-08-20 12:09:37 +02:00
SiboVG
cd742ba171
Fix borders in motor selection table
2023-08-20 12:01:53 +02:00
SiboVG
6fc7999c58
[ #2295 ] Use component color for sticker edge mode
2023-08-20 00:16:17 +02:00
JoePfeiffer
f67f1f6e4c
Remove capability to not compute and save "extra" simulation parameters
2023-08-19 10:14:16 -06:00
Sibo Van Gool
50f72024c7
Merge pull request #2294 from SiboVG/detect-LAF
...
Auto-detect UI theme based on OS preference
2023-08-18 00:19:45 +02:00
SiboVG
b1d0f8933b
Auto-detect UI theme based on OS preference
2023-08-16 21:20:00 +02:00
Joe Pfeiffer
50d3871e34
Merge pull request #2265 from SiboVG/issue-2252
...
[#2252 ] Support for canted fins in fin marking guide
2023-08-15 10:10:56 -06:00
SiboVG
4ff924c76a
Mark true canted fin fore end
2023-08-09 02:08:34 +02:00
SiboVG
2e73e56d65
Merge branch 'unstable' into issue-2252
2023-08-09 01:58:29 +02:00
Sibo Van Gool
e2993a68f9
Merge pull request #2261 from SiboVG/dark-theme
...
[#1089 ] Add dark mode theme & custom UI font size
2023-08-09 01:56:23 +02:00
SiboVG
7a1711d750
Increase font size range
2023-08-09 01:31:28 +02:00
Sibo Van Gool
6bc477f478
Merge pull request #2285 from SiboVG/issue-2283
...
[#2283 ] Apply radial positioning to non-single cluster
2023-08-08 02:06:26 +02:00
Sibo Van Gool
e0c6812087
Merge pull request #2284 from SiboVG/issue-2282
...
[#2282 ] Update shoulder diameter when transition diameter changes
2023-08-08 02:05:58 +02:00
Sibo Van Gool
0cbbddbe52
Merge pull request #2287 from SiboVG/issue-2286
...
[#2286 ] Fix fin tab face culling
2023-08-05 21:12:01 +02:00
SiboVG
8abb9d38f7
[ #2286 ] Fix fin tab face culling
2023-08-05 21:02:31 +02:00
SiboVG
4cf787ec4a
Fix unit tests due to bad Falcon9 example rocket
2023-08-04 13:05:58 +02:00
SiboVG
1745d9ea4e
Slight reordering
2023-08-04 13:05:41 +02:00
SiboVG
8ff9c4bac3
Fix incorrect shoulder radius
2023-08-04 12:53:23 +02:00
SiboVG
734677ee8f
[ #2283 ] Apply radial positioning to non-single cluster
2023-08-04 12:40:15 +02:00
SiboVG
a514f6b598
Add tooltip text to cluster configurations
2023-08-04 11:32:18 +02:00
SiboVG
985e646df3
[ #2282 ] Update shoulder diameter when transition diameter changes
2023-08-04 11:28:48 +02:00
Sibo Van Gool
2e77780241
Merge pull request #2280 from SiboVG/issue-2279
...
[#2279 ] Change transition 3D fine-rendering based on aft/fore
2023-08-01 01:58:30 +02:00
SiboVG
09a75af526
[ #2279 ] Change transition 3D fine-rendering based on aft/fore
2023-08-01 01:58:00 +02:00
Sibo Van Gool
596380203e
Merge pull request #2275 from SiboVG/apply-copy-sim
...
Big cleanup of simulation table actions
2023-07-31 15:47:50 +02:00
Sibo Van Gool
454980cbfe
Merge pull request #2277 from SiboVG/issue-2276
...
[#2276 ] Don't check for inline if grandparent is this component
2023-07-31 15:34:25 +02:00
SiboVG
35a91b4654
Only check if radius is automatic
2023-07-30 00:02:56 +02:00
SiboVG
9183bde51e
[ #2276 ] Don't check for inline if grandparent is this component
...
This was a sneaky bug... Basically, if getAutoRadius was called on e.g. a body tube, which eventually ended in the `inline` call, and candidate.parent.parent was this component, then the getRadius method would cause an infinite loop (stackoverflow), because it calls getAutoRadius
2023-07-29 23:13:07 +02:00
SiboVG
1d89b9ba4f
Show UI restart warning label when font size changes
2023-07-29 04:01:33 +02:00
SiboVG
12265308ec
Add command line option to change theme
...
This is really just a failsafe in case the dark theme cause OR to crash
2023-07-29 03:42:31 +02:00