Skip to content

Instantly share code, notes, and snippets.

@amotta
amotta / jumpyQueries.js
Last active October 19, 2017 17:28 — forked from boergens/jumpyQueries.js
Prevent self-attachment (for dendrite queries)
webknossos.apiReady(2).then(async (api) => {
console.log("starting jumpy queries");
window.collection = [];
window.starter = [];
window.taskCounter = 0;
window.done = false;
api.utils.showToast("info", 'Press "7" to automatically place a comment for unsolved tracing (means: mistracing, glia, unsure) and "9" to finish and get next task', 3000);
async function createNodeOverwrite(store, call, action) {
const taskCounterHere = window.taskCounter;
call(action);
@amotta
amotta / wall_follower.cpp
Created November 28, 2013 21:14
fran new wall_follower.cpp
#include <ros/ros.h>
#include <theia_services/MotionCommand.h>
#include <theia_services/object.h>
#include "control_logic/info.h"
#include <core_sensors/ir.h>
#include <theia_services/brain_wall.h>
#include <theia_services/stop.h>
///////////////////////////////////////////////////////////////////////////////////////////////////////////
//