Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents

...

Overview

...

A succesfully created ContinuousServoMotor shows up with this gizmo.

...

Where to find

The Continuous Servo Motor can be found under

...

It will automatically be attached to a selected GameObject . Otherwise or otherwise it will create a new GameObject to attach to.
A Wheel Joint will be created automatically , this is as part of the component.

Selecting the newly created GameObject gives you the following menu in the Inspector.

...

Please note: this is an example of a GameObject with the Physical Continuous Servo Motor component.

...

Feature Layout - Physical Component

...

Live Data

Target (deg)

A value ro to indicate the target speed voor for the Continuous Servo Motor.

Positon (deg)

Displays the current rotation in degrees.

...

Properties

Wheel Joint

Sets the Wheel Joint the Continuous Servo Motor will control.

Rotation Range

Sets the angles between which the Continuous Servo Motor accepts input.

Seconds per 60 degrees

Sets the speed at which the Continuous Servo Motor will try to rotate.

Dead Angle (deg)

Sets the tolerance at which the Continuous Servo Motor detects input in degrees.

0 deg Pulse Width (ms)

Sets what pulse width matches a 0-degree input.

180 deg Pulse Width (ms)

Sets what pulse width matches a 180-degree input.

Dead Band Width (ms)

Sets the tolerance at which the Continuous Servo Motor detects input in milliseconds.

...

Control Panel

Generate Control Panel for ContinuousServoMotor

Create a Control Panel or this component

...

  1. Add a Continuous Servo Component to a GameObject, in this case a simple cube.

     

  2. Add a Kinematics Controller,this can be found under Mechanics > Add Kinematics > Kinematics Controller. Make sure the Kinematic Controller is visible in the hierarchy and not connected to the Cube.

  3. Make sure the Cube is parented under the Kinematic Controller in the Hierarchy.

     

  4. Add a Control Panel

  5. Set the Target

  6. Press Play to see the rotation of the cube, controlled by the Continuous Servo Motor

...

Properties

Continuous Servo Motor

Selects a Continuous Servo Motor component you wish to connect to the PLC.

...

In the PLC I/Opanel you can see the latest input and output values from the PLC.

...

PLC Settings and Debugging are general Logic Component settings. Look at the Logic Component Documentation (check link) for more details.

...

How to use - Logic Component

Look at the Logic Component Documentation (check link) for more details.