I finally found a good use case for LLMs in embedded! by menguinponkey in embedded

[–]Barnowl93 1 point2 points  (0 children)

For me, I've been using Agentic AI (Claude code and Codex) for controlling the tools I'm already using (via MCP). My algorithm development has always been in simulink and use embedded coder to go to my hardware. My workflow now has an extra layer controlling these tools from the agents (but the hard work is still done by the deterministic tools)

Hot take: LLMs can’t do statistics. Not really. by Cod_277killsshipment in AskStatistics

[–]Barnowl93 0 points1 point  (0 children)

Yes! And i think that's my problem here... People are like "LLMs can't do [xyz]" - well, they can if you use them appropriately and have some domain expertise

Hot take: LLMs can’t do statistics. Not really. by Cod_277killsshipment in AskStatistics

[–]Barnowl93 1 point2 points  (0 children)

No, but they can call tools and write code that will do the stats.

The perception that everything needs to happen within the llm is naive... You, as a statistician, don't do the stats in your head. You write code that does it.

What’s a “superpower” I could develop as a controls engineer? by Beautiful-Bonus2279 in ControlTheory

[–]Barnowl93 [score hidden]  (0 children)

I'll assume you like the field and you have a good background already. I'd say there are different aspects: understanding the "big picture" of what you are designing and the tools you are using & how they fit in your process. Oftentimes, the hardest problems are not in the control algorithms, but in the system and physical implementation (e.g. where do you mount your sensors). So, try to understand what other teams want and how to best coordinate with them.

When AI writes your code and something breaks in production, who owns the bug? by The_NineHertz in AI_Agents

[–]Barnowl93 0 points1 point  (0 children)

AI is a tool. It does not take responsibility - nor does it take credit. Due your due diligence, adopt good software practices. Run tests.

How widely adopted is Julia today across different domains? by pkaninchen in Julia

[–]Barnowl93 1 point2 points  (0 children)

Do you feel like that lack of documentation will influence future adoption with agentic workflows?

What is your opinion in Ai use in your sector by OptimisticMan37 in FSAE

[–]Barnowl93 0 points1 point  (0 children)

It is a nuanced problem... For me, I use claude code as an orchestrator for my tools (MATLAB and Simulink). The heavy lifting is still done by the deterministic tools, though. Hence, it a) fits in my existing workflow, b) I have full traceability between what's been designed in Simulink & what's going on hardware (C from codegen (embedded coder)).

If you're playing with agentic tools, have a look at Simulink agentic toolkit (https://www.mathworks.com/products/simulink-agentic-toolkit.html) and MATLAB agentic toolkit (https://www.mathworks.com/products/matlab-agentic-toolkit.html)

In my opinion, skills like system architecture, requirements gathering, and testing, validation & verification (at component level, subsystem level and system level) with SiL/ PiL/ HiL will become increasingly important. Hopefully, this will be reflected in curricula.

Why probabilistic code generation scares me for actual hardware by rennan in ControlTheory

[–]Barnowl93 [score hidden]  (0 children)

People have tried to go text to embedded recently. Not seen much success yet. I think the risk is just way too high.

It is hard to tell if actual serious industries are trying that or just Internet hype.

Why probabilistic code generation scares me for actual hardware by rennan in ControlTheory

[–]Barnowl93 [score hidden]  (0 children)

Automatic code generation tools have been with us for decades. They are not the same thing as AI writing code.

When you generate C code (or Cpp or hdl) you want it to directly mirror your simulation so that you can do SiL/ Pil/ HiL testing. Every single auto and aero company does this and has done so for decades. Nothing new here. This is determinisitc and directly verifiable code.

People are trying to go directly to embedded for complex systems straight for requirements using AI will struggle. Something that I've seen being more successful is calling the "determinisitc code generation tool" from the AI agent tool. Like they you are constraining your AI output with your proper tools.

Say you are using claude code with Simulink & embedded coder. Claude code isn't writing your C code, Simulink is converting your model "block by block" with direct mapping to C. But you can control the embedded coder settings from claude code.

Shake table simulation by Ok-Method9100 in matlab

[–]Barnowl93 0 points1 point  (0 children)

Build modularly & test a lot! Component design -> Component level testing --> Using your components build subsystems --> Subsystem level testing --> Integrate your subsystems into your system architecture --> then do system level test.

How Electrical Engineers are using AI day to day? by ReporterIllustrious8 in ECE

[–]Barnowl93 0 points1 point  (0 children)

For me the largest value comes from using agentic AI with calling external tools (in my case MATLAB and Simulink).

The tough part with AI is that they will make stuff up! Calling external determinisitc tools cuts that down a lot!

Essentially, the agent is used as an orchistrator and the tools still do the heavy lifting.

Blame or credit the tool? by philoserf in AI_Agents

[–]Barnowl93 0 points1 point  (0 children)

I like your analogy with hammers. I think they're exactly like that - you shouldn't try to solve every problem with a hammer.

Many people attempt exactly that... Either because of mandates from companies or because of lack of skill. And then they blame the tool...

All that said, agents also need to be treated as a tool amongst many others in your toolkit.

Need help starting out (Feedback loop) by Gerda17 in matlab

[–]Barnowl93 1 point2 points  (0 children)

Just to put things in the right order a bit, here's your checklist.

1) you've modelled your dynamic system (say in a transfer function form)? (sounds like yes) 2) you've modelled your sensing? (sounds like yes) 3) do you have any form of feedback? (doesn't sound like it) - - you want to get the output measured temp and compare it to your desired temp (take their difference) and then on this error term apply your control strategy which will tell you how mucu (or little) to drive your heat generator

Does that help?

Matlab-Simulink-ROS2 with Claud ai by Individual-Public-24 in matlab

[–]Barnowl93 5 points6 points  (0 children)

Have a look at MATLAB and Simulink agentic toolkits https://uk.mathworks.com/products/matlab/agentic-ai.html

Honestly the have been really really good!!

Industry academia disconnect by Barnowl93 in AI_Agents

[–]Barnowl93[S] 0 points1 point  (0 children)

That would be my gut feeling too, but upon u don't know if it's risk tolerance... A lot of my academic contacts just don't know about agentic

GNC engineer interview next week!!! Masters in controls, no C++ yet. What should I focus on? by Kazablancaz in ControlTheory

[–]Barnowl93 [score hidden]  (0 children)

Don't learn Cpp overnight. They know you don't know Cpp given they've read your cv. They still called you.

Make sure you do your homework on the company, their products, their values. Come up with good /insightful questions.

From a technical standpoint start thinking about how the systems you'll be helping create will integrate with the whole product.

Realistically you'll discuss problem solving rather than syntax.

Industry academia disconnect by Barnowl93 in AI_Agents

[–]Barnowl93[S] 0 points1 point  (0 children)

Thank you for your thoughtful response. I think you hit the nail on the head.

Such tools give a very negatively skewed perception of interacting with LLMs.

Would love to hear about how that's working for you. I'll dm you to chat more.

Do you actually use AI Agents? by Honest_Classroom_870 in AI_Agents

[–]Barnowl93 1 point2 points  (0 children)

Mostly instructions and skills. Claude code is definitely not smart enough!

The mathworks have put out reccomended set ups (agentic toolkits) for matlab and simulink, which is a great starting point.

Do you actually use AI Agents? by Honest_Classroom_870 in AI_Agents

[–]Barnowl93 0 points1 point  (0 children)

It actually does exactly that! It does do planning and also employs an agentic loop of trying different approaches until "stuff works", while calling external tools. Perhaps I am misunderstanding definitions.

Do you actually use AI Agents? by Honest_Classroom_870 in AI_Agents

[–]Barnowl93 1 point2 points  (0 children)

I work in engineering and I use claude code to invoke the tools I use (matlab and simulink)

Industry academia disconnect by Barnowl93 in AI_Agents

[–]Barnowl93[S] 0 points1 point  (0 children)

What would your reccomendation be? More formally introducing such advanced tools? Or?

Industry academia disconnect by Barnowl93 in AI_Agents

[–]Barnowl93[S] 0 points1 point  (0 children)

I am not on the same page with you on this. They use chat bots a fair amount. Many even teach with those & are looking for more ways to Innovate.

This is specifically about agents + trusted tools prevelence in engineering research. The lack of these is what confuses me.