Coder Social home page Coder Social logo

create3_control's Introduction

Create 3 Control

License Testing

How to Build and Run

Clone the repository and start a Docker container

git clone https://github.com/ilarioazzollini/create3_control
cd create3_control
docker run -it --network=host --privileged -e DISPLAY=$DISPLAY -v $PWD:/root/create3_control irobotedu/create3-galactic bash

Build the repository

mkdir -p /root/control_ws/src
cd /root/control_ws
ln -s /root/create3_control src
colcon build
source install/setup.sh

Test the repository (optional)

colcon test

and you will find the complete test output in /root/control_ws/log/latest_test/create3_control/stdout_stderr.log

Start the action server

python3 src/create3_control/create3_control/controller_server.py

Attach a new terminal to the Docker container and send a goal request to the server

ros2 action send_goal /drive_to_pose irobot_create_msgs/action/NavigateToPosition "{goal_pose:{pose:{position:{x: 1,y: 1.0,z: 0.0}, orientation:{x: 0.0,y: 0.0, z: 0.0, w: 1.0}}}}"

Use custom parameters

Controller parameters can be configured at startup using

python3 src/create3_control/create3_control/controller_server.py --ros-args -p controller_type:=polar_coordinates -p polar_coordinates.rotate_to_goal:=False

The parameters can also be modified at runtime using standard ROS 2 parameters APIs.

ros2 param set controller polar_coordinates.k_r 1.5

create3_control's People

Contributors

ilarioazzollini avatar alsora avatar

Stargazers

Andrea Testa avatar

Watchers

 avatar

create3_control's Issues

Experimental results + logger + plots

  • test (plus tuning) of the controller parameters on the real robot
  • investigate sim2real gap accordingly
  • need for a logger for the experimental data + plots

CI

  • add an action for building and testing the code

Test

  • simple tests for the controllers
  • check (and fix) the existing code against the (already present) flake8 and pep257 tests

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.