Haptic 5-DOF Wand Joint Angles Haptic 5-DOF Wand Motors navigation bar

Table of Contents

Haptic 5-DOF Wand Motor Currents

Monitors the Haptic 5-DOF Wand motor currents.

Library

QUARC Targets/Devices/Quanser/Haptics/Pantographs/Haptic 5-DOF Wand/Interfacing

MATLAB Command Line

Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window:

qc_open_library('quarc_library/Devices/Quanser/Haptics/Pantographs/Haptic 5-DOF Wand/Interfacing')

Description

Haptic 5-DOF Wand Motor Currents

The Haptic 5-DOF Wand Motor Currents block monitors the currents in the motors of the Quanser Haptic 5-DOF Wand. The input is a 6-vector read from the analog inputs connected to the motor current sense outputs. Use one of the HIL blocks to read these analog inputs. The output of the block is a 6-vector of the motor currents in amperes.

For the Quanser Q8 card, analog input channels 0 through 5 are typically used to read the motor current sense outputs of the Quanser Haptic 5-DOF Wand.

Input Ports

volts

A 6-vector representing the analog voltages read from the motor current sense outputs of the Haptic 5-DOF Wand. The units must be volts.

Output Ports

amps

The motor currents of each of the six motors in amperes, as a 6-vector.

Data Type Support

This block supports inputs and outputs of type double.

Parameters and Dialog Box

Haptic 5-DOF Wand Motor Currents

The Haptic 5-DOF Wand Motor Currents block has no parameters.

Targets

Target Name

Compatible*

Model Referencing

Comments

QUARC Win32 Target

Yes

Yes

QUARC Win64 Target

Yes

Yes

QUARC Linux Nvidia Target

Yes

Yes

QUARC Linux QBot Platform Target

Yes

Yes

QUARC Linux QCar 2 Target

Yes

Yes

QUARC Linux QDrone 2 Target

Yes

Yes

QUARC Linux Raspberry Pi 3 Target

Yes

Yes

QUARC Linux Raspberry Pi 4 Target

Yes

Yes

QUARC Linux RT ARMv7 Target

Yes

Yes

QUARC Linux x64 Target

Yes

Yes

QUARC Linux DuoVero Target

Yes

Yes

QUARC Linux DuoVero 2016 Target

Yes

Yes

QUARC Linux Verdex Target

Yes

Yes

QUARC QNX x86 Target

Yes

Yes

Last fully supported in QUARC 2018.

Rapid Simulation (RSIM) Target

Yes

Yes

S-Function Target

No

N/A

Old technology. Use model referencing instead.

Normal simulation

Yes

Yes

* Compatible means that the block can be compiled for the target.

See Also

 

navigation bar