![]() |
via-ros-2 repositorysdk robotics ros self-driving-car ros2 autonomous-robots generic_camera_driver via_simulation_bridge lane_line_detector_simple traffic_sign_detector_simple traffic_sign_detector_yolox simple_websocket_server simple_control_node generic_camera_node via_simulation_bridge_node lane_line_perception_node traffic_sign_detection_node visualization_node via_bringup via_common via_converters |
|
Repository Summary
Description | VIA Autonomous. Self-driving car on ROS 2.0. Currently supporting lane following and traffic sign detection. |
Checkout URI | https://github.com/makerviet/via-ros-2.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2021-09-17 |
Dev Status | UNKNOWN |
CI status | No Continuous Integration |
Released | UNRELEASED |
Tags | sdk robotics ros self-driving-car ros2 autonomous-robots |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Packages
Name | Version |
---|---|
generic_camera_driver | 0.0.1 |
via_simulation_bridge | 0.0.1 |
lane_line_detector_simple | 0.0.1 |
traffic_sign_detector_simple | 0.0.1 |
traffic_sign_detector_yolox | 0.0.1 |
simple_websocket_server | 0.0.0 |
simple_control_node | 0.0.1 |
generic_camera_node | 0.0.1 |
via_simulation_bridge_node | 0.0.1 |
lane_line_perception_node | 0.0.1 |
traffic_sign_detection_node | 0.0.1 |
visualization_node | 0.0.1 |
via_bringup | 0.0.1 |
via_common | 0.0.1 |
via_converters | 0.0.1 |
README
VIA SDK - ROS2-based architecture for autonomous robots
VIA project: https://via.makerviet.org/.
I. Setup development environment
1. Native development
Requirements
- Ubuntu 20.04
- ROS 2 Foxy
- camera_info_manager
- image_transport
2. Using Docker
Requirements
- Visual Studio Code
- ROS 2: Foxy/Dashing
- Docker
Step 1: Clone source code and Open in container - VS Code
Step 2: Wait for Docker pull and start your contributions
ROS 2 Cheatsheet: https://github.com/ubuntu-robotics/ros2_cheats_sheet.
II. Demo
1. VIA Simulation Autopilot
This demo shows how to run VIA Autonomous to control a self-driving car in simulation environment.
-
Download the Simulation here - Only Linux suppported for now, you can clone the source code and build your simulation for other OSes.
-
Run the simulation and select a map.
-
Build all packages
sh scripts/build.sh
source install/setup.bash
- Run autonomous stack
ros2 launch via_bringup via_car_simulation.py
2. Camera node demo
This demo shows you how to use VIA generic_camera_node
to capture images from a camera and publish them to a ROS topic.
- Build all packages
sh scripts/build.sh
source install/setup.bash
- Launch camera node
ros2 launch generic_camera_node camera_node.launch.py
- Start camera stream
ros2 service call /camera/start std_srvs/srv/Trigger "{}"
- Open image viewer to see the published images
ros2 run rqt_image_view rqt_image_view
- Stop camera stream
ros2 service call /camera/stop std_srvs/srv/Trigger "{}"
III. Issues
1. No ROS node name when using ros2 node list
:
Restart ROS 2 deamon:
bash scripts/restart_ros2_deamon.sh
2. Missing ROS 2 packages?
Please ensure that you have built the project with sh scripts/build.sh
and sourced the installation environment:
source install/setup.bash
IV. Contact
This project is co-developed by VIA & AIR.
- VIA Team: makerhanoi@gmail.com
- AIR Team: air.team.2050@gmail.com