root/trunk/mfiles/Contents.m @ 445

Revision 445, 8.2 KB (checked in by atorf, 5 years ago)
  • Adapt python toolbox publishing script to latest toolbox including NXTmotor class, + various bugfixes
  • Adapt wg_publish script to handle new 2008a classdef m-files similar to classic functions
  • Add Contents.m file inside @NXTmotor directory
  • Update root/Contents.m to new ver…
Line 
1% RWTH - Mindstorms NXT Toolbox
2% Version 2.01 27-Oct-2008
3% Files
4%   CalibrateCompass           - Enables calibration mode of the HiTechnic compass sensor
5%   checkStatusByte            - Interpretes the status byte of a return package and creates an error message
6%   CloseSensor                - Closes a specified sensor port (e.g. turns off the active light mode of the NXT light sensor)
7%   COM_CloseNXT               - Closes and deletes a specific NXT handle, or clears all existing handles
8%   COM_CollectPacket          - Reads data from a USB or serial/Bluetooth port and retrieves exactly one packet
9%   COM_CreatePacket           - Generates a valid Bluetooth packet ready for transmission (i.e. calculates length)
10%   COM_GetDefaultNXT          - Returns the global default NXT handle if it was previously set
11%   COM_MakeBTConfigFile       - Creates a Bluetooth configuration file which is needed to open a Bluetooth connection.
12%   COM_OpenNXT                - Opens a USB or Bluetooth connection to an NXT device and returns a handle for future use
13%   COM_OpenNXTEx              - Opens a Bluetooth or USB connection to an NXT device and returns a handle for future use
14%   COM_ReadI2C                - Requests and reads sensor data via I2C from a correctly configured digital sensor.
15%   COM_SendPacket             - Sends a communication protocol packet (byte-array) via a USB or Bluetooth channel (serial port)
16%   COM_SetDefaultNXT          - Sets a global default NXT handle that will be used by other functions if no handle is specified.
17%   DebugMode                  - Gets or sets the debug state (i.e. if textOut will print messages to the command window)
18%   GetAccelerator             - Reads the current value of the HiTechnic acceleration sensor
19%   GetCompass                 - Reads the current value of the HiTechnic compass sensor
20%   GetInfrared                - Reads the current value of the Hitechnic infrared sensor (infrared seeker)
21%   GetLight                   - Reads the current value of the NXT light sensor
22%   GetMemoryCount             - Gets the internal NXT memory counter (manual mapping replica)
23%   GetMotor                   - Reads the current motor set by SetMotor(). Raises an error if no motor was set
24%   GetMotorSettings           - Returns the current motor data / settings (e.g. position, speed, etc.) from the specified motor
25%   GetSound                   - Reads the current value of the NXT sound sensor
26%   GetSwitch                  - Reads the current value of the NXT switch / touch sensor
27%   GetUltrasonic              - Reads the current value of the NXT ultrasonic sensor
28%   MAP_GetCommModule          - Reads the IO map of the communication module
29%   MAP_GetInputModule         - Reads the IO map of the input module
30%   MAP_GetOutputModule        - Reads the IO map of the output module
31%   MAP_GetSoundModule         - Reads the IO map of the sound module
32%   MAP_GetUIModule            - Reads the IO map of the user interface module
33%   MAP_SetOutputModule        - Writes the IO map to the output module
34%   MOTOR_A                    - Symbolic constant MOTOR_A (returns 0)
35%   MOTOR_B                    - Symbolic constant MOTOR_B (returns 1)
36%   MOTOR_C                    - Symbolic constant MOTOR_C (returns 2)
37%   MotorRotateAbs             - Rotates a motor to an absolute angle
38%   NXC_MotorControl           - Sends an advanced motor-command to the NXC-program MotorControl running on the NXT brick
39%   NXT_GetBatteryLevel        - Returns the current battery level in milli volts
40%   NXT_GetCurrentProgramName  - Returns the name of the current running program
41%   NXT_GetFirmwareVersion     - Returns the protocol and firmware version of the NXT
42%   NXT_GetInputValues         - Processes a complete sensor reading, i.e. requests input values and collects the answer.
43%   NXT_GetOutputState         - Requests and retrieves an output motor state reading
44%   NXT_LSGetStatus            - Gets the number of available bytes from low speed (digital) sensor (e.g. ultrasonic)
45%   NXT_LSRead                 - Reads data from a low speed (digital) sensor
46%   NXT_LSWrite                - Writes the given data to a low speed (digital) sensor
47%   NXT_MessageWrite           - Writes a message to the NXT's incoming BT mailbox queue
48%   NXT_PlaySoundFile          - Plays the given sound file on the NXT Brick
49%   NXT_PlayTone               - Plays a tone with the given frequency and duration
50%   NXT_ReadIOMap              - Reads the IO map of the given module ID
51%   NXT_ResetInputScaledValue  - Resets the sensors ScaledVal back to 0, depends on currently configured mode (see NXT_SetInputMode)
52%   NXT_ResetMotorPosition     - Resets NXT internal counter for specified motor, relative or absolute counter
53%   NXT_SendKeepAlive          - Sends a KeepAlive packet. Optional: requests sleep time limit.
54%   NXT_SetBrickName           - Sets a new name for the NXT Brick (connected to the specified handle)
55%   NXT_SetInputMode           - Sets mode, configures and initializes sensor ready to be read out
56%   NXT_SetOutputState         - Sends previously specified settings to current active motor.
57%   NXT_StartProgram           - Starts the given program on the NXT Brick
58%   NXT_StopProgram            - Stops a specific program on the NXT Brick
59%   NXT_StopSoundPlayback      - Stops the current sound playback
60%   NXT_WriteIOMap             - Writes the IO map to the given module ID
61%   OpenAccelerator            - Initializes and sets the mode of the HiTechnic acceleration sensor
62%   OpenCompass                - Initializes and sets the mode of the HiTechnic magnetic compass sensor
63%   OpenInfrared               - Initializes and sets the mode of the HiTechnic infrared seeker sensor
64%   OpenLight                  - Sets the parameter mode of the NXT light sensor
65%   OpenSound                  - Sets the parameter mode of the NXT sound sensor
66%   OpenSwitch                 - Sets the parameter mode of the NXT switch / touch sensor
67%   OpenUltrasonic             - Initializes and sets the mode of the NXT ultrasonic sensor
68%   OptimizeToolboxPerformance - Copies binary versions of typecastc to toolbox for better performance
69%   readFromIniFile            - Reads parameters from a configuration file (usually *.ini)
70%   ResetMotorAngle            - Resets the relative angle counter for the given motor
71%   SendMotorSettings          - Sends previously specified settings to current active motor.
72%   SENSOR_1                   - Symbolic constant SENSOR_1 (returns 0)
73%   SENSOR_2                   - Symbolic constant SENSOR_2 (returns 1)
74%   SENSOR_3                   - Symbolic constant SENSOR_3 (returns 2)
75%   SENSOR_4                   - Symbolic constant SENSOR_4 (returns 3)
76%   SetAngleLimit              - Sets the angle limit (in degrees) of the current motor port
77%   SetMemoryCount             - Sets the internal NXT memory counter (manual mapping replica)
78%   SetMotor                   - Sets the current motor to use for motor setting commands
79%   SetPower                   - Sets the power of the current active motor
80%   SetRampMode                - Sets the runstate of the current active motor
81%   SetTurnRatio               - Sets the turn ratio of the current active motor
82%   SpeedRegulation            - Enables / disables the speed regulation mode of the current active motor
83%   StopMotor                  - Stops / brakes specified motor. (Synchronisation will be lost after this)
84%   SwitchLamp                 - Switches the LEGO lamp on or off (has to be connected to a motor port)
85%   SyncToMotor                - Enables synchronization regulation for current active and specified motor
86%   textOut                    - Wrapper for fprintf() which can optionally write screen output to a logfile
87%   tictic                     - Similar to MATLAB's tic(), but extended to save "more states"
88%   toctoc                     - Similar to MATLAB's toc(), but extended to save "more states"
89%   USGetSnapshotResults       - Retrieves up to eight echos (distances) stored inside the US sensor
90%   USMakeSnapshot             - Causes the ultrasonic sensor to send one snapshot ("ping") and record the echos
91%   WaitForMotor               - Pauses execution until specific motor is not running anymore.
Note: See TracBrowser for help on using the browser.