Ticket #33 (closed development: fixed)

Opened 4 years ago

Last modified 4 years ago

Add new functionality to class NXTmotor

Reported by: atorf Owned by: atorf
Priority: high Milestone:
Component: Toolbox Function Keywords:
Cc:

Description

NXTmotor will get the following new properties

  • ActionAtTachoLimit, possible values are 'Coast', 'Brake' [default] and 'HoldBrake'
  • SmoothStart (false [default] or true)

Property BrakeAtTachoLimit will be removed.

Method WaitFor will be adjusted to account for new NXC MotorControl and for new HoldBrake mode.

Attachments

Change History

Changed 4 years ago by atorf

  • status changed from new to accepted

Changed 4 years ago by atorf

Personal reminder:

  • Rename class to NXTMotor? (from NXTmotor)
  • Make sure .IsRunning? from .ReadFromNXT() is valid / matches with .WaitFor?()?

Changed 4 years ago by atorf

  • status changed from accepted to closed
  • resolution set to fixed

Functionality added as described.

.ReadFromNXT still returns .IsRunning the old-fashioned way: True when motor is "actively powered on", i.e. when actually moving with force/power, or when using the active brake. False otherwise.

Also removed property .TurnRatio as described in #17

Class was renamed from NXTmotor to NXTMotor. Testing and bugfixing is in progress now…

Add/Change #33 (Add new functionality to class NXTmotor)

Author



Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.