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
こんにちは | |
私はペッパーです | |
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
<launch> | |
<!-- Set this to your camera's name --> | |
<arg name="cam_name" value="gstream_cam" /> | |
<!-- Need to run 'gst-launch-1.0 -v udpsrc address=192.168.123.15 port=9001 ! udpsink auto-multicast=true host=192.168.123.162 port=5000' in 192.168.123.15 --> | |
<!-- Start the GSCAM node --> | |
<env name="GSCAM_CONFIG" value="udpsrc address=192.168.123.162 port=5000 ! application/x-rtp,media=video,encoding-name=H264 ! rtph264depay ! h264parse ! vaapih264dec ! videoconvert " /> | |
<node pkg="gscam" type="gscam" name="$(arg cam_name)"> | |
<param name="camera_name" value="$(arg cam_name)" /> |
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
mosquitto_sub -h 192.168.123.161 -t '#' -d | |
catkin_make_isolated --merge --only-pkg-with-deps euslisp jskeus | |
catkin_make_isolated --merge --only-pkg-with-deps jsk_unitree_startup unitree_legged_real unitree_legged_sdk diagnostic_updater diagnostic_msgs sound_play joy teleop_twist_joy jsk_recognition_msgs pr2eus roseus_smach unitreeeus --ignore-pkg jskeus euslisp |
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
all: main.o libfunc.so main | |
main: | |
gcc -o main main.o -Wl,-rpath=. -L. -lfunc | |
main.o: main.cpp | |
gcc -c main.cpp | |
nm main.o | |
libfunc.so: func.cpp |
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_minimum_required(VERSION 3.0.2) | |
project(test_fast_call) | |
find_package(catkin REQUIRED COMPONENTS | |
roscpp rostest | |
) | |
catkin_package() | |
include_directories(${catkin_INCLUDE_DIRS}) |
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
$ sudo apt-get -y install cuda-11-4 | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following packages were automatically installed and are no longer required: | |
chromium-chromedriver gir1.2-geocodeglib-1.0 gyp libfltk1.1 libfwup1 libgsoap-2.8.60 libjs-async | |
libjs-node-uuid libllvm7 libllvm7:i386 libllvm8 libllvm8:i386 libllvm9 libllvm9:i386 libuv1-dev | |
libvncserver1 libwayland-client0:i386 libwayland-server0:i386 node-ansi node-ansi-color-table node-archy | |
node-async node-balanced-match node-block-stream node-brace-expansion node-builtin-modules | |
node-combined-stream node-concat-map node-cookie-jar node-delayed-stream node-forever-agent node-form-data |
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
all: cv_gl_1 cv_gl_2 | |
cv_gl_1: cv_gl_1.c | |
g++ -o cv_gl_1 cv_gl_1.c `pkg-config opencv --cflags --libs` -lGL -lGLU -lglut | |
cv_gl_2: cv_gl_2.c | |
g++ -o cv_gl_2 cv_gl_2.c `pkg-config opencv --cflags --libs` -lGL -lGLU -lglut | |
clean: | |
rm cv_gl_1 cv_gl_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
cmake_minimum_required(VERSION 3.0.2) | |
project(tf_plot) | |
find_package(catkin REQUIRED) |
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
#begin python | |
import os | |
env_robot = os.environ["ROBOT"] # expcting '6dof' or otehrs | |
def JOINTS(): | |
joints = ["WAIST", "link1", "link2", "link3", "link4", "link5"] | |
if env_robot == '6dof': | |
joints.append("link6") | |
return(",\n ".join(map(lambda x: "USE " + x, joints))) | |
def LINKS(): | |
links = ["link0_S", "link1_S", "link2_S", "link3_S", "link4_S", "link5_S"] |
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_minimum_required(VERSION 3.0.2) | |
project(nw_disconnect_check) | |
## Compile as C++11, supported in ROS Kinetic and newer | |
# add_compile_options(-std=c++11) | |
## Find catkin macros and libraries | |
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz) | |
## is used, also find other catkin packages | |
find_package(catkin REQUIRED COMPONENTS |