vault backup: 2025-06-24 16:23:59
Affected files: .obsidian/plugins/text-extractor/cache/3cb8c5e98cc424e39544fdcba25fdd22.json .obsidian/workspace.json 99 Work/0 OneSec/OneSecThoughts/Status Quo OneSec.md Attachments/Pasted image 20250624161349.png
This commit is contained in:
1
.obsidian/plugins/text-extractor/cache/3cb8c5e98cc424e39544fdcba25fdd22.json
vendored
Normal file
1
.obsidian/plugins/text-extractor/cache/3cb8c5e98cc424e39544fdcba25fdd22.json
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"path":"Attachments/Pasted image 20250624161349.png","text":"# flightcontroller @nRs 6 : @ Messages ©Files + - . “ c Today y . Floris 12:40 @Ugur Tüzemen in your factory pattern why do you load the modules into an array and then use the array, instead or using the factory object directly? it seems quite stupid ß 1reply Today at 13:08 . Floris 12:41 (i say this looking at the code on bitbucket) . Floris 15:49 @Ugur Tüzemen no it's a very clear, simple question, please answer. (in the channel, not in a thread) (edited) a Ugur Tüzemen 15:50 (4 Ÿ What array, just send me screenshot of what part of code you're referring to because I'm not using any arrays . Floris 15:54 IMG_8811 v bool i i “ volat .1Î_runn1ng = false; // System pause/run & ile b?ol control_update_flag = false; // oat previous_ch5_value = 0.0 f; Rusing-namespace- osd; :::oî moduleLisF = faCtOFy-activeModules; 0& hardwareList = factory.hardwareDeps; //SD Logger Logging: :SDLoggerChirp sdLogger; //Hardware Timer controls IntervalTimer controlUpdateTimer; a Ugur Tüzemen 15:55 7 That's an alias in main. Instead of writing factory.activeModules.stateEstimator->function() every time, | added that line so it does the same thing by calling moduleList.stateEstimator->function() SO it's shorter, easier to read (edited) . Floris 15:57 factory.stateestimator() that's what we've been saying since the start and it's common sense why an activemodules method and an \"alias\" ? is there a reason for that? like i said it seems stupid to me (edited) am i missing something? a Ugur Tüzemen 16:00 4 3 activeModules is not a method. It's a struct that holds pointers to modules. Similar with hardware modules, flight modes, etc. Struct make it organized 2files 4 You, 4 weeks ago | 1 author (You struct FlightModules { You, 1a5t weeK | ı aumor vrou) — interfaces::IStateEstimator* stateEstimator; class FlightModeFactory { interfaces::INavigator* navigator; public: interfaces::IForceAllocator* forceAllocator; static void create_modules(FlightMode mode, const Modi interfaces::IPhysicsModel* physicsModel; interfaces: :IPropManager* propManager; static HardwareDependencies hardwareDeps; interfaces::IFLapManager* flapManager; static FlightModules activeModules; modules::AttitudeController* attitudeController; static FlightMode activeFlightMode; } . Floris 16:01 maybe i'm missing something, but this looks so retarded the entire point of the factory object is that it has getter functions for the modules that's the point of it and all our pseudocode on confluence uses the factory.stateestimator synthax (edited) c++ objects are called OBJECTS for a reason, they are not software libraries that produce objects, they are objects a Ugur Tüzemen 16:05 <4 ? Like it's literally the same, nothing different at all. The only different thing is | put modules into a struct and made it the variable of factory, instead of individually adding the modules. It's LITERALLY the same. If you want sure I'll change that, get rid of the struct and store the pointers to objects in factory directly so you can have factory.stateEstimator instead of factory.activeModules.stateEstimator sure But to be honest I'm kinda fed up with being called \"retarded\" for every different thing, even a slightest difference in writing between what you think should be and what it currently is . Floris 16:07 an object is a struct with functions the object IS the datastructure it's schyzophrenic, dumb and unnecessary to create another datastructure that copies the datastructure of the object plus again, all our pseudocode on confluence uses the factory.module synthax in the main loop, did you not see that? or did you see it and think \"no, i should create seperate array/struct that holds these modules, because xyz reason\"?","libVersion":"0.3.2","langs":"deu+eng+fra"}
|
||||||
25
.obsidian/workspace.json
vendored
25
.obsidian/workspace.json
vendored
@@ -36,23 +36,9 @@
|
|||||||
"icon": "lucide-file",
|
"icon": "lucide-file",
|
||||||
"title": "Requirements Gathering"
|
"title": "Requirements Gathering"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "84f0fd68d3885e08",
|
|
||||||
"type": "leaf",
|
|
||||||
"state": {
|
|
||||||
"type": "markdown",
|
|
||||||
"state": {
|
|
||||||
"file": "0 Journal/Meetings/17.06.2025 - Pilot Kickoff Planning.md",
|
|
||||||
"mode": "source",
|
|
||||||
"source": false
|
|
||||||
},
|
|
||||||
"icon": "lucide-file",
|
|
||||||
"title": "17.06.2025 - Pilot Kickoff Planning"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"currentTab": 2
|
"currentTab": 1
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"direction": "vertical"
|
"direction": "vertical"
|
||||||
@@ -299,11 +285,13 @@
|
|||||||
"periodic-notes:Open today": false
|
"periodic-notes:Open today": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"active": "84f0fd68d3885e08",
|
"active": "b5d9cec23d736cf3",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
|
"99 Work/0 OneSec/OneSecThoughts/Status Quo OneSec.md",
|
||||||
|
"Attachments/Pasted image 20250624161349.png",
|
||||||
|
"0 Journal/Meetings/17.06.2025 - Pilot Kickoff Planning.md",
|
||||||
"Attachments/Pasted image 20250623154221.png",
|
"Attachments/Pasted image 20250623154221.png",
|
||||||
"Temporary/Untitled 8.md",
|
"Temporary/Untitled 8.md",
|
||||||
"0 Journal/Meetings/17.06.2025 - Pilot Kickoff Planning.md",
|
|
||||||
"99 Work/0 OneSec/OneSecNotes/30 Engineering Skills/Robotics/Kalman Filter.md",
|
"99 Work/0 OneSec/OneSecNotes/30 Engineering Skills/Robotics/Kalman Filter.md",
|
||||||
"0 Journal/0 Daily/2025-06-15.md",
|
"0 Journal/0 Daily/2025-06-15.md",
|
||||||
"Attachments/Pasted image 20250612230414.png",
|
"Attachments/Pasted image 20250612230414.png",
|
||||||
@@ -322,9 +310,6 @@
|
|||||||
"Temporary/CM5 Carrier Review.md",
|
"Temporary/CM5 Carrier Review.md",
|
||||||
"Attachments/Pasted image 20250604104446.png",
|
"Attachments/Pasted image 20250604104446.png",
|
||||||
"Attachments/Pasted image 20250604104438.png",
|
"Attachments/Pasted image 20250604104438.png",
|
||||||
"Attachments/Pasted image 20250604104432.png",
|
|
||||||
"Attachments/Pasted image 20250604104428.png",
|
|
||||||
"99 Work/0 OneSec/OneSecThoughts/Status Quo OneSec.md",
|
|
||||||
"2 Personal/1 Skills/IT/Supabase Learnings.md",
|
"2 Personal/1 Skills/IT/Supabase Learnings.md",
|
||||||
"0 Journal/0 Daily/2025-05-24.md",
|
"0 Journal/0 Daily/2025-05-24.md",
|
||||||
"2 Personal/1 Skills/IT",
|
"2 Personal/1 Skills/IT",
|
||||||
|
|||||||
@@ -22,3 +22,4 @@ tags:
|
|||||||
- proper versioning would have saved time: we know what version of the simulator is compatible with what version of the flight controller code.
|
- proper versioning would have saved time: we know what version of the simulator is compatible with what version of the flight controller code.
|
||||||
- should I suggest Floris that I will take over organization of the development and take full ownership? and tell him this is the only way I will stay?
|
- should I suggest Floris that I will take over organization of the development and take full ownership? and tell him this is the only way I will stay?
|
||||||
- Lohn als dauerauftrag am 26igsten jedes Monats. Es kann nicht sein, dass ich immer am Ende des Monats mein Konto täglich checken gehe ob ich meine Rechnungen bezahlen kann.
|
- Lohn als dauerauftrag am 26igsten jedes Monats. Es kann nicht sein, dass ich immer am Ende des Monats mein Konto täglich checken gehe ob ich meine Rechnungen bezahlen kann.
|
||||||
|
- Floris kommunikation ![[Pasted image 20250624161349.png]] #osd/floris/communication_example
|
||||||
BIN
Attachments/Pasted image 20250624161349.png
Normal file
BIN
Attachments/Pasted image 20250624161349.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.7 MiB |
Reference in New Issue
Block a user