Coder Social home page Coder Social logo

wjbbupt / cyberrt-v8 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from minhanghuang/cyberrt

0.0 0.0 0.0 72.75 MB

Baidu Apollo(v8.0.0) CyberRT Framework CMake Build

License: Apache License 2.0

Shell 0.50% C++ 83.88% Python 5.74% C 0.16% Assembly 0.10% Makefile 0.35% CMake 0.80% Batchfile 0.04% Starlark 8.44%

cyberrt-v8's Introduction

Apollo(v8.0.0) CyberRT

CyberRT

Target Status
Ubuntu18.04 build v8.0.0
Ubuntu20.04 build v8.0.0
Ubuntu22.04 build v8.0.0
Ubuntu latest build v8.0.0

#1 Env

dependence

sudo apt install -y libpoco-dev uuid-dev libncurses5-dev python3-dev python3-pip
python3 -m pip install protobuf

#2 Build

  1. clone
git clone --single-branch --branch v8.0.0  https://github.com/minhanghuang/CyberRT.git
cd CyberRT
  1. build third party

install

./scripts/install.sh

export path

source install/setup.bash
  1. build cyber
mkdir build && cd build
cmake ..
make -j$(nproc)

#3 Examples

  1. pub/sub

talker

source setup.bash
./cyber/examples/cyber_example_talker

listener

source setup.bash
./cyber/examples/cyber_example_listener
  1. component
source setup.bash
cyber_launch start share/examples/common.launch
./cyber/examples/common_component_example/channel_prediction_writer
./cyber/examples/common_component_example/channel_test_writer

#4 Tools

  1. channel

list

source setup.bash
cyber_channel list

# The number of channels is:  1
# /apollo/test

echo

source setup.bash
cyber_channel echo /apollo/test

example

more ...

Commands:
	cyber_channel list	list active channels
	cyber_channel info	print information about active channel
	cyber_channel echo	print messages to screen
	cyber_channel hz	display publishing rate of channel
	cyber_channel bw	display bandwidth used by channel
	cyber_channel type	print channel type
  1. node
Commands:
	cyber_node list 	List active nodes.
	cyber_node info 	Print node info.
  1. service
Commands:
	cyber_service list	list active services
	cyber_service info	print information about active service
  1. launch
cyber_launch start share/examples/common.launch
  1. monitor
cyber_monitor
  1. recorder
Commands:
  	cyber_recorder info	Show information of an exist record.
	cyber_recorder play	Play an exist record.
	cyber_recorder record	Record same topic.
	cyber_recorder split	Split an exist record.
	cyber_recorder recover	Recover an exist record.

#5 Package

cmake -DCMAKE_INSTALL_PREFIX=/you/install/path ..
make
make package
sudo dpkg -i package/*.deb

cyberrt-v8's People

Contributors

minhanghuang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.