Giter VIP home page Giter VIP logo

ros2-leo-rover-simulation's Introduction

Leo Rover Simulation

Simulation for the Leo Rover (Gazebo)

  • Leo Gazebo: launchers, worlds

  • Leo Gazebo Plugins: plugin for the gazebo model.

    • mimic_joint_plugin: to couple front and rear wheel on each side
    • differential_plugin: to emulate passive boogie
  • Mars World (leo_gazebo_worlds): Mars World from MIT LEO Competitions

  • Leo Rover Description: fork of ROS2 package, to work with Gazebo ROS2

Launch Simulation

Standard Simulation with Empty World

ros2 launch leo_gazebo leo_rover.launch.py

Simulate LEO on Mars

ros2 launch leo_gazebo leo_rover_on_mars.launch.py

Simulate LEO on Moon (Check Gravity!)

Depend on https://github.com/FlaSpaceInst/ezrassor_sim_gazebo ros2 launch leo_gazebo leo_rover_on_moon.launch.py

Bridge Real Robot with Simulation with ROS Bridge

Create ROS1 msgs ws (ros1_msgs), with src folder inside

copy leo_msgs (ros1)

cd ..

ros_source

catkin_make_isolated --install

Create ROS2 msgs ws (ros2_msgs), with src folder inside

copy leo_msgs (ros2)

cd ..

ros2_source

colcon build

Create BRIDGE ws

git clone -b foxy https://github.com/ros2/ros1_bridge.git

cd ..

NOTE: ROS1 Bridge has a problem with the controller-managaer-msgs (may purge other packages!)

If needed, re-install them after the compilation!!!!!

sudo apt remove ros-foxy-controller-manager-msgs

Compile ROS Bridge

source /opt/ros/noetic/setup.bash

source /opt/ros/foxy/setup.bash

source ../ros1_msgs/install_isolated/setup.bash

source ../ros2_msgs/install/setup.bash

colcon build --cmake-force-configure

Check leo msgs are mapped

source install/setup.bash

ros2 run ros1_bridge dynamic_bridge --print-pairs

Start the Bridge

ros2 run ros1_bridge dynamic_bridge --bridge-all-1to2-topics

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.