Skip to content

Instantly share code, notes, and snippets.

View simonrozsival's full-sized avatar

Šimon Rozsíval simonrozsival

View GitHub Profile
@simonrozsival
simonrozsival / steering.ino
Created February 24, 2018 21:17
this does not work yet
/*
* Raceing car steering
* - receives commands from the '/racer/driving' topic from ROS on a Raspberry PI through serial port
* - translates throttle and steering commands into servo control
* - publishes actions in the '/racer/driving_status' channel
*/
#include <stdio.h>
#include <ros.h>
#include <geometry_msgs/Twist.h>
@simonrozsival
simonrozsival / exercise-compression.md
Last active April 23, 2017 13:13
Compression algorithm ReCodEx exercise - configuration specification proposal

Compression exercise

The exercise is to compress a text file supplied through standard input using the method given as the first argument ("zip", "7z", "tar").

The evaluation pipeline evaluates whether the archive created by the user's algorithm can be extracted and the yielded data is the same as the original data. The generated input is compressed for reference and the file sizes are compared.

Pipeline:

The definition of the pipeline can be expressed by an YAML code:

@simonrozsival
simonrozsival / multiple_pipelines.yml
Last active April 19, 2017 19:09
just my idea of what it should look like
tests:
common:
source_files: "submitted_files/*.{c,pas,cs}"
additional_header: "additional_files/customlib.h"
cases:
- test_1:
pipeline: "recodex/compile_exec_eval"
test_input: "my_test_input_1"
test_expected_output: "my_test_output_1"
- test_2: