Skip to content

Instantly share code, notes, and snippets.

Oleg Kalachev okalachev

Block or report user

Report or block okalachev

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
okalachev / tree.cpp
Created Dec 12, 2019
Tree game implemented in C++
View tree.cpp
#include <iostream>
#include <string>
using namespace std;
struct Node
// Answer constructor
Node(string answer) :
okalachev / publish_statustext
Created Nov 11, 2019
Publishing STATUSTEXT message to PX4 testing (with MAVROS)
View publish_statustext
#!/usr/bin/env bash
rostopic pub --once /mavros/statustext/send mavros_msgs/StatusText "header:
seq: 0
secs: 0
nsecs: 0
frame_id: ''
severity: 7
text: 'Debug!'"
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6/DRnrPS9as/l8TO0m8uAHV857pxZjrDauLZrZhGvi8VT9Y2NLJmQj4oHiBXRHo+8az0fvwu6qsCT41YxY55OacXI91tFYOW6bHhVo0naMtglrXTs0vVuzoR3UxGLOCC/Mpk3D73RIptfpDxO7deUqHPhNc+RWQlLSkhKwKiIEj8XbWvCBORQW4MrUXYFBZIQuLPCOhQqOPlTw+uqk6Yn30papzcrkEISPHR8tkvHTEn1mIISw0/12vaEiBBDZ6aQ2r/StVb7hQCik72aw8A2Sg6tZpmwFg2032HKsJu0b3r2eEkKM3xnFav+8vJPvodezk2OARz7hIAnzwfh6uox oleg@MacBook-Pro-1.Dlink
okalachev /
Created Aug 27, 2019 — forked from urpylka/
Сборка .deb пакетов из ROS пакетов

Сборка debian пакетов из ROS пакетов

Заметка основана на материалах:

  1. (кстати, здесь описывается проблема иногда возникающая make[1]: *** [override_dh_auto_configure] Error 2)
  2. (исходная инструкция)
  3. (статья про использование кастомных зависимостей rosdep в rosbuildfarm)
  4. (вопрос про билдинг нескольких пакетов)
  5. (статья про билдинг с кастомными зависимостями)
  6. (исходная статья для предыдущей)
okalachev /
Created May 28, 2019
Double flip on CLEVER
import math
import rospy
from clever import srv
from std_srvs.srv import Trigger
from sensor_msgs.msg import Range
from mavros_msgs.srv import SetMode
okalachev /
Created May 13, 2019
mavlink serial control
#!/usr/bin/env python
import rospy
from mavros_msgs.msg import Mavlink
from mavros import mavlink
from pymavlink import mavutil
rospy.loginfo('Node inited')
View nodelet_template.cpp
#include <ros/ros.h>
#include <nodelet/nodelet.h>
#include <pluginlib/class_list_macros.h>
#include <geometry_msgs/PoseStamped.h>
class Example : public nodelet::Nodelet
Example() {}
# -*- coding: utf-8 -*-
import time
import threading
import pigpio
import collections
import numpy
import rospy
from sensor_msgs.msg import Range
import rospy
from clever import srv
from std_srvs.srv import Trigger
navigate = rospy.ServiceProxy('navigate', srv.Navigate)
land = rospy.ServiceProxy('land', Trigger)
View c-cpp-java-js-swift.cpp
* Description text
* Copyright (C) 2018 Copter Express Technologies
* Author: Ivan Petrov <>
* Distributed under MIT License (available at
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
You can’t perform that action at this time.