Embedded devices.
Embedded devices allow robots to perceive the environment and to interact with it.
Devices are always attached to an entity in the model. For example a distance sensor is attached to a zone type entity, a motor is attached to a joint axis. Some devices are exclusive, like servos and motors.
For each entity, the Modify Panel shows a Devices sub-panel: Select the entity, show its Modify panel then show the Devices sub-panel. This sub-panel defines the basic devices parameters:
Description |
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------
|
Enabled: Indicates if device is enabled or not. A disabled device is ignored in the simulation engine startup and make the QueryDevicexxx or QueryDevicexxx functions to fail (NULL is returned). Name: The name is the 'short' name of the device. In MODA programming, you need the complete device name in order to make QuerCoreDevicexxx or QueryDevicexxx to find the device. For exemple, a motor named "mymotor", attached on an axis named "axisred" from a joint named "hinge0" : the motor full name is "hinge0/axisred/mymotor". For using this motor: MyRobot=Connection->QueryRobotPHX("/myrobot"); //or QueryRobotPHX("/") for getting the 'world' MyMotor=MyRobot->QueryDeviceMotor("hinge0/axisred/mymotor"); The full name is relative to the PHX parent (or PHX "/" for the world). Startup: The startup mode determines the device startup state.
|
Devices parameters are shown in a dialogbox with several panels. Base: manufacturer information. Device: device settings. Those settings ban be saved in a file and re-used for another device using the Open button. Sound: this panel is shown if the device is able to generate sound (serovos, motors etc.) (Automatic sound settings) Instance: devices's instance settings : they are not save-able in the device file and are valid only for the sensor's current instance. Settings locked from file: indicates if device parameters are stored locally or in a file:
|
|
Name |
Description |
Absolute Compass sensors.
| |
Acceleration, angular position and angular velocity sensors.
| |
Actuating cylinder/jack.
| |
Force and Torque Sensors (joints axes). | |
Image capture / cameras.
| |
Contact and force sensors.
| |
Distance sensors.
| |
Emitters/receivers. | |
Data exchange between real world and simulated device. | |
GPS sensor. | |
LCD display. | |
LED . | |
Lidar sensors (Light Detection and Ranging) | |
Controlling lights objects. | |
Motors and servo-motors.
| |
Generating force using air pressure.
| |
Laser Range finders sensors. | |
Generate 3D spatial sounds. | |
Using Surface Motion devices.
| |
Using Touch Area devices.
|
Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
|
What do you think about this topic? Send feedback!
|