Skip to content

Instantly share code, notes, and snippets.

View kargarisaac's full-sized avatar

Isaac Kargar kargarisaac

View GitHub Profile
[1.277s] WARNING:colcon.colcon_ros.prefix_path.catkin:The path '/opt/ros/kinetic' in the environment variable CMAKE_PREFIX_PATH seems to be a catkin workspace but it doesn't contain any 'local_setup.*' files. Maybe the catkin version is not up-to-date?
[5.647s] WARNING:colcon.colcon_cmake.task.cmake.build:Could not run installation step for package 'citysim' because it has no 'install' target
--- stderr: autoware_driveworks_gmsl_interface
gmsl_camera driver will not be built. CUDA was not found.
---
--- stderr: autoware_pointgrey_drivers
'FlyCapture SDK' is not installed. 'grasshopper3_camera' will not be built.
'SDK for Ladybug' is not installed. 'ladybug_camera' will not be built.
'SDK for Spinnaker' is not installed. 'spinnaker_camera' will not be built.
---
Starting >>> autoware_build_flags
Starting >>> autoware_msgs
Starting >>> autoware_config_msgs
Starting >>> tablet_socket_msgs
Starting >>> autoware_system_msgs
Starting >>> autoware_can_msgs
Starting >>> gnss
Starting >>> rslidar_msgs
Starting >>> sick_ldmrs_description
Starting >>> sick_ldmrs_msgs
Starting >>> autoware_build_flags
Starting >>> autoware_msgs
Finished <<< autoware_build_flags [1.35s]
Finished <<< autoware_msgs [7.43s]
Starting >>> lidar_point_pillars
Summary: 2 packages finished [11.7s]
1 package failed: lidar_point_pillars
1 package had stderr output: lidar_point_pillars
[0.836s] WARNING:colcon.colcon_ros.prefix_path.catkin:The path '/opt/ros/kinetic' in the environment variable CMAKE_PREFIX_PATH seems to be a catkin workspace but it doesn't contain any 'local_setup.*' files. Maybe the catkin version is not up-to-date?
--- stderr: lidar_point_pillars
CUDA is available!
CUDA Libs: /usr/local/cuda-10.0/lib64/libcudart_static.a;-lpthread;dl;/usr/lib/x86_64-linux-gnu/librt.so
CUDA Headers: /usr/local/cuda-10.0/include
TensorRT is available!
NVINFER: /usr/lib/x86_64-linux-gnu/libnvinfer.so
NVPARSERS: /usr/lib/x86_64-linux-gnu/libnvparsers.so
NVONNXPARSERS: /usr/local/lib/libnvonnxparser.so
CUDNN is available!
['rosparam', 'set', '/use_sim_time', 'false']
['rosparam', 'set', '/use_sim_time', 'true']
['rosbag', 'play', '--loop', '--clock', '/home/autoware/.autoware/kitti_2011_09_26_drive_0005_synced.bag']
pid=484
sched policy=OTHER prio=0
(runtime_manager_dialog.py:31302): Gdk-CRITICAL **: IA__gdk_color_free: assertion 'color != NULL' failed
(runtime_manager_dialog.py:31302): Gdk-CRITICAL **: IA__gdk_color_free: assertion 'color != NULL' failed
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
from __future__ import division
import numpy as np
import random
import gym
from gym import spaces
from gym.utils import seeding
import glob
import os
import torch