Coder Social home page Coder Social logo

davihdsantos / wamv_speed_control Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 6.28 MB

This package provides a simple speed control (surge, sway, yaw) for wamv T configuration, to interface with the navigation stack from a cmd_vel topic.

CMake 5.97% C++ 1.65% Python 91.10% Makefile 1.28%

wamv_speed_control's Introduction

wamv_speed_control

This package provides a simple speed control (surge, sway, yaw) for wamv T configuration, providing a cmd_vel topic as an interface. This is the basic functionality needed to use some high-level navigation packages, such as the navigation_stack.

before running the tests, build and source your vrx environment. This stack runs with the vrx 1.3.0

Test the speed_control

Build and source the wamv_speed_control package. run:

roslaunch vrx_speed_ctrl pose_control_world.launch

send commands to cmd_vel:

rostopic pub -r 10 /wamv/cmd_vel geometry_msgs/Twist "linear:
x: 1.0
y: 1.0
z: 0.0
angular:
x: 0.0
y: 0.0
z: 1.0"

Test the openai_example project

This uses openai reinforcement learning in a simple task environment.

roslaunch vrx_speed_ctrl vrx_loc_world.launch
roslaunch wamv_openai_ros_example start_training.launch

the task environment:

task_env

If you add:

<physics type="ode">
  <real_time_update_rate>0</real_time_update_rate>
</physics>

to vrx_gazebo/worlds/ocean.world.xacro and rebuild your vrx environment the simulation will run faster than real-time (as fast as your machine can run it).

wamv_speed_control's People

Contributors

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