Git Product home page Git Product logo

umwcontroller's Introduction

Unreal_MWController

General

This software is a controller for Mecanum Wheel robots in the Unreal Engine. The controller is under development. The software includes a ThirdParty plugin with Reflexxes Motion Libraries Type II. It can be added to an existing project. The robot in Unreal can be controlled via ROS. Some included plugins are from the IAI (Institute for Artificial Intelligence - University of Bremen).

Quick Start

1. Integrate

  • Integrate plugin folder into your project.
  • Build your project

2. Using DemoMode (Map):

  • Load Demomap.
  • Found under UBaseControllerMW Content -> MWDemoMap.

2.1 Set Game Mode.

  • Create Blueprint version from the MyProjectGameModeBase (c ++ Classes -> MyProject)
  • Set the PawnClass to "MWControllerDemoPawn" and PlayerController to "MWControllerController" with MyProjectGameModeBaseBLUEPRINT.

2.2 If necessary: Reload and set the meshes.

  • The sample meshes are located under UBaseControllerMW Content -> Meshes -> MW.

  • For each mesh under Tags, set the following tag: "MWControllerComponentTag"

  • For the three meshes (base, wheel left, wheel right) you may have to delete the collision (double-click on the Asset / Mesh -> Collision (next to Mesh) -> remove Collision) and create your own.

  • Base = Box Collision

  • This needs to be increased slightly. For Collision (next to Bounds) -> activate simple Collision. Click on the green box and adjust it slightly with the Unreal Editor Tool.

  • Wheels = Sphere Collision

  • No adjustment needed.

2.3 Reassigning the Meshes (Consider the possible configurations of a Mecanum Wheel vehicle)

  • Wheel Left Front = Left Wheel

  • Wheel Right Front = Right Wheel

  • Wheel Left Rear = Right wheel

  • Wheel Right Rear = Left wheel

  • If necessary, add the MWController again via AddComponent to the actor "MWRobotBaseActor".

2.4 Play

3. Build your own MW.

3.1 Use Empty Actors

  • One for the base and one for each wheel.

3.2 Designation of Actors:

  • Base = MWRobotBaseActor
  • Wheel Left Front = MWRobotWheelLF
  • Wheel Right Front = MWRobotWheelRF
  • Wheel Left Rear = MWRobotWheelLR
  • Wheel Right Rear = MWRobotWheelRR

3.3 load and set the meshes.

  • See 2.2.

3.4 Position the wheels evenly.

  • Too large deviations lead to suspension of the MWController functionality.

3.5 Name the meshes as following:

  • Base = MW_Base
  • Wheel Left Front = Wheel_Left_Front
  • Wheel Right Front = Wheel_Right_Front
  • Wheel Left Rear = Wheel_Left_Rear
  • Wheel Right Rear = Wheel_Right_Rear

3.6 Add a MW controller via "Add Component".

  • This will automatically create all the remaining settings.
  • Only one controller may be used at a time.
  • Adding a new MWController deletes the old one.

3.7 If necessary, load the config file for the controller.

  • (see 2.3).
  • Or use a ROSMWController Subscriber for control over ROS.
  • Use a ROSMWController Subscriber.
  • See for more information ROSBridge

3.8 Set Gamemode

  • See 2.1.
  • Pawn creates a camera.

3.9 Play.

Requirements

  • Windows
  • UE 4.21

umwcontroller's People

Contributors

patrickkellmann avatar

Watchers

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