Coder Social home page Coder Social logo

debi_solution's Introduction

This repo contains our team's solution for the DEBI robotics challenge

Competition Guide

Data for ML approaches

How to run the simulator

Install Dependencies

Make sure you installed ROS noetic or install it following the steps here: ROS wiki

rosdep install --from-paths src --ignore-src -r -y
sudo apt-get install ros-noetic-moveit-*
sudo apt-get install ros-noetic-joint-* 

Buid the Workspace

catkin_make

Run the simulator
โš ๏ธ It's easier to put export TURTLEBOT3_MODEL=waffle_pi in the .bashrc
Terminal 1

source devel/setup.bash
export TURTLEBOT3_MODEL=waffle_pi
roslaunch turtlebot3_manipulation_gazebo turtlebot3_manipulation_gazebo.launch

Terminal 2

source devel/setup.bash
export TURTLEBOT3_MODEL=waffle_pi
roslaunch turtlebot3_manipulation_moveit_config move_group.launch

Terminal 3

source devel/setup.bash
export TURTLEBOT3_MODEL=waffle_pi
roslaunch turtlebot3_manipulation_moveit_config moveit_rviz.launch

Run Solution Packages

Robot Control package

rosrun move_robot move_robot.py

Gather Image Data

Open Three Terminals

source devel/setup.bash
export TURTLEBOT3_MODEL=waffle_pi
roslaunch solution gather_image_data.launch
source devel/setup.bash
export TURTLEBOT3_MODEL=waffle_pi
cd src/turtlebot3_manipulation_simulations/turtlebot3_manipulation_gazebo/scripts
python3 spawn_three_balls.py
source devel/setup.bash
export TURTLEBOT3_MODEL=waffle_pi
cd src/perception/image_data
rosrun perception get_image_data.py
  • Start the simulator
  • Repeat for each test case

Gather Distance and Radius Data

Open Two Terminals

source devel/setup.bash
export TURTLEBOT3_MODEL=waffle_pi
roslaunch solution gather_distance_radius_data.launch
  • Set the blue ball coordinates from the simulator to (x=2.5, y=0.0)

  • Start the simulator

  • from the directory you want the .csv file to be saved to

source devel/setup.bash
export TURTLEBOT3_MODEL=waffle_pi
rosrun solution radius_to_distance.py

Run The Final Solution

source devel/setup.bash
export TURTLEBOT3_MODEL=waffle_pi
roslaunch control solution.launch

debi_solution's People

Contributors

apolo151 avatar mariamh78 avatar

Watchers

 avatar

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.