Giter Site home page Giter Site logo

ros-practical-epfl's Introduction

EPFL_ROS_Basics_Thymio_Sim2Real

Test passed
ROS-Melodic Ubuntu-18.04 ROS-Noetic Ubuntu-20.04 Thymio

MICRO-453 Robotics practicals, 2021 Spring

Students: Chuanfang Ning, Jianhao Zheng, Yujie He

Example page: https://go.epfl.ch/ros_basics_final_2021

Report here !

πŸ”‘ Keywords

Thymio, PID, Way following, Obstacle avoidance, Pledge algorithm, Aruco marker, Sim2Real, Gazebo

πŸ”¨ How to use?

  • visualize Thymio in RViz

    roslaunch ros_basics_exercise thymio_simple_rviz.launch
  • simulate Thymio robot in Gazebo with an interactive window

    roslaunch ros_basics_control simu_thymio.launch
  • adding waypoints and obstacle for the robot

    roslaunch ros_basics_control simu_thymio.launch
    roslaunch ros_basics_exercise set_simu_waypoints_obstacle.launch
  • tune with rqt tools (rqt_plot, rqt_reconfigrure, rqt_image_show)

    roslaunch ros_basics_control simu_thymio.launch
    roslaunch ros_basics_exercise tune_with_rqt.launch
  • visualize the rosbag files

    roslaunch ros_basics_exercise view_with_rosbag.launch
  • extract pose and sensor information from rosbag files

    roslaunch ros_basics_exercise view_with_rosbag.launch
    # open a new terminal
    rosrun ros_basics_exercise topic_reader.py
  • plot trajectory comparison between real and simulation (using matlab)

    cd results_from_bag/
    # run `plot_traj_comp.m` in MATLAB
    traj_thymio_simulation_navigation_with_obstacle_avoidance
  • connect to the real Thymio

    pip install thymiodirect
    roslaunch ros_basics_control real_thymio.launch

πŸŽ’Example rosbag files

rosbags can be downloaded from Google Drive

For more info, you can refer to readme.md in ./src/ros_basics_exercise/rosbags/ folder.

⭐ Acknowledgement

Thanks to Vaios Papaspyros and Rafael Barmak from MOBOTS at EPFL for the amazing course tutorials !

ros-practical-epfl's People

Contributors

jianhao-zheng 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.