-
kinmematics frame of each link is infered rather than defined in urdf
-
each joint position and orientation is defined relative to it's parents kinematics frame
-
the parent kinematics frame is defined as the frame of it's parent joint
-
the kinematics frame of root link is eye(4)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Applicability: | |
1. model compilation requires implementation of compute output shape | |
2. model compilation requires homogeneous training data tensor shapes | |
3. model internal attributes is set by passing a defer tensor through model call | |
4. model compilation is more akin to tf graph mode |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import vtk | |
# The colors module defines various useful colors. | |
from vtk.util.colors import tomato | |
cylinder = vtk.vtkCylinderSource() | |
# the side of the cylinder is made up with 100 edges polygon | |
cylinder.SetResolution(100) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cmake for opengl projects | |
cmake_minimum_required(VERSION 3.12) | |
project(opengl_stuffs) | |
set(CMAKE_CXX_STANDARD 11) | |
find_package(OpenGL) | |
find_package(GLUT) | |
find_package(GLEW) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% show current assumptions | |
syms z | |
assumptions(z) | |
% set assumptions | |
syms x | |
assume(x >= 0) | |
% add assumptions | |
assumeAlso(x,'integer') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%save my_useful_session 10-20 23 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import cv2 | |
import matplotlib.pyplot as plt | |
import matplotlib.image as mpimg | |
image = mpimg.imread('bbox-example-image.jpg') | |
# Define a function that takes an image, a list of bounding boxes, | |
# and optional color tuple and line thickness as inputs | |
# then draws boxes in that color on the output |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hold on | |
plot(x(1, :), x(2,:)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
depth = number of channel | |
path / kernel = [depth, convolutional sliding window weight] | |
sliding window weight = [height, width, depth], where depth equals to previous image channels | |
feature map_i = output[i, :, :] the ith layer of the output hyper image after convolution | |
stride = number of pixels when shifting the kernel window | |
valid_padding = stop slide at the edge (without padding) | |
same_padding = pad with zeros to make output image the same as input |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
in conventional notations: | |
1. layer input = the tensor before activation | |
2. layer output = the tensor after activation | |
3. next layer input = this layer output transformed by the edges | |
4. delta_layer = dLoss / dlayer_input |
NewerOlder