Git Product home page Git Product logo

gazebo-plugin-autonomous-actor's Introduction

GAZEBO Plugin Autonomous Actor

This repository is Gazebo plugin for actor to navigation in simulation environment autonomously.
Please refer for more usage of actor in Gazebo at this repository

Installation

This code may be treated as a ROS package. Therefore, it can be built with catkin_make or catkin build.

mkdir -p catkin_ws/src
cd catkin/src
git clone https://github.com/BruceChanJianLe/gazebo-plugin-autonomous-actor.git
cd ..
catkin_make

Usage

Add your plugin in your sdf world file.

<actor name="actor0">
    <pose>0 0 0 0 0 0</pose>
    <skin>
    <filename>walk.dae</filename>
    <scale>1.0</scale>
    </skin>
    <animation name="walking">
    <filename>walk.dae</filename>
    <scale>1.000000</scale>
    <interpolate_x>true</interpolate_x>
    </animation>

    <plugin name="actor0_plugin" filename="libAutonomousActorPlugin.so">
    <target_weight>1.15</target_weight>
    <obstacle_weight>1.8</obstacle_weight>
    <animation_factor>5.1</animation_factor>
    <!-- Usage: Modify the set of models that the vector field should
            ignore when moving the actor -->
    <ignore_obstacles>
        <model>cafe</model>
        <model>ground_plane</model>
    </ignore_obstacles>
    <targets>
        <target>0 -5 0</target>
        <target>0 0 0</target>
        <target>-3 -4 0</target>
    </targets>
    </plugin>
</actor>

Parameters

ACTOR

  • pose: Modify the element of each actor to change their starting location.

AUTONOMOUS ACTOR PLUGIN

  • targets: The element contains multiple elements.
  • target: Add element for actor to navigate to in sequence.
  • target_tolerance: Modify <target_tolerance> for invoking next target. Please note that the Gazebo simulator is not very accurate.

Models

The models folder is obtained from servicesim_competition

More about Gazebo plugin

image

Reference

  • Reference plugin repo link1
  • Gazebo debug msg link1
  • Gazebo dependencies link1

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.