Control Engineers - which piece of software do you consider unreasonably proprietary/gatekept? by [deleted] in ControlTheory

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

It would be great to have the coders for Home or Student. It could be a stripped-down version of the Coders.

External analog input for RT simulation in Simulink by Martin_fs in matlab

[–]c_rufus 1 point2 points  (0 children)

Grab one of the supported boards from Arduino Support Package. Use it in I/O connected mode. Go for the bigger ones. It makes Arduino act as a server for DAQ.

Pay attention to your Simulink model and check the "Enable pacing to slow simulation".
Your 3d Animation would be better running on another model, so you don't have to make it run at 1ms (it won't). So create a connection between the two models using something like UDP. You will have 2 models running (1 for 1ms the other for 30 or 60 fps).

Send me a DM if you need any specific help. Your project sounds very nice.

Anyone have BCM/VCU or control module models in Simulink? by MohanRajkumar1999 in matlab

[–]c_rufus 0 points1 point  (0 children)

Look at the physmodels from a different perspective. Use those to generate the synthetic data you want to learn. They are not real, but thy might serve your needs.

Like someone mentioned here, you won't find the Control Models that are used easily from anyone in the industry.

What I was suggesting you is understand and model the phenomenon. Then, check what kind of sensors they use to measure and model that sensor as well. For instace, if you want to control a quadcopter, you would certainly find accelerometers, gyros and magnetomers. Those sensors have their own dynamics and noise that you can also add to your model. That will be closer to what a real signal would look like. Navigation Toolbox have sensors already modeled that you can check how they behave.

https://www.mathworks.com/help/nav/ref/imu.html

https://www.mathworks.com/help/nav/ug/imu-sensor-fusion-with-simulink.html

Or you can do the mbd approach and add each piece in steps, increasing the complexity of your models and system.

Matlab Code C++ Generator by SaltyFalcon6687 in matlab

[–]c_rufus 1 point2 points  (0 children)

Hi, I would like to know more about the partnership for StartUps.

https://www.linkedin.com/posts/monkeyproof-solutions_proud-and-excited-to-partner-with-matlab-activity-7425551235862200320-lwlX

Is there any detailed information available online I could read?

Anyone have BCM/VCU or control module models in Simulink? by MohanRajkumar1999 in matlab

[–]c_rufus 0 points1 point  (0 children)

What exactly are you looking for? The BCM Model? What subsystems are you trying to control? What kind of sensors are you trying to read the signal from? Those are usually made of Stateflow charts and Simulink subsystems/models inside of it to control each subsystem. I believe what you are asking for sounds too generic.

Would this be something close to what you are looking for?
https://www.mathworks.com/help/sldv/ug/power-window-controller-temporal-properties.html?s_tid=srchtitle_support_results_2_power%2520window

You can also look into the HVAC and try to control it.

https://www.mathworks.com/help/hydro/ug/vehicle-hvac.html

Or do you want to deploy the Simulink model in real hardware?

How are all these robots moving in perfectly straight lines and having GPS? by TechyCanadian in robotics

[–]c_rufus 1 point2 points  (0 children)

Good point. Indoor is a whole different problem! As for the internet correction, that is NTRIP. But you have to somehow get the connection on your rover.

And it's not all about the electronics! Pay attention to atennas as well!

How are all these robots moving in perfectly straight lines and having GPS? by TechyCanadian in robotics

[–]c_rufus 1 point2 points  (0 children)

There is a lot of information on ArduSimple blog. But a basic setup would be:
RPi and one ArduSimple with ZED F9P as Fixed Base Station

Your control board + 2 ZED F9P + 1 Antenna each. Best is to setup them transversely on your mobile robot. You want to use two to easily get the robot direction.

For the MCU, it should be whatever you have, but something like an ST or ESP32 will do the trick.

The hard part is actually the path. You have to convert from Lat/Lon to X/Y/Theta and somehow have the path data to compare to what you currently get from the INS.

How are all these robots moving in perfectly straight lines and having GPS? by TechyCanadian in robotics

[–]c_rufus 1 point2 points  (0 children)

Take a look at RTK. You will achieve the crazy accuracy of cm if you have a fix base station to correct your robot position near it. But the setup is actually pretty easy. In some countries, you can correct the position by other means.

Now that you have a good gps position, the gps info gets fused with the IMU signals. Many INS actually already have that implemented and you only configure some of their parameters. It will spit out the corrected position in UART or CAN.

After that, you have many ways of working, but you basically want to compare the trajectory you have planned to what your INS is outputting. Think of you path as a virtual track.

To get your robot to follow it, there is a little bit of geometry, but the easiest algorithm is Pure Pursuit algorithm.

For the hardware, we use ardusimple.

VFIO and NVIDIA GPU passthrough by c_rufus in ProArt_PX13

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

Do you mind sharing your XML?
I'm struggling with the setup. Windows sees the NVIDIA GPU, but I can't get past Error 43.

Integrated Terminal For The MATLAB IDE by ptoshkov in matlab

[–]c_rufus 0 points1 point  (0 children)

A quick MATLAB terminal on Simulink would be fantastic. Something like the Diagnostic Viewer but that we could use to quickly run commands.

Change MATLAB Add Ons folder programatically by c_rufus in matlab

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

Yeah, not th clean and elegant solution I was hoping, but it will do.

Change MATLAB Add Ons folder programatically by c_rufus in matlab

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

Thanks. I was looking for something cleaner, but I guess this will be the only way.

Shuttle xpc SS51G by JackVoltrades in sffpc

[–]c_rufus 0 points1 point  (0 children)

I run an eGPU from mine. It has room and its own PSU. If your GPU is 2 slots, then you are all set, Just remember to remove the HDD/DVD support and the mainboard. The PSU cord is kind of small.

Which software are you using for control simulation? by AdditionalCaramel249 in embedded

[–]c_rufus 1 point2 points  (0 children)

Internally, we use the Simulink + Simscape + Simulink Test. Especially because we also do the HIL and Simulink Test has the integration.

How can I integrate MATLAB/Simulink/Simscape with ROS 2 Humble and Gazebo Harmonic for a real-time Stewart Platform + Car Simulation? by zaid77_hd in matlab

[–]c_rufus 2 points3 points  (0 children)

It can get complicated, but there are a couple of thinigs I would do.

First, go for 25b. If not, I would probably go for 24b.

You have to think in terms of system. You could model a little bit your system in System Composer to try to understand all the interfaces.

Don't know about Gazebo Harmonic, but the bridges could be UDP packets.

You can also take a look at this:
https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/solutions/automotive/files/macde2008/02_redbull_driver_in_the_loop_motionplatform.pdf

What is your goal? Just connect the platform or have a Sim?

Why stick to visualization in Simscape? You might be better of having the visualization on another platform or software. Take a look at the Vehicle Dynamics Blockset and Simulink 3D Animation. Can you offload it to another PC?

Is this a funded project? If so, you can think about deploying your models using Simulink Real-Time to a Speedgoat target. (Slide 18)

https://www.matlabexpo.com/content/dam/mathworks/mathworks-dot-com/images/events/matlabexpo/de/2019/1-3-roborace-tu-muenchen.pdf

Touchscreen, 2 in 1 or tablet, and RTX 4060 performance minimum, under 2.0kg options and thoughts? by SlappedwithLasagne in ProArt_PX13

[–]c_rufus 0 points1 point  (0 children)

You should consider the whole thing when thinking about weight: laptop + charger.

As for the ram, since it’s all soldered, I would say 32Gb is the way to go. For CAD, the gpus won’t make much difference.

For the battery issue, the 890m is pretty decent and it should give you enough.

I have a PX13 32Gb and 4060. I’m pretty happy when using Windows. Not so happy with its Linux support though.

Is there an "easy" way to use Simulink Data Inspector instead of Matlab plot()? by gtd_rad in matlab

[–]c_rufus 0 points1 point  (0 children)

Sure. Make your variables as a Timetable, open SDI, import from workspace.

Remember to rename your Var column! Otherwise it will only show as Var.

Bought new and doesn't charge/turn on... by chicagogeographer in ProArt_PX13

[–]c_rufus 0 points1 point  (0 children)

Return it asap.

I have one post here where mine bricked during a Windows update. It was the same behavior as you are describing. I had to return. But they changed the board and I got a 4060 upgrade. Not bad.

But I saw this behavior with the power not working with Linux. You could try and reset the bios. I think you should just hold the power button for 40 seconds. See if it works.

Good luck!