- Create 'ws' 'ws/src'
- Goto 'ws/src' and 'catkin_init_workspace'
- Back to 'ws' and 'catkin_make'
- 'source devel/setup.sh'
- Goto 'ws/src' and 'catkin_create_pkg beginner_tutorials std_msgs rospy roscpp | catkin create pkg beginner_tutorials --catkin-deps roscpp rospy std_msgs
- Edit package.xml if necessary
- Come to 'ws' and 'catkin_make' Writing Code:
- Goto 'ws/src/<package_name>/src' and create '<node_name.cpp>' Editing Package
This file contains 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
export PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig:$PKG_CONFIG_PATH | |
./waf distclean | |
./waf configure --enable-test --enable-example | |
./waf build |
This file contains 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
abstract type baseType end | |
function call( ::Type{T}, params... ) where T <: baseType | |
return T( params... ) | |
end | |
# call (generic function with 1 method) | |
type derived1 <: baseType | |
x::Int64 | |
y::Float64 |
Edit /boot/cmdline.txt
and remove any references to serial1
or ttyACM0
cat /proc/cpuinfo
to determine CPU archwget https://nodejs.org/dist/vX.Y.Z/node-vX.Y.Z-linux-armv??.tar.gz
tar -xzf node-vX.Y.Z-linux-armv??.tar.gz
node-v6.2.1-linux-armv6l/bin/node -v
This file contains 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
# Shell script to build programs | |
CFLAGS=`pkg-config --cflags libzmq` | |
LIBS=`pkg-config --libs libzmq` | |
# If no input, build all | |
if [ -z "$1" ] | |
then | |
for file in *.c | |
do |
This file contains 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
execute pathogen#infect() | |
syntax on | |
filetype plugin on | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
set number | |
" let g:netrw_banner = 0 | |
" let g:netrw_liststyle = 3 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
(v1.1) pkg> test CUDAnative | |
Testing CUDAnative | |
Resolving package versions... | |
Status `/tmp/tmpujFYYx/Manifest.toml` | |
[79e6a3ab] Adapt v0.4.2 | |
[3895d2a7] CUDAapi v0.6.3 | |
[c5f51814] CUDAdrv v3.0.0 | |
[be33ccc6] CUDAnative v2.1.0 | |
[a8cc5b0e] Crayons v4.0.0 | |
[864edb3b] DataStructures v0.15.0 |
This file contains 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
name: rl-lab | |
channels: | |
- anaconda | |
- conda-forge | |
- defaults | |
dependencies: | |
- dbus=1.13.6=h746ee38_0 | |
- expat=2.2.6=he6710b0_0 | |
- fontconfig=2.13.0=h9420a91_0 | |
- freetype=2.9.1=h8a8886c_1 |
This file contains 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
# To list all the available enviroments | |
python -c "from gym import envs; env_list = [env_spec.id for env_spec in envs.registry.all()]; print(\"\\n\".join(env_list));" | |
# Search in list with grep | |
python -c "from gym import envs; env_list = [env_spec.id for env_spec in envs.registry.all()]; print(\"\\n\".join(env_list));" | grep -i cart |
OlderNewer