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-contrib/velodyne_vls/velodyne_msgs | apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_msgs/msg/VelodyneScan.msg | # Velodyne LIDAR scan packets.
Header header # standard ROS message header
VelodynePacket[] packets # vector of raw packets
| 0 |
apollo_public_repos/apollo-contrib/velodyne_vls | apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_laserscan/CMakeLists.txt | cmake_minimum_required(VERSION 2.8.3)
project(velodyne_laserscan)
find_package(catkin REQUIRED COMPONENTS
roscpp
nodelet
sensor_msgs
dynamic_reconfigure
)
generate_dynamic_reconfigure_options(
cfg/VelodyneLaserScan.cfg
)
catkin_package()
include_directories(
${catkin_INCLUDE_DIRS}
)
add_library(${PROJE... | 0 |
apollo_public_repos/apollo-contrib/velodyne_vls | apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_laserscan/package.xml | <package format="2">
<name>velodyne_laserscan</name>
<version>1.3.0</version>
<description>
Extract a single ring of a Velodyne PointCloud2 and publish it as a LaserScan message
</description>
<maintainer email="jwhitley@autonomoustuff.com">Josh Whitley</maintainer>
<author>Micho Radovnikovich</author>... | 0 |
apollo_public_repos/apollo-contrib/velodyne_vls | apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_laserscan/nodelets.xml | <library path="libvelodyne_laserscan">
<class name="velodyne_laserscan/LaserScanNodelet"
type="velodyne_laserscan::LaserScanNodelet"
base_class_type="nodelet::Nodelet">
<description>
Extract a single ring from a Velodyne PointCloud2 and publish
as a LaserScan.
</description>
</... | 0 |
apollo_public_repos/apollo-contrib/velodyne_vls | apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_laserscan/CHANGELOG.rst | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Changelog for package velodyne_laserscan
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1.3.0 (2017-11-10)
------------------
* Merge pull request `#110 <https://github.com/ros-drivers/velodyne/issues/110>`_ from kmhallen/master
Added velodyne_laserscan package
* Added tests for ve... | 0 |
apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_laserscan | apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_laserscan/tests/lazy_subscriber_node.test | <!-- -*- mode: XML -*- -->
<!-- rostest of the lazy subscriber -->
<launch>
<!-- Select log or screen output -->
<arg name="output" default="log"/> <!-- screen/log -->
<!-- Start the laserscan node -->
<node pkg="velodyne_laserscan" type="velodyne_laserscan_node" name="laserscan" output="$(arg output)" />
... | 0 |
apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_laserscan | apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_laserscan/tests/CMakeLists.txt | ### Unit tests
#
# Only configured when CATKIN_ENABLE_TESTING is true.
# These dependencies are only needed for unit testing
find_package(roslaunch REQUIRED)
find_package(rostest REQUIRED)
# C++ gtests
#catkin_add_gtest(test_calibration test_calibration.cpp)
#add_dependencies(test_calibration ${catkin_EXPORTED_TARG... | 0 |
apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_laserscan | apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_laserscan/tests/system_nodelet.test | <!-- -*- mode: XML -*- -->
<!-- rostest of the velodyne_laserscan system -->
<launch>
<!-- Select log or screen output -->
<arg name="output" default="log"/> <!-- screen/log -->
<!-- Start the laserscan nodelet -->
<arg name="manager" default="nodelet_manager" />
<node pkg="nodelet" type="nodelet" name="$(... | 0 |
apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_laserscan | apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_laserscan/tests/lazy_subscriber.cpp | /*********************************************************************
* C++ unit test for velodyne_laserscan
* Verify correct handling of subscribe and unsubscribe events
*********************************************************************/
#include <gtest/gtest.h>
#include <ros/ros.h>
#include <sensor_msgs/Poin... | 0 |
apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_laserscan | apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_laserscan/tests/system.cpp | /*********************************************************************
* C++ unit test for velodyne_laserscan
* Verify all aspects of the system
*********************************************************************/
#include <gtest/gtest.h>
#include <ros/ros.h>
#include <sensor_msgs/LaserScan.h>
#include <sensor_m... | 0 |
apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_laserscan | apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_laserscan/tests/system_node.test | <!-- -*- mode: XML -*- -->
<!-- rostest of the velodyne_laserscan system -->
<launch>
<!-- Select log or screen output -->
<arg name="output" default="log"/> <!-- screen/log -->
<!-- Start the laserscan node -->
<node pkg="velodyne_laserscan" type="velodyne_laserscan_node" name="laserscan" output="$(arg outp... | 0 |
apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_laserscan | apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_laserscan/tests/lazy_subscriber_nodelet.test | <!-- -*- mode: XML -*- -->
<!-- rostest of the lazy subscriber -->
<launch>
<!-- Select log or screen output -->
<arg name="output" default="log"/> <!-- screen/log -->
<!-- Start the laserscan nodelet -->
<arg name="manager" default="nodelet_manager" />
<node pkg="nodelet" type="nodelet" name="$(arg manage... | 0 |
apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_laserscan | apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_laserscan/cfg/VelodyneLaserScan.cfg | #! /usr/bin/env python
PACKAGE='velodyne_laserscan'
from dynamic_reconfigure.parameter_generator_catkin import *
gen = ParameterGenerator()
# Name Type Lvl Description Default Min Max
gen.add("ring", int_t, 0, "Ring to ... | 0 |
apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_laserscan | apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_laserscan/src/VelodyneLaserScan.cpp | #include "VelodyneLaserScan.h"
#include <sensor_msgs/point_cloud2_iterator.h>
namespace velodyne_laserscan {
VelodyneLaserScan::VelodyneLaserScan(ros::NodeHandle &nh, ros::NodeHandle &nh_priv) :
ring_count_(0), nh_(nh), srv_(nh_priv)
{
ros::SubscriberStatusCallback connect_cb = boost::bind(&VelodyneLaserScan:... | 0 |
apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_laserscan | apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_laserscan/src/node.cpp | #include <ros/ros.h>
#include "VelodyneLaserScan.h"
int main(int argc, char** argv)
{
ros::init(argc, argv, "velodyne_laserscan_node");
ros::NodeHandle nh;
ros::NodeHandle nh_priv("~");
// create VelodyneLaserScan class
velodyne_laserscan::VelodyneLaserScan n(nh, nh_priv);
// handle callbacks until shut ... | 0 |
apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_laserscan | apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_laserscan/src/VelodyneLaserScan.h | #ifndef VELODYNELASERSCAN_H
#define VELODYNELASERSCAN_H
#include <ros/ros.h>
#include <sensor_msgs/PointCloud2.h>
#include <sensor_msgs/LaserScan.h>
#include <boost/thread/mutex.hpp>
#include <boost/thread/lock_guard.hpp>
#include <dynamic_reconfigure/server.h>
#include <velodyne_laserscan/VelodyneLaserScanConfig.h>... | 0 |
apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_laserscan | apollo_public_repos/apollo-contrib/velodyne_vls/velodyne_laserscan/src/nodelet.cpp | #include <ros/ros.h>
#include <pluginlib/class_list_macros.h>
#include <nodelet/nodelet.h>
#include "VelodyneLaserScan.h"
namespace velodyne_laserscan
{
class LaserScanNodelet: public nodelet::Nodelet
{
public:
LaserScanNodelet() {}
~LaserScanNodelet() {}
private:
virtual void onInit() {
node_.reset(new Ve... | 0 |
apollo_public_repos/apollo-contrib/velodyne_vls | apollo_public_repos/apollo-contrib/velodyne_vls/velodyne/CMakeLists.txt | cmake_minimum_required(VERSION 2.8.3)
project(velodyne)
find_package(catkin REQUIRED)
catkin_metapackage()
| 0 |
apollo_public_repos/apollo-contrib/velodyne_vls | apollo_public_repos/apollo-contrib/velodyne_vls/velodyne/package.xml | <package>
<name>velodyne</name>
<version>1.3.0</version>
<description>
Basic ROS support for the Velodyne VLS3D LIDARs.
</description>
<maintainer email="nbarot@velodyne.com">Nitinkumar Barot</maintainer>
<author> Jack O'Quin</author>
<license>BSD</license>
<!--
<review status="API reviewed" note... | 0 |
apollo_public_repos/apollo-contrib/velodyne_vls | apollo_public_repos/apollo-contrib/velodyne_vls/velodyne/CHANGELOG.rst | Change history
==============
1.3.0 (2017-11-10)
------------------
* Merge pull request `#110 <https://github.com/ros-drivers/velodyne/issues/110>`_ from kmhallen/master
Added velodyne_laserscan package
* Added velodyne_laserscan package and inserted into existing launch files
* Contributors: Jack O'Quin, Joshua Wh... | 0 |
apollo_public_repos/apollo-contrib | apollo_public_repos/apollo-contrib/obu/main.cc | /******************************************************************************
* 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 | apollo_public_repos/apollo-contrib/obu/v2x_gflags.cc | /******************************************************************************
* 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 | apollo_public_repos/apollo-contrib/obu/CMakeLists.txt | ###############################################################################
# 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 the License at
#
# h... | 0 |
apollo_public_repos/apollo-contrib | apollo_public_repos/apollo-contrib/obu/README.md | ## Introduction
These pieces of code under this folder is for OBU box.
## How to compile and run
Follow the step below to generate a binary for OBU.
0. Install cross compilation chain, we may get it from the OBU vendor.
0. Install gRPC, glog, gflags and protobuf on the host PC and copy their include folder into third... | 0 |
apollo_public_repos/apollo-contrib | apollo_public_repos/apollo-contrib/obu/build.sh | #!/bin/bash
set -e
#set -u
set -o pipefail
CORENUM=$(grep -c ^processor /proc/cpuinfo)
export MAKEFLAGS="-j${CORENUM} -l${CORENUM}"
function clean() {
if [[ -d "./build" ]]; then
rm -rf ./build
fi
if [[ -d "./output" ]]; then
rm -rf ./output
fi
}
function build() {
mkdir -p ./build .... | 0 |
apollo_public_repos/apollo-contrib | apollo_public_repos/apollo-contrib/obu/v2x_gflags.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/obu | apollo_public_repos/apollo-contrib/obu/app/CMakeLists.txt | cmake_minimum_required(VERSION 2.8)
find_program(PROTOBUF_PROTOC_EXECUTABLE protoc)
find_program(GRPC_CPP_PLUGIN grpc_cpp_plugin)
set(ENV{PROTOC_FILEPATH} ${PROTOBUF_PROTOC_EXECUTABLE})
set(ENV{GRPC_CPP_PLUGIN_FILEPATH} ${GRPC_CPP_PLUGIN})
message(STATUS "Compiling protos...")
execute_process(
COMMAND bash ${... | 0 |
apollo_public_repos/apollo-contrib/obu/app | apollo_public_repos/apollo-contrib/obu/app/database/CMakeLists.txt | cmake_minimum_required(VERSION 2.8)
aux_source_directory(. DIRSRCS)
add_library(v2x_db ${DIRSRCS})
add_dependencies(v2x_db proto)
| 0 |
apollo_public_repos/apollo-contrib/obu/app | apollo_public_repos/apollo-contrib/obu/app/database/v2x_table.cc | /******************************************************************************
* 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/obu/app | apollo_public_repos/apollo-contrib/obu/app/database/v2x_data.cc | /******************************************************************************
* 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/obu/app | apollo_public_repos/apollo-contrib/obu/app/database/v2x_data.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/obu/app | apollo_public_repos/apollo-contrib/obu/app/database/v2x_db.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/obu/app | apollo_public_repos/apollo-contrib/obu/app/database/v2x_db.cc | /******************************************************************************
* 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/obu/app | apollo_public_repos/apollo-contrib/obu/app/database/v2x_table.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/obu/app | apollo_public_repos/apollo-contrib/obu/app/proxy/CMakeLists.txt | add_library(proxy STATIC proxy.cc)
target_link_libraries(proxy proto protobuf grpc grpc++ pthread)
| 0 |
apollo_public_repos/apollo-contrib/obu/app | apollo_public_repos/apollo-contrib/obu/app/proxy/proxy.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/obu/app | apollo_public_repos/apollo-contrib/obu/app/proxy/proxy.cc | /******************************************************************************
* 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/obu/app | apollo_public_repos/apollo-contrib/obu/app/proto/header.proto | syntax = "proto2";
package apollo.common;
import "error_code.proto";
message Header {
// Message publishing time in seconds. It is recommended to obtain
// timestamp_sec from ros::Time::now(), right before calling
// SerializeToString() and publish().
optional double timestamp_sec = 1;
// Module name.
o... | 0 |
apollo_public_repos/apollo-contrib/obu/app | apollo_public_repos/apollo-contrib/obu/app/proto/traffic_light_detection.proto | package apollo.perception;
import "header.proto";
message TrafficLightBox{
optional int32 x = 1;
optional int32 y = 2;
optional int32 width = 3;
optional int32 height = 4;
optional TrafficLight.Color color = 5;
optional bool selected = 6;
}
message TrafficLightDebug{
optional TrafficLightBo... | 0 |
apollo_public_repos/apollo-contrib/obu/app | apollo_public_repos/apollo-contrib/obu/app/proto/v2x_trafficlight_policy.proto | syntax = "proto2";
package apollo.v2x;
message Position2D {
optional double x = 1;
optional double y = 2;
}
message Connection {
enum Type {
STRAIGHT = 0;
LEFT = 1;
RIGHT = 2;
U_TURN = 3;
};
optional Type allow_driving_behavior = 1;
optional int32 phase_id = 2... | 0 |
apollo_public_repos/apollo-contrib/obu/app | apollo_public_repos/apollo-contrib/obu/app/proto/CMakeLists.txt | cmake_minimum_required(VERSION 2.8)
#find_package(Protobuf REQUIRED)
find_program(PROTOBUF_PROTOC_EXECUTABLE protoc)
find_program(GRPC_CPP_PLUGIN grpc_cpp_plugin)
include(${CMAKE_CURRENT_SOURCE_DIR}/protobuf.cmake)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
# Setup proto gen file directories
set(PROTOB... | 0 |
apollo_public_repos/apollo-contrib/obu/app | apollo_public_repos/apollo-contrib/obu/app/proto/chassis.proto | syntax = "proto2";
package apollo.canbus;
import "header.proto";
import "vehicle_signal.proto";
import "drive_state.proto";
import "geometry.proto";
// next id :31
message Chassis {
enum DrivingMode {
COMPLETE_MANUAL = 0; // human drive
COMPLETE_AUTO_DRIVE = 1;
AUTO_STEER_ONLY = 2; // only steer
... | 0 |
apollo_public_repos/apollo-contrib/obu/app | apollo_public_repos/apollo-contrib/obu/app/proto/protobuf.cmake | cmake_minimum_required(VERSION 2.8)
function(V2X_PROTOBUF_GENERATE_CPP PATH SRCS HDRS)
if(NOT ARGN)
message(SEND_ERROR "Error: V2X_PROTOBUF_GENERATE_CPP() called without any proto files")
return()
endif()
if(PROTOBUF_GENERATE_CPP_APPEND_PATH) # This variable is common for all types of outp... | 0 |
apollo_public_repos/apollo-contrib/obu/app | apollo_public_repos/apollo-contrib/obu/app/proto/perception_obstacle.proto | package apollo.perception;
import "header.proto";
enum PerceptionErrorCode {
ERROR_NONE = 0;
ERROR_TF = 1;
ERROR_PROCESS = 2;
ERROR_UNKNOWN = 3;
}
message Point {
optional double x = 1; // in meters.
optional double y = 2; // in meters.
optional double z = 3; // height in meters.
}
me... | 0 |
apollo_public_repos/apollo-contrib/obu/app | apollo_public_repos/apollo-contrib/obu/app/proto/v2x_traffic_light.proto | syntax = "proto2";
package apollo.v2x;
import "header.proto";
message SingleTrafficLight {
enum Color {
UNKNOWN = 0;
RED = 1;
YELLOW = 2;
GREEN = 3;
BLACK = 4;
FLASH_GREEN = 5;
};
enum Type {
STRAIGHT = 0;
LEFT = 1;
RIGHT = 2;
... | 0 |
apollo_public_repos/apollo-contrib/obu/app | apollo_public_repos/apollo-contrib/obu/app/proto/chassis_detail.proto | syntax = "proto2";
package apollo.canbus;
import "chassis.proto";
import "lexus.proto";
message ChassisDetail {
enum Type {
QIRUI_EQ_15 = 0;
CHANGAN_RUICHENG = 1;
}
optional Type car_type = 1; // car type
optional BasicInfo basic = 2; // basic info
optional Safety safety =... | 0 |
apollo_public_repos/apollo-contrib/obu/app | apollo_public_repos/apollo-contrib/obu/app/proto/drive_event.proto | syntax = "proto2";
package apollo.common;
import "header.proto";
import "pose.proto";
message DriveEvent {
enum Type {
CRITICAL = 0;
PROBLEM = 1;
DESIRED = 2;
OUT_OF_SCOPE = 3;
}
optional apollo.common.Header header = 1;
optional string event = 2;
optional apollo.localization.Pose location... | 0 |
apollo_public_repos/apollo-contrib/obu/app | apollo_public_repos/apollo-contrib/obu/app/proto/geometry.proto | syntax = "proto2";
package apollo.common;
// A point in the map reference frame. The map defines an origin, whose
// coordinate is (0, 0, 0).
// Most modules, including localization, perception, and prediction, generate
// results based on the map reference frame.
// Currently, the map uses Universal Transverse Merca... | 0 |
apollo_public_repos/apollo-contrib/obu/app | apollo_public_repos/apollo-contrib/obu/app/proto/v2x_service_obu_to_car.proto | syntax = "proto2";
package apollo.v2x;
import "perception_obstacle.proto";
import "traffic_light_detection.proto";
import "v2x_traffic_light.proto";
service ObuToCar {
// for onboard unit send perception obstacles (from rsu) results to car end
rpc SendPerceptionObstacles (apollo.perception.PerceptionObstacles) r... | 0 |
apollo_public_repos/apollo-contrib/obu/app | apollo_public_repos/apollo-contrib/obu/app/proto/vehicle_signal.proto | syntax = "proto2";
package apollo.common;
message VehicleSignal {
enum TurnSignal {
TURN_NONE = 0;
TURN_LEFT = 1;
TURN_RIGHT = 2;
};
optional TurnSignal turn_signal = 1;
// lights enable command
optional bool high_beam = 2;
optional bool low_beam = 3;
optional bool horn = 4;
optional bool ... | 0 |
apollo_public_repos/apollo-contrib/obu/app | apollo_public_repos/apollo-contrib/obu/app/proto/lexus.proto | syntax = "proto2";
package apollo.canbus;
message Hazard_lights_rpt_214 {
// Report Message
// [] [0|1]
optional bool output_value = 1;
// [] [0|1]
optional bool commanded_value = 2;
// [] [0|1]
optional bool manual_input = 3;
// [] [0|1]
optional bool vehicle_fault = 4;
// [] [0|1]
optional bool ... | 0 |
apollo_public_repos/apollo-contrib/obu/app | apollo_public_repos/apollo-contrib/obu/app/proto/pnc_point.proto | syntax = "proto2";
// Defined Point types that are commonly used in PnC (Planning and Control)
// modules.
package apollo.common;
message SLPoint {
optional double s = 1;
optional double l = 2;
}
message FrenetFramePoint {
optional double s = 1;
optional double l = 2;
optional double dl = 3;
optional do... | 0 |
apollo_public_repos/apollo-contrib/obu/app | apollo_public_repos/apollo-contrib/obu/app/proto/localization.proto | syntax = "proto2";
package apollo.localization;
import "header.proto";
import "pose.proto";
import "geometry.proto";
import "pnc_point.proto";
message Uncertainty {
// Standard deviation of position, east/north/up in meters.
optional apollo.common.Point3D position_std_dev = 1;
// Standard deviation of quatern... | 0 |
apollo_public_repos/apollo-contrib/obu/app | apollo_public_repos/apollo-contrib/obu/app/proto/v2x_carstatus.proto | syntax = "proto2";
package apollo.v2x;
import "localization.proto";
import "chassis_detail.proto";
message CarStatus {
optional apollo.localization.LocalizationEstimate localization = 1;
optional apollo.canbus.ChassisDetail chassis_detail = 2;
}
| 0 |
apollo_public_repos/apollo-contrib/obu/app | apollo_public_repos/apollo-contrib/obu/app/proto/drive_state.proto | syntax = "proto2";
package apollo.common;
// This is the engage advice that published by critical runtime modules.
message EngageAdvice {
enum Advice {
UNKNOWN = 0;
DISALLOW_ENGAGE = 1;
READY_TO_ENGAGE = 2;
KEEP_ENGAGED = 3;
PREPARE_DISENGAGE = 4;
}
optional Advice advice = 1 [default = DIS... | 0 |
apollo_public_repos/apollo-contrib/obu/app | apollo_public_repos/apollo-contrib/obu/app/proto/v2x_service_car_to_obu.proto | syntax = "proto2";
package apollo.v2x;
import "perception_obstacle.proto";
import "v2x_carstatus.proto";
service CarToObu {
rpc PushCarStatus (apollo.v2x.CarStatus) returns (UpdateStatus) {}
rpc PushPerceptionResult (apollo.perception.PerceptionObstacles) returns (UpdateStatus) {}
}
message UpdateStatus {
req... | 0 |
apollo_public_repos/apollo-contrib/obu/app | apollo_public_repos/apollo-contrib/obu/app/proto/error_code.proto | syntax = "proto2";
package apollo.common;
// Error codes enum for API's categorized by modules.
enum ErrorCode {
// No error, reutrns on success.
OK = 0;
// Control module error codes start from here.
CONTROL_ERROR = 1000;
CONTROL_INIT_ERROR = 1001;
CONTROL_COMPUTE_ERROR = 1002;
// Canbus module error... | 0 |
apollo_public_repos/apollo-contrib/obu/app | apollo_public_repos/apollo-contrib/obu/app/proto/pose.proto | syntax = "proto2";
package apollo.localization;
import "geometry.proto";
message Pose {
// Position of the vehicle reference point (VRP) in the map reference frame.
// The VRP is the center of rear axle.
optional apollo.common.PointENU position = 1;
// A quaternion that represents the rotation from the IMU ... | 0 |
apollo_public_repos/apollo-contrib/obu/app | apollo_public_repos/apollo-contrib/obu/app/proto-apollo/compile-apollo-proto.bash | #!/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/obu/app | apollo_public_repos/apollo-contrib/obu/app/policies/CMakeLists.txt |
cmake_minimum_required(VERSION 2.8)
add_subdirectory(trafficlight_process) | 0 |
apollo_public_repos/apollo-contrib/obu/app/policies | apollo_public_repos/apollo-contrib/obu/app/policies/trafficlight_process/v2x_traffic_light.cc | /******************************************************************************
* 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/obu/app/policies | apollo_public_repos/apollo-contrib/obu/app/policies/trafficlight_process/CMakeLists.txt | cmake_minimum_required(VERSION 2.8)
#project(v2x_trafficlight)
###########
## Build ##
###########
#SET( CMAKE_CXX_FLAGS "-std=c++11 -O3 -Wall -lgflags -pthread")
#include_directories(
# ../../proto/include
#)
#include_directories(
# ../../msg_sets/asn1_source
#)
#include_directories(
# ../../proxy
#)
#include_dir... | 0 |
apollo_public_repos/apollo-contrib/obu/app/policies | apollo_public_repos/apollo-contrib/obu/app/policies/trafficlight_process/v2x_traffic_light.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/obu/app/policies/trafficlight_process | apollo_public_repos/apollo-contrib/obu/app/policies/trafficlight_process/test/v2x_traffic_light_test.cc | /******************************************************************************
* 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/obu/app | apollo_public_repos/apollo-contrib/obu/app/network_adapter/CMakeLists.txt | cmake_minimum_required(VERSION 2.8)
add_library(ntw_adapter pc5/adapter_pc5.cc uu/adapter_uu.cc uu/uu_send.cc)
#add_subdirectory(uu)
#add_subdirectory(pc5)
| 0 |
apollo_public_repos/apollo-contrib/obu/app/network_adapter | apollo_public_repos/apollo-contrib/obu/app/network_adapter/uu/uu_send.cc | /******************************************************************************
* 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/obu/app/network_adapter | apollo_public_repos/apollo-contrib/obu/app/network_adapter/uu/CMakeLists.txt | cmake_minimum_required(VERSION 2.8)
aux_source_directory(. DIRSRCS)
add_library(Uu ${DIRSRCS})
| 0 |
apollo_public_repos/apollo-contrib/obu/app/network_adapter | apollo_public_repos/apollo-contrib/obu/app/network_adapter/uu/adapter_uu.cc | /******************************************************************************
* 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/obu/app/network_adapter | apollo_public_repos/apollo-contrib/obu/app/network_adapter/uu/uu_send.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/obu/app/network_adapter | apollo_public_repos/apollo-contrib/obu/app/network_adapter/uu/adapter_uu.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/obu/app/network_adapter | apollo_public_repos/apollo-contrib/obu/app/network_adapter/pc5/CMakeLists.txt | cmake_minimum_required(VERSION 2.8)
aux_source_directory(. DIRSRCS)
add_library(PC5 ${DIRSRCS})
#add_dependencies(v2x_db proto)
| 0 |
apollo_public_repos/apollo-contrib/obu/app/network_adapter | apollo_public_repos/apollo-contrib/obu/app/network_adapter/pc5/adapter_pc5.cc | /******************************************************************************
* 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/obu/app/network_adapter | apollo_public_repos/apollo-contrib/obu/app/network_adapter/pc5/adapter_pc5.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/obu/app | apollo_public_repos/apollo-contrib/obu/app/scenario/CMakeLists.txt | cmake_minimum_required(VERSION 2.8)
add_subdirectory(traffic_light)
add_subdirectory(shared_sensor)
| 0 |
apollo_public_repos/apollo-contrib/obu/app/scenario | apollo_public_repos/apollo-contrib/obu/app/scenario/shared_sensor/CMakeLists.txt | cmake_minimum_required(VERSION 2.8)
aux_source_directory(. DIRSRCS)
add_library(ssm ${DIRSRCS})
add_dependencies(ssm proto policy)
| 0 |
apollo_public_repos/apollo-contrib/obu/app/scenario | apollo_public_repos/apollo-contrib/obu/app/scenario/shared_sensor/shared_sensor_thread.cc | /******************************************************************************
* 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 the License at
... | 0 |
apollo_public_repos/apollo-contrib/obu/app/scenario | apollo_public_repos/apollo-contrib/obu/app/scenario/shared_sensor/shared_sensor_thread.h | /******************************************************************************
* 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 the License at
... | 0 |
apollo_public_repos/apollo-contrib/obu/app/scenario | apollo_public_repos/apollo-contrib/obu/app/scenario/traffic_light/CMakeLists.txt | cmake_minimum_required(VERSION 2.8)
#project(v2x)
# set the cross compiling
#set(CMAKE_SYSTEM_NAME Linux)
# cross_compiler for C
#set(CMAKE_C_COMPILER "arm-poky-linux-gnueabi-gcc")
# cross_compiler for C++
#set(CMAKE_CXX_COMPILER "arm-poky-linux-gnueabi-g++")
#add_compile_options(-std=c++11)
# where is the target env... | 0 |
apollo_public_repos/apollo-contrib/obu/app/scenario | apollo_public_repos/apollo-contrib/obu/app/scenario/traffic_light/traffic_light_thread.cc | /******************************************************************************
* 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/obu/app/scenario | apollo_public_repos/apollo-contrib/obu/app/scenario/traffic_light/traffic_light_thread.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/obu/app | apollo_public_repos/apollo-contrib/obu/app/platform_auth/CMakeLists.txt |
cmake_minimum_required(VERSION 2.8)
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
include_directories(../../third_party/openssl/include/)
include_directories(../../third_party/cJSON/include/)
include_directories(../../third_party/curl/include/)
include_directories(../msg_sets)
include_directories(../../utils)
add... | 0 |
apollo_public_repos/apollo-contrib/obu/app | apollo_public_repos/apollo-contrib/obu/app/platform_auth/auth_manager.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/obu/app | apollo_public_repos/apollo-contrib/obu/app/platform_auth/auth_manager.cc | /******************************************************************************
* 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/obu/app | apollo_public_repos/apollo-contrib/obu/app/platform_auth/encrypt_utils.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/obu/app | apollo_public_repos/apollo-contrib/obu/app/platform_auth/encrypt.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/obu/app | apollo_public_repos/apollo-contrib/obu/app/platform_auth/encrypt_utils.cc | /******************************************************************************
* 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/obu/app | apollo_public_repos/apollo-contrib/obu/app/platform_auth/device_info.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/obu/app | apollo_public_repos/apollo-contrib/obu/app/platform_auth/auth_para.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/obu/app | apollo_public_repos/apollo-contrib/obu/app/msg_sets/CMakeLists.txt |
cmake_minimum_required(VERSION 2.8)
#include_directories(${CMAKE_CURRENT_SOURCE_DIR})
#include_directories(
# ./asn1_source
#)
#add_subdirectory(asn1_source)
#add_subdirectory(ctfo)
#set(CMAKE_CXX_FLAGS "-std=c++11")
add_library(msg_set message_set.cc uu_message_set.cc)
#for uu_message_set
include_directories(${CMA... | 0 |
apollo_public_repos/apollo-contrib/obu/app | apollo_public_repos/apollo-contrib/obu/app/msg_sets/uu_message_set.cc | /******************************************************************************
* 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/obu/app | apollo_public_repos/apollo-contrib/obu/app/msg_sets/message_set_lib.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/obu/app | apollo_public_repos/apollo-contrib/obu/app/msg_sets/message_set.cc | /******************************************************************************
* 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/obu/app | apollo_public_repos/apollo-contrib/obu/app/msg_sets/message_set.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/obu/app | apollo_public_repos/apollo-contrib/obu/app/msg_sets/uu_message_set.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/obu | apollo_public_repos/apollo-contrib/obu/security/common.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/obu | apollo_public_repos/apollo-contrib/obu/security/CMakeLists.txt | cmake_minimum_required(VERSION 2.8)
include_directories(../third_party/security/include)
add_library(security security.cc common.c)
target_link_libraries(security cncrypto cert cncrypto crypto glog)
| 0 |
apollo_public_repos/apollo-contrib/obu | apollo_public_repos/apollo-contrib/obu/security/security.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/obu | apollo_public_repos/apollo-contrib/obu/security/security.cc | /******************************************************************************
* 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/obu | apollo_public_repos/apollo-contrib/obu/security/common.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/obu | apollo_public_repos/apollo-contrib/obu/security/child_cert.pem | -----BEGIN PRIVATE KEY-----
E6nJQnU0MrEO7WTA/ENgcjqrU23RGjKTrWjQcmngKQM=
-----END PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
MIHAgAECoRKBEGM4MmUzODI3NTM2OWNlNmOiDYABAYEIQmFpZHVDbwCjRKBCgEAf
6/BVtEejg9VULVsV0vyi4S0DJNhl8BCndHaNB4AuHEg6uyGYRMMd8s+P5uXnckSK
AG9teDFw3APfqXQlp5HBpAaABB4YfgClSoBIMEYCIQCwZTDGXrmCYjRyURioGSP... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.