Giter Site home page Giter Site logo

tb-controller's Introduction

turtlebot3 velocity controller

Run simulation export TURTLEBOT3_MODEL=burger ros2 launch turtlebot3_gazebo empty_world.launch.py

Run velocity controller ros2 run tb-controller velocity-controller

Created with ros2 pkg create --build-type ament_cmake --dependencies rclcpp std_msgs geometry_msgs --node-name velocity-controller --maintainer-name hussein tb-controller

We pull messages from vicon_bridge package, and convert it to ros2 messages. This can be done in a docker.

  • The computer which accomplishes the bridging must have both ROS2 and ROS1 installed. Please ensure that ROS2 = foxy, and ROS1 = noetic

See following tutorial

Run the following

export ROS1_INSTALL_PATH=/opt/ros/noetic
export ROS2_INSTALL_PATH=/opt/ros/foxy/install

Then

colcon build --symlink-install --packages-skip ros1_bridge
source ${ROS1_INSTALL_PATH}/setup.bash
source ${ROS2_INSTALL_PATH}/setup.bash
. dev_ws/local_setup.bash
colcon build --symlink-install --packages-select ros1_bridge --cmake-force-configure

To run, on the bridge machine

# Shell A (ROS 1 only):
source ${ROS1_INSTALL_PATH}/setup.bash
roscore

In a new shell,

# Shell B (ROS 1 + ROS 2):
source ${ROS1_INSTALL_PATH}/setup.bash
source ${ROS2_INSTALL_PATH}/setup.bash
export ROS_MASTER_URI=http://localhost:11311
ros2 run ros1_bridge dynamic_bridge

Run the docker with the vicon bridge as mentioned previously

PID

We use PID controller from PID

tb-controller's People

Contributors

h2jaafar 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.