Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/intel/ros2_moving_object
https://github.com/intel/ros2_moving_object
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/intel/ros2_moving_object
- Owner: intel
- License: apache-2.0
- Archived: true
- Created: 2018-03-19T21:39:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-08-04T22:54:23.000Z (over 2 years ago)
- Last Synced: 2024-08-09T00:28:10.877Z (4 months ago)
- Language: C++
- Size: 33.2 KB
- Stars: 5
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
DISCONTINUATION OF PROJECT.
This project will no longer be maintained by Intel.
Intel has ceased development and contributions including, but not limited to, maintenance, bug fixes, new releases, or updates, to this project.
Intel no longer accepts patches to this project.
If you have an ongoing need to use this project, are interested in independently developing it, or would like to maintain patches for the open source software community, please create your own fork of this project.
# Vision-Based Moving Object# Warning: This repo has been merged into our project ros2_object_analytics as a function node to detecte the velocity of the objects
# See: https://github.com/intel/ros2_object_analytics!!## 1. Introduction
Moving Object component is addressing moving objects based on messages generated by
Object Analytics [ros2_object_analytics](https://github.com/intel/ros2_object_analytics).
ros2_moving_object delivers further analysis for the localized and tracked objects from Object Analytics by adding **motion information**, i.e., the **velocity** information about tracked objects. Such information can extend robot's ability of motion planing and collision avoidance.Thanks to [ros2_object_analytics](https://github.com/intel/ros2_object_analytics) and [ros2_intel_movidius_ncs](https://github.com/intel/ros2_intel_movidius_ncs) to provide an AI solution for object detection, tracking and localization. See [the umbrella wiki page](http://wiki.ros.org/intelrosproject) to learn the hierarchical data flow and overview description for the related components.
This component involves 2 ROS2 packages:
- **moving_object**: the main package covering logic of moving object analysis and information generation.
- **moving_object_msgs**: the message package storing the motion information of moving objects and published into ROS2 system.## 2. Output Topics
ros2_moving_object package publishes some messages to indicate different status/data.
- **/moving\_object/moving\_objects** merges info from the 3 input messages into one message and calculating (on demand) the velocity info of the tracked moving objects.## 3. Build and Runtime dependencies
[ros2 core packages](https://github.com/ros2/ros2/wiki/Installation)
- ament_cmake
- std_msgs
- sensor_msgs
- geometry_msgs
- rclcpp
- rosidl_default_generators
- rosidl_interface_packages
- builtin_interfaces
- rviz_yaml_cpp_vendor
- ament_index_cppOther packages from Intel repos
* [object\_analytics\_msgs](https://github.com/intel/ros2_object_analytics)
* [object_msgs](https://github.com/intel/ros2_object_msgs)
* [message_filters](https://github.com/intel/ros2_message_filters)## 4. Build Steps
1. Make sure ros2 core packages are built successfully. Please follow [this guide](https://github.com/ros2/ros2/wiki/Installation) for building and installing ros2 core packages.2. Make sure [ros2_message_filters](https://github.com/intel/ros2_message_filters) and [ros2_object_analysis_msgs](https://github.com/intel/ros2_object_analytics)) are built and installed successfully. If not, follow below steps (note that the path between < and > should be customized according to your real environment):
```bash
source /local_setup.bash
cd /src
git clone https://github.com/intel/ros2_message_filters.git
git clone https://github.com/intel/ros2_object_analytics.git
cd ..
ament build --symlink-install
```
3. Build Moving Object Component
```bash
cd /src
source /local_setup.bash
git clone https://github.com/intel/ros2_moving_object.git
cd ..
ament build --symlink-install
```## 5. Launch Steps
1. *[In terminal 1]* Launch realsense camera node.
```bash
source /local_setup.bash
source /install/local_setup.bash
realsense_ros2_camera
```
2. *[In terminal 2]* Launch object analysis node.
```bash
source /local_setup.bash
source /install/local_setup.bash
echo -e "param_file: alexnet.yaml\ninput_topic: /object_analytics/rgb > src/ros2_intel_movidius_ncs/movidius_ncs_launch/config/default.yaml"
launch `ros2 pkg prefix object_analytics_launch`/share/object_analytics_launch/launch/analytics_movidius_ncs.py
```
3. *[In terminal 3]* Launch moving object node.
```bash
source /local_setup.bash
source /install/local_setup.bash
ros2 run moving_object moving_object
```##### *Any security issue should be reported using process at https://01.org/security