项目作者: iamrajee

项目描述 :
This ROS2 eloquent workspace is created on Ubuntu 18.04. Here I have worked on some ros2 related projects.
高级语言: Python
项目地址: git://github.com/iamrajee/ros2eloquent_catkin_ws.git
创建时间: 2020-03-03T14:30:24Z
项目社区:https://github.com/iamrajee/ros2eloquent_catkin_ws

开源协议:MIT License

下载


ROS2 Eloquent Workspace

Build Status Coverage Status MIT License GitHub Issues GitHub Pull Requests Gitter Join our Slack 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

All the code required to get started

  • Prerequisite

    • You should have ROS2 eloquent on your ubuntu 18.04.
    • All ROS dependency is satisfied.
  • Clone

    1. git clone https://github.com/iamrajee/ros2eloquent_catkin_ws.git
  • Setup

    1. cd ros2eloquent_catkin_ws/
    2. ./refresh.sh
    3. make

Package description




Helper Scripts

  • refresh.sh

    1. #!/bin/bash
    2. source /opt/ros/eloquent/setup.bash
    3. source install/local_setup.bash
    4. source install/setup.bash
    5. clear

    It will source the workspace after buiding workspace or after creating new pkg. Run it as ./refresh.sh

  • makefile

    1. SHELL=/bin/bash
    2. all:
    3. make run
    4. run:
    5. colcon build --symlink-install
    6. bash refresh.sh

    It will build the workspace . Run it as make

  • createpkg.sh

    1. #!/bin/bash
    2. cd src/
    3. ros2 pkg create $1 --build-type ament_cmake --node-name cpp_node
    4. cd ../
    5. #ls src/
    6. make
    7. source refresh.sh

    It will create new package . Run it as ./createpkg.sh newpkg_name

  • tftree.sh

    1. #!/bin/bash
    2. 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

    1. #!/bin/bash
    2. printenv | grep -i ROS

    It will print the ROS related environment variable . Run it as ./printenv.sh

  • rosdep.sh

    1. 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

    1. #!/bin/bash
    2. 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

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


Acknowledgments

  • Hat tip to anyone whose code was used and thanks to everyone who inspired and supported me in this project.