Skip to content

Instantly share code, notes, and snippets.

View mileticveljko's full-sized avatar
🌱
I may be slow to respond.

mileticveljko

🌱
I may be slow to respond.
View GitHub Profile
@mileticveljko
mileticveljko / colours-old.py
Created January 21, 2024 19:31 — forked from sheljohn/colours-old.py
Print with colors in most shells (Python, standalone)
# Python 2, class
# Author: J.Hadida (jhadida87 at ggooglemail)
class ColorPrinter:
"""
Usage:
cprint = ColorPrinter()
cprint.cfg('c','m','bux').out('Hello','World!')
cprint.rst().out('Bye now...')
@mileticveljko
mileticveljko / IKP.m
Created May 13, 2022 13:14
Delta Robot 3 DoF: Inverse Kinematic Problem (DKP)
% Resavanje IKP
function [q1,q2,q3] = IKP(x,y,z)
L1 = 62.2;
L2 = 173.6;
R = 209.25/2;
r = 128.74/2;
gama1 = 0;
gama2 = 2/3*pi;
gama3 = 4/3*pi;
@mileticveljko
mileticveljko / DKP.m
Last active May 13, 2022 13:13
Delta Robot 3 DoF: Forward (Direct) Kinematic Problem (DKP)
%Resavanje DKP
function X = DKP(q1,q2,q3)
L1 = 62.2;
L2 = 173.6;
R = 209.25/2;
r = 128.74/2;
gama1 = 0;
gama2 = 2/3*pi;
gama3 = 4/3*pi;