$ ibus-setup
# emojis tab
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
FROM tiangolo/python-machine-learning:cuda9.1-devel-python3.6 | |
RUN conda install pytorch=1.0.0 cuda90 -c pytorch | |
RUN conda install torchvision -c pytorch | |
WORKDIR /app | |
COPY . /app | |
RUN pip install -r requirements.txt | |
RUN cd lib && python setup.py build develop | |
RUN cd /app |
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
//#line 2 "/opt/ros/kinetic/share/dynamic_reconfigure/cmake/../templates/ConfigType.h.template" | |
// ********************************************************* | |
// | |
// File autogenerated for the map_manager package | |
// by the dynamic_reconfigure package. | |
// Please do not edit. | |
// | |
// ********************************************************/ | |
#ifndef __map_manager__ROUTECONFIG_H__ |
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
ROS_ROOT=/opt/ros/kinetic/share/ros | |
ROS_PACKAGE_PATH=/opt/ros/kinetic/share | |
ROS_MASTER_URI=http://localhost:11311 | |
ROS_PYTHON_VERSION=2 | |
ROS_VERSION=1 | |
LD_LIBRARY_PATH=/opt/ros/kinetic/share/euslisp/jskeus/eus//Linux64/lib:/opt/ros/kinetic/lib:/opt/ros/kinetic/lib/x86_64-linux-gnu | |
PATH=/opt/ros/kinetic/share/euslisp/jskeus/eus//Linux64/bin:/opt/ros/kinetic/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
ARCHDIR=Linux64 | |
ROSLISP_PACKAGE_DIRECTORIES= | |
ROS_DISTRO=kinetic |
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
import glob | |
import os | |
import sys | |
try: | |
sys.path.append(glob.glob('../carla/dist/carla-*%d.%d-%s.egg' % ( | |
sys.version_info.major, | |
sys.version_info.minor, | |
'win-amd64' if os.name == 'nt' else 'linux-x86_64'))[0]) | |
except IndexError: |
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
#include "modules/drivers/proto/sensor_image.pb.h" | |
#include "modules/drivers/proto/pointcloud.pb.h" | |
#include "modules/drivers/gnss/proto/imu.pb.h" | |
void Node::publish(const std::string& channel, const std::string& data) | |
{ | |
auto writer = writers.find(channel); | |
if (writer == writers.end()) | |
{ |
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
./bazel-bin/cyber/tools/cyber_monitor/cyber_monitor | |
export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/local/Qt5.5.1/5.5/gcc_64/plugins | |
./bazel-bin/modules/tools/visualizer/cyber_visualizer |
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
import carla | |
import random | |
import time | |
def main(): | |
actor_list = [] | |
# In this tutorial script, we are going to add a vehicle to the simulation | |
# and let it drive in autopilot. We will also create a camera attached to |
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
--- uvc_camera | |
roscd uvc_camera | |
roslaunch launch/usb_cam-test.launch | |
--- play | |
from https://answers.ros.org/question/72202/how-to-playback-pointcloud-in-rviz-which-was-recorded-using-rosbag/ | |
// BEFORE starting rviz |
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
gst-launch-1.0 videotestsrc | |
! videoscale add-borders=true envelope=4 | |
! textoverlay text=ABC font-desc="sans bold 30" | |
! videocrop top=100 | |
! videoflip method=vertical-flip | |
! videoscale ! video/x-raw,width=178,height=100 | |
! ximagesink | |
gst-launch-1.0 v4l2src | |
! videoscale ! video/x-raw,width=800,height=600 |
NewerOlder