Skip to content

Instantly share code, notes, and snippets.

View wijiler's full-sized avatar
:shipit:
Working on Wrengine & robotics

wij wijiler

:shipit:
Working on Wrengine & robotics
View GitHub Profile

State Space Model

This is a mathematic representation of a dynamic system as a linear equation. Although there is no perfectly linear system in the real world, they work well enough as approximations and make calculations much, much easier

$$ \bar{x} = (\text{position, velocity, ...}) $$

$$ \bar{u} = (\text{motor voltage})

#[macro_use] extern crate rocket;
use rocket::Request;
#[get("/")]
fn insertfunctionnamehere() -> &'static str {
"Insert words here"
}
#[catch(404)]
fn not_found(req: &Request) -> String {
@wijiler
wijiler / main.cr
Created July 16, 2021 14:10
crystal server
require "http/server"
server = HTTP::Server.new do |context|
context.response.content_type = "text/plain"
end
address = server.bind_tcp 6969
server.listen
@wijiler
wijiler / map.txt
Created February 21, 2021 13:51
Map
<>
{tasks.map((tasks) => (<h3>{tasks.text}</h3>
))}
</>