I reorganized my control and robotics course materials into a free GitHub repository
▲ 127 r/ControlTheory+4 crossposts

I reorganized my control and robotics course materials into a free GitHub repository

I recently made a major update to my Control and Robotics learning repository and decided to keep the course materials freely accessible.

The repository now includes structured course folders with standalone HTML lecture pages, mathematical explanations, diagrams, and companion code examples for many lessons. The topics cover areas such as:

  • Linear control
  • Modern control
  • System dynamics
  • Robot kinematics and dynamics
  • Robot control
  • Advanced robotics
  • Autonomous mobile robots

For some lessons, the code examples are provided in different languages/environments such as Python, C++, Java, MATLAB, and Wolfram/Mathematica, so the material can be studied from both the theory and implementation side.

Repo: https://github.com/mohammadijoo/Control_Robotics_Lab

I’m sharing it here in case it is useful for students, instructors, or self-learners working through control systems and robotics topics. I would also appreciate feedback, especially if you notice mistakes in equations, explanations, code examples, structure, or missing topics that would make the material more useful.

u/abolfazl1363 — 1 day ago
▲ 14 r/ScientificComputing+3 crossposts

Benchmarking MATLAB ODE solvers: what metrics matter beyond final-time error?

I am working on a MATLAB benchmark for numerical integration methods, and I am trying to make the comparison more useful than simply measuring final-time error.

The current benchmark cases are:

  • scalar linear test equation for basic stability behavior
  • harmonic oscillator for phase error and energy drift
  • Van der Pol oscillator for nonlinear stiffness
  • Lorenz system for chaotic sensitivity
  • Robertson chemical kinetics for stiff reaction dynamics and positivity
  • Kepler two-body problem for long-time orbital behavior

The metrics I am comparing are:

  • error against a high-accuracy reference solution
  • CPU time
  • work-precision behavior
  • behavior under larger step sizes
  • stiffness handling
  • energy or invariant drift
  • positivity preservation
  • qualitative trajectory behavior

My main question:

For people who use MATLAB ODE solvers in simulation work, what benchmark problems or metrics would you add?

I am especially interested in whether symplectic methods should be included separately for conservative systems such as the harmonic oscillator and Kepler problem, since standard Runge-Kutta methods may look accurate over short times but still show long-time energy drift.

The MATLAB code is here:
https://github.com/mohammadijoo/DifferentialEquationIntegratorBenchmarks_MATLAB

Any technical feedback on the benchmark design, solver selection, or plotting style would be appreciated.

reddit.com
u/abolfazl1363 — 18 days ago
▲ 65 r/raylib+4 crossposts

I built a Java 3D simulation of a 3-DOF robot arm with analytic inverse kinematics

Hi everyone,

I built a small open-source Java project for simulating a 3-DOF robot manipulator in 3D.

The goal is educational: to show how forward kinematics, analytic inverse kinematics, workspace reachability, and a simple pick-and-place loop can be implemented without relying on a large robotics framework.

The project includes:

  • 3-DOF fixed-base manipulator simulation
  • Base yaw + two pitch joints
  • Forward kinematics and analytic IK
  • Reachability checks for start/goal points
  • Linear end-effector trajectory
  • Pick-and-place visualization
  • Java 17 + Gradle
  • 3D rendering using Jaylib / raylib

I made a short version of the simulation video for this post. The full implementation video is here:
https://www.youtube.com/watch?v=yRhjgnCVnTQ

Source code:
https://github.com/mohammadijoo/Manipulator3D_Java

I’m sharing it mainly for technical feedback, not as a commercial project. I’d appreciate comments on the IK formulation, simulation structure, visualization, and what features would make it more useful for robotics/control/mechanical engineering students.

u/abolfazl1363 — 22 days ago
▲ 12 r/learnmachinelearning+2 crossposts

I’m building a free bilingual machine-learning notebook course — looking for feedback on structure and coverage

Hi everyone,

I’m building an open-source machine-learning tutorial repository in Jupyter Notebook format:

https://github.com/mohammadijoo/Machine_Learning_Tutorials

The course is bilingual: English and Persian/Farsi versions are organized in parallel. The goal is to make a practical, notebook-first ML curriculum that students can run locally and study step by step.

Current focus areas include:

  • ML foundations and workflow
  • data cleaning, preprocessing, feature engineering
  • regression and classification
  • tree models and ensembles
  • clustering and dimensionality reduction
  • evaluation, cross-validation, calibration
  • time series, anomaly detection, responsible ML, and MLOps concepts
  • datasets and exercises for hands-on practice

I would appreciate feedback on:

  • whether the chapter order makes sense for beginners
  • what important classical ML topics are missing
  • whether bilingual notebooks are useful for non-native English learners
  • how to make the notebooks more practical without turning them into only “copy/paste code”

I’m sharing this as a free educational resource and would value constructive criticism.

u/abolfazl1363 — 22 days ago
▲ 1 r/EngineeringStudents+1 crossposts

I built an interactive four-bar linkage simulator for mechanism/kinematics learning — feedback welcome

Hi everyone,

I built an open-source browser-based simulator for a four-bar linkage mechanism:

https://github.com/mohammadijoo/Four-Bar-Linkage-Mechanism

The idea is to make a simple visual tool for students learning mechanism design, planar kinematics, and linkage motion. The simulator is written in HTML, CSS, and JavaScript, so it can be opened directly in the browser.

I’m interested in feedback from mechanical engineering / robotics people on:

  • whether the current visualization is useful for understanding four-bar motion
  • what parameters should be exposed more clearly
  • whether I should add velocity/acceleration analysis
  • whether coupler curves, Grashof condition checks, or singularity warnings would make it more educational
  • what features would make it better for classroom demonstrations

I’m not selling anything; I’m sharing the source and would appreciate technical suggestions.

u/abolfazl1363 — 22 days ago
▲ 2 r/ControlTheory+2 crossposts

I built an interactive double-pendulum chaos simulator in HTML/CSS/JS — looking for feedback on the physics and visualization

Hi everyone,

I built a small open-source web simulation of a double pendulum to demonstrate chaotic motion and sensitivity to initial conditions.

Repo:
https://github.com/mohammadijoo/Double-Pendulum-Chaos-Mechanism

The goal is educational: a browser-based demo that lets students or beginners see how a simple mechanical system can produce complex, chaotic behavior. It is written with HTML, CSS, and JavaScript, so it can run without installing a physics engine.

I would appreciate feedback on:

  • whether the visualization explains chaotic behavior clearly
  • whether the equations / numerical integration could be improved
  • what parameters or plots would make the simulator more useful for control, robotics, or physics students
  • whether adding energy plots, phase portraits, or Lyapunov-style divergence visualization would be useful

I’m sharing it mainly for technical feedback, not as a commercial project.

u/abolfazl1363 — 22 days ago
▲ 10 r/robotics+1 crossposts

Swarm Robotics: a beginner-friendly lecture on coordination, decentralization, and collective behavior

I made a chapter in my Advanced Robotics course about swarm robotics, focusing on the main ideas behind multi-robot coordination rather than treating it as just a buzzword.

The video covers topics like:

  • what makes a robot group a “swarm”
  • decentralized vs. centralized coordination
  • local rules and emergent global behavior
  • examples inspired by ants, birds, and collective systems
  • why scalability and robustness are important in swarm robotics

I’m sharing it as a learning resource for students or beginners who are trying to understand where swarm robotics fits inside robotics and multi-agent systems.

Video: https://www.youtube.com/watch?v=EXH3NpsKtUc

I also keep the related course materials and source codes here, for anyone who prefers to learn by reading or experimenting with code:
https://github.com/mohammadijoo/Control_and_Robotics_Tutorials

For people working in robotics/control: what topics do you think should be added to make a swarm robotics lecture more useful — communication models, formation control, task allocation, path planning, or real hardware examples?

youtube.com
u/abolfazl1363 — 24 days ago
▲ 13 r/robots+3 crossposts

I built a Four-Bar Linkage Mechanism Simulator in Haskell Programming Language

I built a Four-Bar Linkage Mechanism Simulator in Haskell.

It is an interactive engineering simulation with adjustable link lengths, real-time animation, play/pause control, speed control, and visualization of the mechanism geometry.

GitHub:
https://github.com/mohammadijoo/Four-Bar-Mechanism-Haskell

My goal was to explore Haskell for an engineering-style graphical simulation, not only for typical functional programming examples.

I would appreciate feedback on:

  • code structure
  • idiomatic Haskell style
  • GUI/event handling
  • animation/state management
  • possible improvements

Thanks.

u/abolfazl1363 — 25 days ago
▲ 36 r/DifferentialEquations+2 crossposts

I made an introductory lecture on linear control systems — looking for feedback

Hi everyone,

I made an introductory lecture on Linear Control Systems and wanted to share it with this community:

https://www.youtube.com/watch?v=m-bV-HJoaus

It is aimed at beginners and is meant to introduce the basic motivation and structure of linear control before moving into modeling, feedback, stability, and controller design.

I’d appreciate any technical feedback on the explanation, topic order, or examples that would make the course more useful.

youtube.com
u/abolfazl1363 — 27 days ago
▲ 15 r/haskell

I built a Four-Bar Linkage Mechanism Simulator in Haskell

I built a Four-Bar Linkage Mechanism Simulator in Haskell.

It is an interactive engineering simulation with adjustable link lengths, real-time animation, play/pause control, speed control, and visualization of the mechanism geometry.

GitHub:
https://github.com/mohammadijoo/Four-Bar-Mechanism-Haskell

My goal was to explore Haskell for an engineering-style graphical simulation, not only for typical functional programming examples.

I would appreciate feedback on:

  • code structure
  • idiomatic Haskell style
  • GUI/event handling
  • animation/state management
  • possible improvements

Thanks.

youtube.com
u/abolfazl1363 — 28 days ago
▲ 42 r/prolog

I built a double pendulum chaos simulator in Prolog

I built a double pendulum chaos simulator in Prolog as an educational experiment in nonlinear dynamics and logic programming.

The goal was to visualize chaotic motion and show how small changes in initial conditions can lead to very different trajectories.

GitHub:
https://github.com/mohammadijoo/Prolog-Double-Pendulum-Chaos-Simulator

YouTube Full Demo Link:

https://www.youtube.com/watch?v=zEW85YJZ6oA

I would appreciate feedback from people interested in Prolog, physics simulation, chaos theory, or educational scientific software.

u/abolfazl1363 — 29 days ago