![]() |
ros2eloquent_catkin_ws repositoryeloquent ros ros2 ament colcon ros-eloquent costum_msg_srv cpp_pubsub cpp_srvcli my_package py_pubsub py_srvcli ros2_payload testpkg_action testpkg_cmake testpkg_cmake_python testpkg_cmake_simple testpkg_launch testpkg_python testpkg_python_simple testpkg_simple |
|
Repository Summary
Description | This ROS2 eloquent workspace is created on Ubuntu 18.04. Here I have worked on some ros2 related projects. |
Checkout URI | https://github.com/iamrajee/ros2eloquent_catkin_ws.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2021-07-07 |
Dev Status | UNKNOWN |
CI status | No Continuous Integration |
Released | UNRELEASED |
Tags | eloquent ros ros2 ament colcon ros-eloquent |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Packages
Name | Version |
---|---|
costum_msg_srv | 0.0.0 |
cpp_pubsub | 0.0.0 |
cpp_srvcli | 0.0.0 |
my_package | 0.0.0 |
py_pubsub | 0.0.0 |
py_srvcli | 0.0.0 |
ros2_payload | 0.0.1 |
testpkg_action | 0.0.0 |
testpkg_cmake | 0.0.0 |
testpkg_cmake_python | 0.0.0 |
testpkg_cmake_simple | 0.0.0 |
testpkg_launch | 0.0.0 |
testpkg_python | 0.0.0 |
testpkg_python_simple | 0.0.0 |
testpkg_simple | 0.0.0 |
README
ROS2 Eloquent Workspace
This ROS2 eloquent workspace is created on Ubuntu 18.04. Here I have worked on some ros2 related projects.Note It is simple named catkin_ws however it is not build using catkin tool. Here we are using ament and colcon tools for building.
Table of content
- Installation
- Package description
- Helper scripts
- Team
- Contributing
- FAQ
- Support
- License
- Acknowledgments
Installation
All the
code
required to get started
Prerequisite
- You should have ROS2 eloquent on your ubuntu 18.04.
- All ROS dependency is satisfied.
-
Clone
git clone https://github.com/iamrajee/ros2eloquent_catkin_ws.git
-
Setup
cd ros2eloquent_catkin_ws/
./refresh.sh
make
Package description
-
my_package
It is package about: testing!
-
cpp_pubsub
It is package about: cpp pub sub
-
py_pubsub
It is package about: python pub sub
-
cpp_srvcli
It is package about: cpp service and client
-
py_srvcli
It is package about: python service and client
-
costum_msg_srv
It is package about: costum msg and srv, and testing with cpp pub&sub and srv&cli
-
ros_tutorials
It is package about: git clone https://github.com/ros/ros_tutorials.git -b eloquent-devel
-
testpkg_cmake
It is package about: ros2 pkg create –build-type ament_cmake –node-name cpp_node testpkg_cmake
-
testpkg_cmake_simple
It is package about: ros2 pkg create –build-type ament_cmake testpkg_cmake
-
testpkg_python
It is package about: ros2 pkg create –build-type ament_python –node-name py_node testpkg_python
-
testpkg_python_simple
It is package about: ros2 pkg create –build-type ament_python testpkg_python
-
testpkg_simple
It is package about: ros2 pkg create testpkg_simple
Helper Scripts
-
refresh.sh
#!/bin/bash
source /opt/ros/eloquent/setup.bash
source install/local_setup.bash
source install/setup.bash
clear
> It will source the workspace after buiding workspace or after creating new pkg. Run it as `./refresh.sh`
-
makefile
SHELL=/bin/bash
all:
make run
run:
colcon build --symlink-install
bash refresh.sh
> It will build the workspace . Run it as `make`
-
createpkg.sh
#!/bin/bash
cd src/
ros2 pkg create $1 --build-type ament_cmake --node-name cpp_node
cd ../
#ls src/
make
source refresh.sh
> It will create new package . Run it as `./createpkg.sh newpkg_name`
-
tftree.sh
#!/bin/bash
ros2 run rqt_tf_tree rqt_tf_tree
> It will launch the gui to visvualise the tf tree. Run it as `./tftree.sh`
-
printenv.sh
#!/bin/bash
printenv | grep -i ROS
> It will print the ROS related environment variable . Run it as `./printenv.sh`
-
rosdep.sh
sudo rosdep install -i --from-path src --rosdistro $ROS_DISTRO -y
> It will install dependencies of all pkg in the workspace. Run it in the workspace as `./rosdep.sh`
-
ssh_into_another_computer.sh
#!/bin/bash
ssh rajendra@rajendra
> It will ssh into another system. Useful when using multiple ros masters. Run it as `./rajendra.sh`
Team
Or Contributors/supporters/mentors/guides who helped me out in these projects. | Abhinand A S | Sachin Rustagi | Swami Prasad | | :—: |:—:| :—:| |
|
|
|
Contributing
To get started…
Step 1
-
Option 1
- 🍴 Fork this repo!
-
Option 2
- 👯 Clone this repo to your local machine using
https://github.com/iamrajee/ros2eloquent_catkin_ws.git
- 👯 Clone this repo to your local machine using
Step 2
- HACK AWAY! 🔨🔨🔨
Step 3
-
🔃 Create a new pull request using
https://github.com/iamrajee/ros2eloquent_catkin_ws/compare/
.
FAQ
-
I ran into some issue while running above package, what to do now?
- Simply contact me!
Support
Reach out to me for any help!
| | |
| :—: | — |
| | Name : Rajendra Singh
Email : singh.raj1997@gmail.com
Web : https://iamrajee.github.io/
LinkedIn : https://www.linkedin.com/in/rajendra-singh-6b0b3a13a/
Twitter: @i_am_rajee
|
| | |
License
- MIT license
-
Copyright (c) 2019 Rajendra Singh.
Acknowledgments
- Hat tip to anyone whose code was used and thanks to everyone who inspired and supported me in this project.