repo_id stringlengths 19 138 | file_path stringlengths 32 200 | content stringlengths 1 12.9M | __index_level_0__ int64 0 0 |
|---|---|---|---|
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty | apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/README.md | # Note
This code is from [PRBonn/semantic-kitti-api](https://github.com/PRBonn/semantic-kitti-api).
# API for SemanticKITTI
This repository contains helper scripts to open, visualize, process, and
evaluate results for point clouds and labels from the SemanticKITTI dataset.
- Link to original [KITTI Odometry Benchm... | 0 |
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty | apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/evaluate_semantics_by_distance.py | #!/usr/bin/env python3
# This file is covered by the LICENSE file in the root of this project.
import argparse
import os
import yaml
import sys
import numpy as np
DISTANCES = [(1e-8, 10.0),
(10.0, 20.0),
(20.0, 30.0),
(30.0, 40.0),
(40.0, 50.0)]
# possible splits
s... | 0 |
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty | apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/content.py | #!/usr/bin/env python3
# This file is covered by the LICENSE file in the root of this project.
import argparse
import os
import yaml
import numpy as np
import collections
from auxiliary.laserscan import SemLaserScan
if __name__ == '__main__':
parser = argparse.ArgumentParser("./content.py")
parser.add_argument(
... | 0 |
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty | apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/remap_semantic_labels.py | #!/usr/bin/env python3
# This file is covered by the LICENSE file in the root of this project.
import argparse
import os
import yaml
import numpy as np
# possible splits
splits = ["train", "valid", "test"]
if __name__ == '__main__':
parser = argparse.ArgumentParser("./remap_semantic_labels.py")
parser.add_argume... | 0 |
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty | apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/evaluate_completion.py | #!/usr/bin/python3
import argparse
import numpy as np
import scipy.io as sio
import yaml
import os
import time
epsilon = np.finfo(np.float32).eps
def get_eval_mask(labels, invalid_voxels):
"""
Ignore labels set to 255 and invalid voxels (the ones never hit by a laser ray, probed using ray tracing)
:param labe... | 0 |
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty | apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/visualize_voxels.py | #!/usr/bin/python3
import math
import sys
import os
import time
import argparse
import glfw
import OpenGL
from OpenGL.GL.shaders import compileProgram, compileShader
from OpenGL.GL import *
import numpy as np
import yaml
import imgui
from imgui.integrations.glfw import GlfwRenderer
import auxiliary.glow as glow
f... | 0 |
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty | apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/docker.sh | #!/bin/bash
# This file is covered by the LICENSE file in the root of this project.
docker build -t api --build-arg uid=$(id -g) --build-arg gid=$(id -g) .
docker run --privileged \
-ti --rm -e DISPLAY=$DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v $1:/home/developer/data/ \
api | 0 |
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty | apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/count.py | #!/usr/bin/env python3
# This file is covered by the LICENSE file in the root of this project.
import argparse
import os
import yaml
import numpy as np
import collections
from auxiliary.laserscan import SemLaserScan
if __name__ == '__main__':
parser = argparse.ArgumentParser("./count.py")
parser.add_argument(
... | 0 |
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api | apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/config/semantic-kitti.yaml | # This file is covered by the LICENSE file in the root of this project.
labels:
0 : "unlabeled"
1 : "outlier"
10: "car"
11: "bicycle"
13: "bus"
15: "motorcycle"
16: "on-rails"
18: "truck"
20: "other-vehicle"
30: "person"
31: "bicyclist"
32: "motorcyclist"
40: "road"
44: "parking"
48: "sid... | 0 |
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api | apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/config/semantic-kitti-mos.yaml | # This file is covered by the LICENSE file in the root of this project.
# developed by Xieyuanli Chen
name: "kitti"
labels:
0 : "unlabeled"
1 : "outlier"
9 : "static" # for lidar-mos static
10: "car"
11: "bicycle"
13: "bus"
15: "motorcycle"
16: "on-rails"
18: "truck"
20: "other-vehicle"
30:... | 0 |
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api | apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/config/semantic-kitti-all.yaml | # This file is covered by the LICENSE file in the root of this project.
labels:
0 : "unlabeled"
1 : "outlier"
10: "car"
11: "bicycle"
13: "bus"
15: "motorcycle"
16: "on-rails"
18: "truck"
20: "other-vehicle"
30: "person"
31: "bicyclist"
32: "motorcyclist"
40: "road"
44: "parking"
48: "sid... | 0 |
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api | apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/auxiliary/torch_ioueval.py | #!/usr/bin/env python3
# This file is covered by the LICENSE file in the root of this project.
import sys
import torch
import numpy as np
class iouEval:
def __init__(self, n_classes, ignore=None):
# classes
self.n_classes = n_classes
# What to include and ignore from the means
self.ignore = torch.... | 0 |
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api | apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/auxiliary/glow.py | import OpenGL.GL as gl
gl.ERROR_CHECKING = True
gl.ERROR_ON_COPY = True
gl.WARN_ON_FORMAT_UNAVAILABLE = True
import numpy as np
import re
"""
openGL Object Wrapper (GLOW) in python.
Some convenience classes to simplify resource management
"""
WARN_INVALID_UNIFORMS = False
def vec2(x, y):
""" returns an vec2-co... | 0 |
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api | apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/auxiliary/filelist2files.py | #!/usr/bin/python3
import os
import sys
import shutil
import numpy as np
import scipy.io as sio
from tqdm import tqdm
def pack(array):
""" convert a boolean array into a bitwise array. """
array = array.reshape((-1))
#compressing bit flags.
# yapf: disable
compressed = array[::8] << 7 | array[1::8] << 6 ... | 0 |
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api | apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/auxiliary/np_ioueval.py | #!/usr/bin/env python3
# This file is covered by the LICENSE file in the root of this project.
import sys
import numpy as np
class iouEval:
def __init__(self, n_classes, ignore=None):
# classes
self.n_classes = n_classes
# What to include and ignore from the means
self.ignore = np.array(ignore, dt... | 0 |
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api | apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/auxiliary/camera.py | import math
import numpy as np
import time
import glfw
def RotX(angle):
sin_t = math.sin(angle)
cos_t = math.cos(angle)
return np.array([1, 0, 0, 0, 0, cos_t, -sin_t, 0, 0, sin_t, cos_t, 0, 0, 0, 0, 1], dtype=np.float32).reshape(4, 4)
def RotY(angle):
sin_t = math.sin(angle)
cos_t = math.cos(angle)
ret... | 0 |
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api | apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/auxiliary/laserscanvis.py | #!/usr/bin/env python3
# This file is covered by the LICENSE file in the root of this project.
import vispy
from vispy.scene import visuals, SceneCanvas
import numpy as np
from matplotlib import pyplot as plt
from auxiliary.laserscan import LaserScan, SemLaserScan
class LaserScanVis:
"""Class that creates and hand... | 0 |
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api | apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/auxiliary/laserscan.py | #!/usr/bin/env python3
import numpy as np
class LaserScan:
"""Class that contains LaserScan with x,y,z,r"""
EXTENSIONS_SCAN = ['.bin']
def __init__(self, project=False, H=64, W=1024, fov_up=3.0, fov_down=-25.0):
self.project = project
self.proj_H = H
self.proj_W = W
self.proj_fov_up = fov_up
... | 0 |
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api | apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/auxiliary/eval_np.py | #!/usr/bin/env python3
# This file is covered by the LICENSE file in the root of this project.
import numpy as np
import time
class PanopticEval:
""" Panoptic evaluation using numpy
authors: Andres Milioto and Jens Behley
"""
def __init__(self, n_classes, device=None, ignore=None, offset=2**32, min_poi... | 0 |
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api | apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/auxiliary/SSCDataset.py | import os
import numpy as np
def unpack(compressed):
''' given a bit encoded voxel grid, make a normal voxel grid out of it. '''
uncompressed = np.zeros(compressed.shape[0] * 8, dtype=np.uint8)
uncompressed[::8] = compressed[:] >> 7 & 1
uncompressed[1::8] = compressed[:] >> 6 & 1
uncompressed[2::8] = compr... | 0 |
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/auxiliary | apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/auxiliary/shaders/empty.frag | #version 330 core
void main()
{
} | 0 |
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/auxiliary | apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/auxiliary/shaders/passthrough.frag | #version 330 core
in vec4 color;
out vec4 out_color;
void main()
{
out_color = color;
} | 0 |
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/auxiliary | apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/auxiliary/shaders/draw_voxels.vert | # version 330 core
layout(location = 0) in vec3 in_position;
layout(location = 1) in vec3 in_normal;
layout(location = 2) in float in_label; // Note: uint with np.uint32 did not work as expected!
uniform mat4 mvp;
uniform mat4 view_mat;
uniform sampler2DRect label_colors;
uniform bool use_label_colors;
uniform ivec... | 0 |
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/auxiliary | apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/auxiliary/shaders/empty.vert | #version 330 core
void main()
{
} | 0 |
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/auxiliary | apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/auxiliary/shaders/draw_pose.geom | #version 330 core
layout(points) in;
layout(line_strip, max_vertices = 6) out;
uniform mat4 mvp;
uniform mat4 pose;
uniform float size;
out vec4 color;
void main()
{
color = vec4(1, 0, 0, 1);
gl_Position = mvp * pose * vec4(0, 0, 0, 1);
EmitVertex();
gl_Position = mvp * pose * vec4(size, 0, 0, 1);
... | 0 |
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/auxiliary | apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/auxiliary/shaders/draw_voxels.frag | #version 330 core
// simple Blinn-Phong Shading.
out vec4 out_color;
in vec4 color;
in vec3 position;
in vec3 normal;
uniform mat4 view_mat;
uniform vec3 lightPos;
void main()
{
vec3 viewPos = view_mat[3].xyz;
vec3 ambient = 0.05 * color.xyz;
vec3 lightDir = normalize(lightPos - position);
vec3 normal1... | 0 |
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/auxiliary | apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/auxiliary/shaders/check_uniforms.vert |
#version 330 core
uniform mat4 test;
out vec4 color;
void main() {
float value = float(gl_VertexID);
gl_Position = vec4(value/16.0, value/16.0, 0, 1);
if(test[int(value/4)][int(value)%4] == value)
{
color = vec4(0,1,0,1);
}
else
{
color = vec4(1,0,0,1);
}
} | 0 |
apollo_public_repos | apollo_public_repos/apollo-contrib/README.md | # Apollo-contrib Repository
This repository is for code not running on the Apollo Computing Unit.
Code here will be organized by contributing organizations, and will be covered
under difference licenses.
| 0 |
apollo_public_repos | apollo_public_repos/apollo-contrib/.clang-format | ---
BasedOnStyle: Google
---
Language: Cpp
Cpp11BracedListStyle: true
Standard: Cpp11
CommentPragmas: '^ NOLINT'
# Mimic cpplint style
IncludeCategories:
# Note that the "main" header is priority 0
# The priority i... | 0 |
apollo_public_repos/apollo-contrib | apollo_public_repos/apollo-contrib/baidu/Makefile | #
# Makefile for Baidu softwares
#
LIBADV_TRIGGER=src/lib/adv_trigger
LIBADV_BCAN=src/lib/bcan
ADV_TRIGGER=src/tools/adv_trigger
BCAN=src/tools/bcan
BASA=src/kernel/drivers/baidu/basa
MODULES=$(LIBADV_TRIGGER) $(LIBADV_BCAN) $(ADV_TRIGGER) $(BCAN) $(BASA)
MODINSTALL=$(addsuffix .install,$(MODULES))
MODCLEAN=$(addsuffi... | 0 |
apollo_public_repos/apollo-contrib | apollo_public_repos/apollo-contrib/baidu/README.md | This repository contains code contributed by Baidu to the Apollo Autonomous Driving Project that can't or is not suitable to be distributed under Apache license.
Directory structure:
- docs/: documentations
- src/: source code
- lib/adv_trigger: source code of the adv_trigger library
- lib/bcan: source code of th... | 0 |
apollo_public_repos/apollo-contrib | apollo_public_repos/apollo-contrib/baidu/build.sh | #!/bin/bash
VERSION=$(cat .version | xargs)
make clean
make install
make clean
cd output
ldconfig -n lib
zip -y -r plat-sw-${VERSION}.zip *
rm -r bin include lib kernel
| 0 |
apollo_public_repos/apollo-contrib | apollo_public_repos/apollo-contrib/baidu/.version | 3.0.1
| 0 |
apollo_public_repos/apollo-contrib | apollo_public_repos/apollo-contrib/baidu/license.txt | * To use and redistribute any files here and under, you MUST agree to the
following licensing terms. *
=======
Licensing terms for all binary files (kernel driver module, library, user space
applications) and kernel driver headers:
This program is free software; you can redistribute it and/or modify
it under the ter... | 0 |
apollo_public_repos/apollo-contrib/baidu | apollo_public_repos/apollo-contrib/baidu/docs/Baidu_CAN_APIs.txt | version 3.0.0.1:
The APIs below are meant to be generic and are not tied to any specific CAN
hardware. However some of the APIs are specific to Baidu CAN
(specifically noted below) and are exposed to advanced users.
======================================================
1. CAN CHANNEL ACCESS:
========================... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/tools | apollo_public_repos/apollo-contrib/baidu/src/tools/bcan/Makefile | #
# Makefile for bcan tools
#
BAIDUROOT=../../..
CC=gcc
CFLAGS=-Wall -march=native -O2 -pipe -static
LIB_PATH=../../lib/bcan
LIB=$(LIB_PATH)/libadv_bcan.a
INC=-I$(BAIDUROOT)/src/kernel/include/uapi -I$(LIB_PATH)
LDFLAGS=-L$(LIB_PATH) -ladv_bcan -lpthread
CAN_APP_SRC=can_app.c
CAN_APP=can_app
RADAR_APP_SRC=radar_can_ap... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/tools | apollo_public_repos/apollo-contrib/baidu/src/tools/bcan/radar_can_app.c | /******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/tools | apollo_public_repos/apollo-contrib/baidu/src/tools/bcan/can_app.c | /******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/tools | apollo_public_repos/apollo-contrib/baidu/src/tools/adv_trigger/Makefile | #
# Makefile for adv_trigger tool
#
BAIDUROOT=../../..
CC=gcc
CFLAGS=-Wall -march=native -O2 -pipe -static
LIB_PATH=../../lib/adv_trigger
LIB=$(LIB_PATH)/libadv_trigger.a
INC=$(BAIDUROOT)/src/kernel/include/uapi
SRC=adv_trigger.c
OBJ=adv_trigger
.PHONY:all
all: $(OBJ)
$(OBJ): $(SRC) $(LIB)
$(CC) $(CFLAGS) -I$(INC) ... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/tools | apollo_public_repos/apollo-contrib/baidu/src/tools/adv_trigger/adv_trigger.c | /******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/lib | apollo_public_repos/apollo-contrib/baidu/src/lib/bcan/bcan_lib.c | /******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/lib | apollo_public_repos/apollo-contrib/baidu/src/lib/bcan/Makefile | #
# Makefile for Baidu CAN library
#
BAIDUROOT=../../..
VERSION=3.0.0.2
SONAME=libadv_bcan.so.1
CC=gcc
CFLAGS=-Wall -march=native -O2 -pipe -DLIB_VER='"$(VERSION)"'
SOFLAGS=-fPIC -shared -Wl,-soname,$(SONAME)
AR=ar
INC=$(BAIDUROOT)/src/kernel/include/uapi
SRC=bcan_lib.c
OBJ=bcan_lib.o
HDR=bcan.h
LIB=libadv_bcan.a
LIB... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/lib | apollo_public_repos/apollo-contrib/baidu/src/lib/bcan/bcan.h | /******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/lib | apollo_public_repos/apollo-contrib/baidu/src/lib/adv_trigger/Makefile | #
# Makefile for adv_trigger library
#
BAIDUROOT=../../..
VERSION=3.0.0.1
SONAME=libadv_trigger.so.1
CC=gcc
CFLAGS=-Wall -Wno-unused-result -march=native -O2 -pipe -DLIB_VER='"$(VERSION)"'
SOFLAGS=-fPIC -shared -Wl,-soname,$(SONAME)
AR=ar
INC=$(BAIDUROOT)/src/kernel/include/uapi
SRC=adv_trigger_ctl.c
OBJ=adv_trigger_... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/lib | apollo_public_repos/apollo-contrib/baidu/src/lib/adv_trigger/adv_trigger_ctl.c | /******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/lib | apollo_public_repos/apollo-contrib/baidu/src/lib/adv_trigger/adv_trigger.h | /******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu | apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu/basa/basa_gps.c | /*
* Apollo Sensor FPGA support
*
* Copyright (C) 2018 Baidu Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versi... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu | apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu/basa/basa_video.h | /*
* Apollo Sensor FPGA support
*
* Copyright (C) 2018 Baidu Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versi... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu | apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu/basa/basa_regs.h | /*
* Apollo Sensor FPGA support
*
* Copyright (C) 2018 Baidu Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versi... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu | apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu/basa/basa_reg.c | /*
* Apollo Sensor FPGA support
*
* Copyright (C) 2018 Baidu Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versi... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu | apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu/basa/basa_fwupdate.c | /*
* Apollo Sensor FPGA support
*
* Copyright (C) 2018 Baidu Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versi... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu | apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu/basa/basa_intr.c | /*
* Apollo Sensor FPGA support
*
* Copyright (C) 2018 Baidu Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versi... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu | apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu/basa/Makefile | #
# Makefile for Baidu Sensor Aggregation driver
#
BAIDUROOT=../../../../..
obj-m += basa.o
basa-objs := basa_driver.o basa_intr.o \
basa_main.o basa_chan.o basa_sysfs.o basa_fwupdate.o \
basa_can.o basa_video.o basa_cam_hci.o basa_gps.o \
basa_trigger.o basa_i2c.o basa_reg.o
ccflags-y := -I${PWD}/../../../include... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu | apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu/basa/basa_chan.h | /*
* Apollo Sensor FPGA support
*
* Copyright (C) 2018 Baidu Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versi... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu | apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu/basa/basa_main.c | /*
* Apollo Sensor FPGA support
*
* Copyright (C) 2018 Baidu Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versi... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu | apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu/basa/basa_can.c | /*
* Apollo Sensor FPGA support
*
* Copyright (C) 2018 Baidu Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versi... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu | apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu/basa/basa_cam_hci.c | /*
* Apollo Sensor FPGA support
*
* Copyright (C) 2018 Baidu Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versi... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu | apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu/basa/basa_trigger.c | /*
* Apollo Sensor FPGA support
*
* Copyright (C) 2018 Baidu Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versi... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu | apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu/basa/basa_video.c | /*
* Apollo Sensor FPGA support
*
* Copyright (C) 2018 Baidu Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versi... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu | apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu/basa/basa_sysfs.c | /*
* Apollo Sensor FPGA support
*
* Copyright (C) 2018 Baidu Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versi... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu | apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu/basa/basa_debug.h | /*
* Apollo Sensor FPGA support
*
* Copyright (C) 2018 Baidu Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versi... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu | apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu/basa/basa_chan.c | /*
* Apollo Sensor FPGA support
*
* Copyright (C) 2018 Baidu Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versi... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu | apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu/basa/basa_driver.c | /*
* Apollo Sensor FPGA support
*
* Copyright (C) 2018 Baidu Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versi... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu | apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu/basa/basa.h | /*
* Apollo Sensor FPGA support
*
* Copyright (C) 2018 Baidu Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versi... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu | apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu/basa/basa_cam_hci.h | /*
* Apollo Sensor FPGA support
*
* Copyright (C) 2018 Baidu Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versi... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu | apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu/basa/basa_can.h | /*
* Apollo Sensor FPGA support
*
* Copyright (C) 2018 Baidu Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versi... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu | apollo_public_repos/apollo-contrib/baidu/src/kernel/drivers/baidu/basa/basa_i2c.c | /*
* Apollo Sensor FPGA support
*
* Copyright (C) 2018 Baidu Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versi... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/kernel/include/uapi | apollo_public_repos/apollo-contrib/baidu/src/kernel/include/uapi/linux/bcan_defs.h | /*
* Apollo Sensor FPGA support
*
* Copyright (C) 2018 Baidu Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versi... | 0 |
apollo_public_repos/apollo-contrib/baidu/src/kernel/include/uapi | apollo_public_repos/apollo-contrib/baidu/src/kernel/include/uapi/linux/zynq_api.h | /*
* Apollo Sensor FPGA support
*
* Copyright (C) 2018 Baidu Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versi... | 0 |
apollo_public_repos/apollo-contrib | apollo_public_repos/apollo-contrib/esd/CHANGELOG | CHANGELOG for esd CAN driver
==================================================================================
Copyright (c) 1996 - 2016 by esd electronic system design gmbh
This software is copyrighted by and is the sole property of
esd gmbh. All rights, title, ownership, or other interests
in t... | 0 |
apollo_public_repos/apollo-contrib | apollo_public_repos/apollo-contrib/esd/Makefile | #########################################################################
# FILE NAME Makefile
#
# BRIEF MODULE DESCRIPTION
# Makefile for ESDCAN-release-package
#
#
# History:
#
# 22.01.2016 - some cleanup, 32 & 64 bit builds for cantest mj
# 23.07.2002 - initial version (based on MFs-makefiles in esdcan)... | 0 |
apollo_public_repos/apollo-contrib | apollo_public_repos/apollo-contrib/esd/README | Driver for esd CAN_CARDS Version > 3.10.0 20.08.2015
------------------------------------------------------------------------------
Table of Contents
------------------
0) Introduction
1) File-List
2) Card-ID's and default driver-parameters
3) Installation
3.b) Alternate installation usi... | 0 |
apollo_public_repos/apollo-contrib | apollo_public_repos/apollo-contrib/esd/config.mk | TARGET_OS=linux
TARGET_ARCH=x86_64
BOARD=pcie402
NTC_LIB_VERSION=4.0.1
KERNELPATH=/lib/modules/`uname -r`/build
#KERNELPATH=/usr/src/linux
| 0 |
apollo_public_repos/apollo-contrib | apollo_public_repos/apollo-contrib/esd/readme-Apollo.md | Please refer to Apollo Installation Guide and documentations that come with
Apollo kernel on how to use ESD CAN with Apollo software stack.
| 0 |
apollo_public_repos/apollo-contrib | apollo_public_repos/apollo-contrib/esd/license.txt | /************************************************************************
*
* Copyright (c) 1996 - 2014 by electronic system design gmbh
*
* This software is copyrighted by and is the sole property of
* esd gmbh. All rights, title, ownership, or other interests
* in the software remain the property of esd gm... | 0 |
apollo_public_repos/apollo-contrib/esd | apollo_public_repos/apollo-contrib/esd/example/cantest.c | /************************************************************************/
/* */
/* Test/Demonstration program for CAN driver with NTCAN-API */
/* */
/* Copyrigh... | 0 |
apollo_public_repos/apollo-contrib/esd | apollo_public_repos/apollo-contrib/esd/include/ntcan.h | /* ntcan.h
**
** Copyright (c) 2001-2015 by electronic system design gmbh
**
** This software is copyrighted by and is the sole property of
** esd gmbh. All rights, title, ownership, or other interests
** in the software remain the property of esd gmbh. This
** software may only be used in accordance wi... | 0 |
apollo_public_repos/apollo-contrib/esd | apollo_public_repos/apollo-contrib/esd/src/osiftypes.h | /* -*- linux-c -*-
* FILE NAME osiftypes.h
*
* BRIEF MODULE DESCRIPTION
* ...
*
*
* history:
*
* 21.05.03 - first version mt
*
*/
/************************************************************************
*
* Copyright (c) 1996 - 2009 by electronic system design gmbh
*
... | 0 |
apollo_public_repos/apollo-contrib/esd | apollo_public_repos/apollo-contrib/esd/src/sysdep.h | /* -*- esdcan-c -*-
* FILE NAME sysdep.h
* copyright 2002-2015 by esd electronic system design gmbh
*
* BRIEF MODULE DESCRIPTION
* Linux kernel version dependency adaption
*
*
*
* history:
*
* 09.01.15 - Use vprintk() for kernels > 2.6.18 stm
* 19.08.13 - fix for kernel gr... | 0 |
apollo_public_repos/apollo-contrib/esd | apollo_public_repos/apollo-contrib/esd/src/esdcan.c | /* -*- esdcan-c -*-
* FILE NAME esdcan.c
* copyright 2002-2015 by esd electronic system design gmbh
*
* BRIEF MODULE DESCRIPTION
* This file contains the Linux / RTAI-Linux entries for
* the esd CAN driver
*
*
* Author: Matthias Fuchs
* matthias.fuchs@esd.eu
*
* his... | 0 |
apollo_public_repos/apollo-contrib/esd | apollo_public_repos/apollo-contrib/esd/src/boardrc.h | /************************************************************************
*
* Copyright (c) 1996 - 2016 by electronic system design gmbh
*
* This software is copyrighted by and is the sole property of
* esd gmbh. All rights, title, ownership, or other interests
* in the software remain the property of esd gm... | 0 |
apollo_public_repos/apollo-contrib/esd | apollo_public_repos/apollo-contrib/esd/src/Makefile | DRVVERSION=-DLEVEL=3 -DREVI=10 -DBUILD=4
ESD_CPPFLAGS += -DBOARD_pcie402
ESD_CPPFLAGS +=-DOSIF_OS_LINUX $(DRVVERSION)
ESD_CPPFLAGS += -I $(src)
ESD_CPPFLAGS += -DMAJOR_LINUX=52 -DHOST_DRIVER=1
ESD_CPPFLAGS += $(shell if ( cat /proc/version | grep -i suse 2>&1 > /dev/null ); then echo -DDISTR_SUSE; fi;)
ifdef KBUILD_C... | 0 |
apollo_public_repos/apollo-contrib/esd | apollo_public_repos/apollo-contrib/esd/src/sys_osiftypes.h | #ifndef __SYS_OSIFTYPES_H__
#define __SYS_OSIFTYPES_H__
#include <linux/types.h>
typedef void VOID;
typedef u8 UINT8;
typedef s8 INT8;
typedef u16 UINT16;
typedef s16 INT16;
typedef u32 UINT32;
typedef s32 INT32;
typedef u64 UINT64;
typedef s64 INT64;
typedef char CHAR8;
typedef unsi... | 0 |
apollo_public_repos/apollo-contrib/esd | apollo_public_repos/apollo-contrib/esd/src/esdcan_pci.c | /* -*- esdcan-c -*-
* FILE NAME esdcan_pci.c
* copyright 2005-2014 by esd electronic system design gmbh
*
* BRIEF MODULE DESCRIPTION
* This file contains entries common to PCI devices
* for Linux/RTAI/IRIX
* for the esd CAN driver
*
*
* Author: Andreas Block
* ... | 0 |
apollo_public_repos/apollo-contrib/esd | apollo_public_repos/apollo-contrib/esd/src/cm.h | /* -*- esdcan-c -*-
* FILE NAME cm.h
* copyright 2002-2015 by esd electronic system design gmbh
*
* BRIEF MODULE DESCRIPTION
*
*
*
* history:
*
* $Log$
* Revision 1.63 2015/05/27 13:32:43 stefanm
* Avoid name clash under LynxOS with 96-bit version structure now named VERSION96.
*
* Revisio... | 0 |
apollo_public_repos/apollo-contrib/esd | apollo_public_repos/apollo-contrib/esd/src/osif.h | /* -*- esdcan-c -*-
* FILE NAME osif.h
*
* BRIEF MODULE DESCRIPTION
* ...
*
*
* history:
*
* 24.05.02 - first version mf
* 27.10.03 - New output function osif_dprint (with verbose mask) ab
* 13.11.03 - OSIF_BUSY_MUTEX_xxx added m... | 0 |
apollo_public_repos/apollo-contrib/esd | apollo_public_repos/apollo-contrib/esd/src/esdcan_common.c | /* -*- esdcan-c -*-
* FILE NAME esdcan_common.c
* copyright 2002-2014 by esd electronic system design gmbh
*
* BRIEF MODULE DESCRIPTION
* This file contains the common entries
* for Linux/IRIX
* for the esd CAN driver
*
*
* Author: Matthias Fuchs
* matthias... | 0 |
apollo_public_repos/apollo-contrib/esd | apollo_public_repos/apollo-contrib/esd/src/osif_spi.h | /* -*- linux-c -*-
* FILE NAME osif_spi.h
*
* BRIEF MODULE DESCRIPTION
* OSIF specials only needed with SPI CAN controllers
*
* Also included in GPL'ed files
* escan-of-spi-connector.c and esd-omap2-mcspi.c
*
* history:
* $Log$
*
*/
/**********************************************************************... | 0 |
apollo_public_repos/apollo-contrib/esd | apollo_public_repos/apollo-contrib/esd/src/canio.h | /* canio.h
**
** Copyright (c) 2001-2015 by electronic system design gmbh
**
** This software is copyrighted by and is the sole property of
** esd gmbh. All rights, title, ownership, or other interests
** in the software remain the property of esd gmbh. This
** software may only be used in accordance with the... | 0 |
apollo_public_repos/apollo-contrib/esd | apollo_public_repos/apollo-contrib/esd/src/flashtail.h | /* -*- linux-c -*-
* FILE NAME flashtail.h
* copyright 2014 by esd electronic system design gmbh
*
* BRIEF MODULE DESCRIPTION
* system info page resources for CAN-CPIe/402 boards
*
*
* Author: Michael Schmidt
* michael.schmidt@esd.eu
*
* history:
* $Log$
* Revision 1.2 20... | 0 |
apollo_public_repos/apollo-contrib/esd | apollo_public_repos/apollo-contrib/esd/src/esdcan.h | /* -*- esdcan-c -*-
* FILE NAME esdcan.h
* copyright 2002-2015 by esd electronic system design gmbh
*
* BRIEF MODULE DESCRIPTION
*
*
*
* history:
*
* $Log$
* Revision 1.64 2015/05/29 18:14:23 stefanm
* Added <doNotTouch> structure member for power management (other OSes).
*
* Revision 1.63... | 0 |
apollo_public_repos/apollo-contrib/esd | apollo_public_repos/apollo-contrib/esd/src/board.h | /* -*- linux-c -*-
* FILE NAME board.h
* copyright 2002 - 2014 by esd electronic system design gmbh
*
* BRIEF MODULE DESCRIPTION
* board layer API
*
*
* Author: Matthias Fuchs
* matthias.fuchs@esd-electronics.com
*
* history:
*
* 27.05.02 - first version ... | 0 |
apollo_public_repos/apollo-contrib/esd | apollo_public_repos/apollo-contrib/esd/src/nucleus.h | /* -*- esdcan-c -*-
* FILE NAME nucleus.h
* copyright 2002 by esd electronic system design gmbh
*
* BRIEF MODULE DESCRIPTION
* ...
*
*
* Author: Matthias Fuchs
* matthias.fuchs@esd-electronics.com
*
* history:
*
* 07.03.06 - added nuc_deferred_tx_messages
* - add... | 0 |
apollo_public_repos/apollo-contrib/esd | apollo_public_repos/apollo-contrib/esd/src/osifi.h | /* -*- esdcan-c -*-
* FILE NAME osifi.h
*
* BRIEF MODULE DESCRIPTION
* ...
*
* history:
*
* $Log$
* Revision 1.88 2015/05/29 18:26:10 stefanm
* Need a value for OSIF_CACHE_DMA_DEFAULTS. Sigh!
*
* Revision 1.87 2015/05/29 18:20:22 stefanm
* Enable the default (dummy) implementation for th... | 0 |
apollo_public_repos/apollo-contrib/esd | apollo_public_repos/apollo-contrib/esd/src/dkms.conf | # Autogenerated dkms.conf file for pcie402
PACKAGE_NAME="esdcan-pcie402-linux-2.6.x-x86_64"
PACKAGE_VERSION="3.10.4"
BUILT_MODULE_NAME[0]="esdcan-pcie402"
BUILD_EXCLUSIVE_ARCH="x86_64"
BUILD_MODULE_LOCATION[0]="."
# DEST_MODULE_LOCATION will be overridden to a distribution
# specific installation path in most cases.
D... | 0 |
apollo_public_repos/apollo-contrib/esd | apollo_public_repos/apollo-contrib/esd/src/esdaccrc.h | /* -*- linux-c -*-
* FILE NAME boardrc.h
* copyright 2013-2014 by esd electronic system design gmbh
*
* BRIEF MODULE DESCRIPTION
* Common "boardrc ressources" for all esdACC boards
*
*
* Author: Andreas Block
* andreas.block@esd-electronics.com
*
* history:
* $Log$
* Revis... | 0 |
apollo_public_repos/apollo-contrib/esd | apollo_public_repos/apollo-contrib/esd/src/osif.c | /* -*- esdcan-c -*-
* FILE NAME osif.c
*
* BRIEF MODULE DESCRIPTION
* OSIF implementation for Linux
*
*
* history:
*
* $Log$
* Revision 1.133 2015/04/30 15:21:36 hauke
* Added OSIF_DIV64_SFT_FIXUP in osif_attach().
*
* Revision 1.132 2015/01/09 14:36:26 stefanm
* Use vprintk() on kernel... | 0 |
apollo_public_repos/apollo-contrib | apollo_public_repos/apollo-contrib/smartereye/install.sh | #!/usr/bin/env bash
###############################################################################
# Copyright 2020 The Apollo Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of... | 0 |
apollo_public_repos/apollo-contrib | apollo_public_repos/apollo-contrib/smartereye/README.md | # SmarterEye SDK
## installer.sh
By default, SmarterEye SDK will be installed to `/usr/local/apollo/third_party/smartereye`.
You can change this by specifying your custom installation directory,
E.g., `./install.sh /opt/smartereye`
## Others
- The QAsioSocket lib was built w/ srcs from https://github.com/dushibaiyu... | 0 |
apollo_public_repos/apollo-contrib | apollo_public_repos/apollo-contrib/smartereye/License.txt | /************************************************************************
*
* Copyright (c) 2018 - 2024 by Beijing Smarter Eye Technology Co.Ltd
*
* This software is copyrighted by and is the sole property of
* Beijing Smarter Eye Technology Co.Ltd. All rights, title,
* ownership, or other interests in the s... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.