-
Neighbor Generator
Just a quick gist that I found very useful -------------------------------------------------------------------------------- class Solution(object): def __init__(self, board, click): #""" :param board: List[List[s…
-
Semantic Segmentation / Background Subtraction with Deep Learning
Abstract: getting into deep learning sounds big but it is quite simple. In this post, I listed the steps from one of my projects to show you how to train your network. BTW when your segmentation only has two classes, which is either foreground or bac…
-
ROS TF, Whoever wrote the Python API, F**ked up the concepts.
Abstract: TF, is very useful when dealing with transformations in robot navigation. Unfortunately, the ROS wiki did a very poor job to make all the concepts in the same manner and there is merely any well done tutorials online about this. In this art…
-
How to use PyCharm / Clion to debug on ROS
Abstract: First of all, this is a working setup tutorial. And that's all of it. After years of dealing with ROS, I found the PyCharm or Clion from Jetbrain being my favourate IDE beside Sublime, and yes, I use Sublime most of the time. What you…
-
ROS Import Python Module From Another Package
Abstract: This will be a fire to go blog. It is really not hard to do this but ROS wiki did a good job in making it hard. Let me guide you through it. There are only TWO things you can do First of all, you need to understand what you can do and then…
-
ROS Actionlib: The Generated Messages
Abstract: Knowing how to write an action server is very useful in robot software development. This guidance will focus on explaining the missing part from the official ROS tutorial -- the relation between an action server, and its generated messages.…
-
Regular Expression Simple Usage in Python
Abstract: I feel the regular expression is a monster, in both ways. Hard to learn, hard to use. Because the dude who concept this is in the 1950s and at this time everything is very C-style (raw and not beautiful). However, for some reason, I have…
-
Dinosaur Classifier Using Interesting Key Points, OpenCV
Abstract: This post will introduce two ways of classify an object using the OpenCV library. It is very good for beginner to study this post because after this you will get an idea of what the whole processing looks like. Notice: This project was don…
-
A-Star (A*) Path Planning, 3-DOF PR2 Robot, Python
Abstract: A Star Algorithm has been widely used in motion planning problems. This article will start from a real project to help you understand the A Star programing idea. It is nice because we will use PR2 in OpenRave as an example. Python Tips:…