Giter Site home page Giter Site logo

adeeb10abbas / outdoor_ros2 Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 3.0 7.74 MB

A ROS2 based repository for outdoor SLAM and navigation at DWSL and Zhou Robotics, Drexel

License: MIT License

Starlark 24.96% C++ 10.77% Python 45.70% Shell 10.43% Dockerfile 8.15%

outdoor_ros2's Introduction

Outdoor SLAM and Autonomous Navigation

This is the mono repo for the outdoor SLAM and Autonomous Navigation project at Drexel University. The project is a collaboration between Drexel Wireless Systems Lab and Zhou Robotics Lab at Drexel College of Engineering.

Supported Configurations:

  • Ubuntu 22.04 + ROS2 Humble
  • Ubuntu 20.04 + ROS2 Rolling
  • Architecture: x86_64 (amd64), aarch64 (experimental) and Mac M1/Apple Silicon (all plannning/* targets)
  • Bazel >= 5.0

Steps to build and run the projects

  • Run the ros-humble-install.sh for installing all the prereqs needed!

  • To build: bazel build <target> and to run bazel run <target>; For more please read the Bazel documentation. For building the whole repo, run bazel build ...

  • [Optional/Skip unless you know what you are doing] If you want to create an overlay ROS2 workspace and use the that. You can use outdoor.repos to pull in the required packages via the following steps-

    mkdir -p outdoor_ws/src
    cd outdoor_ws
    vcs import < `path_to_this_repo`/outdoor.repos src 
    sudo apt-get update
    rosdep init #(if not already done)
    rosdep update
    rosdep install --from-paths src --ignore-src -r -y
    colcon build --symlink-install
    • Bind a local ROS 2 workspace underlay in your WORKSPACE (given in the root of this project):
      ros2_local_repository(
          name = "ros2",
          workspace = ["/opt/ros/<distro>", "<path_to_your_outdoor_ws>/install"],
      )
      NOTE: Multiple ROS workspaces can be added and just need to be added as a string in a workspace list as shown.

Features

  • Created an example directory to show how to pull in and build external useful libs like drake-ros, drake, OpenCV and use it in your project for both Python and C++ targets.
  • This package uses Bazel ROS2 rules from drake-ros
  • List of external packages being pulled in currently and available to use:

Maintainers:

outdoor_ros2's People

Contributors

adeeb10abbas avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

outdoor_ros2's Issues

Other planners in MJPC

It would be nice to have both ILQG and Gradient descent and be able to use them with the rest of the ROS ecosystem we have.
Ideally, we could package everything up and publish a ROS package.

ROS node for publishing state and sensor fusion

Should use the IMUs and the cameras to create a state space and publish -
๐‘‹, ๐‘Œ, ๐‘, ๐‘Ÿ๐‘œ๐‘™๐‘™, ๐‘๐‘–๐‘ก๐‘โ„Ž, ๐‘ฆ๐‘Ž๐‘ค, ๐‘‹ห™, ๐‘Œห™, ๐‘ห™,๐‘Ÿ๐‘œ๐‘™๐‘™ห™, ๐‘๐‘–๐‘ก๐‘โ„Žห™, ๐‘ฆ๐‘Ž๐‘คห™, ๐‘‹ยจ, ๐‘Œยจ, ๐‘ยจ

http://docs.ros.org/en/noetic/api/robot_localization/html/state_estimation_nodes.html

AARCH64 Support

My initial analysis suggests that we only need to start using opencv arm rules (or pull in the binaries)...
Other than that, all targets already support arm. Let's just push through this, so that we're done once and for all.

cc/ @sidor926 can you take a lead on this?

Should avoid using unstable commits for repositories

FYI @adeeb10abbas from Drake Slack post, I saw following:
https://github.com/Zhourobotics/outdoor_slam_ros2/blob/74706d4d37566ebe03847ce54a9aebf66fdd6012/WORKSPACE#L75-L78

This will hurt reproducibility as users who did not fetch the given sha256 at that time will get cache miss errors from Bazel fetching.
I strongly recommend using full git SHA1's or version tags.

$ git diff -U1
diff --git a/WORKSPACE b/WORKSPACE
index 115be6c..07bde80 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -76,4 +76,4 @@ add_default_workspace()
 ## Adding Bazel_ROS2_Rules for drake-ros stuff to work ##
-DRAKE_ROS_commit = "main"
-DRAKE_ROS_sha256 = "b819c470da68e525201585524479bd42bd79daacfaa2729cb2f32757fc62052c"
+DRAKE_ROS_commit = "9171963955936ed2fbc853f1f2ae8ede1836e92d"
+DRAKE_ROS_sha256 = "08b08027afb06a55e9f1b3aa14186e9e48f24fb58332d8b7b8018eeeb2db70e6"

If it helps, here's how I fetch:
https://github.com/EricCousineau-TRI/repro/blob/50c3f52c6b745f686bef9567568437dc609a7f91/bazel/bazel_hash_and_cache.py
(be sure to also use fake_bazel_workspace)

$ cd drake-ros
$ git rev-parse HEAD
9171963955936ed2fbc853f1f2ae8ede1836e92d
$ bazel_hash_and_cache.py RobotLocomotion/drake-ros@9171963955936ed2fbc853f1f2ae8ede1836e92d
...
sha256: 08b08027afb06a55e9f1b3aa14186e9e48f24fb58332d8b7b8018eeeb2db70e6

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.