2011年11月14日 星期一

HELLO KITTY's PROGRAMMING

Dear all,

Following attached are kitty's programming. If you got NXT-G in your PC then drag and drop those command boxes as in pictures. Altering those parameters then check any different of kitty's actions.

1. Switch the palette to complete palette (small boxes at left hand side of stage)
2. Drag and drop "LOOP" box to stage and position it on "Start" frame.

2. Set LOOP to FOREVER

3. LOOP box will show unlimited sign on right side.


4. Drag and drop a Ultrasensor to stage from sensor session or Flow session.


5. Set Port1~4 and distance in inch or centermeter, less than (<) or more than (>).
6. D & D sound box from Action session.



7. Set Action -->Sound file
Contorl-->play
Volume-->100
Function-->repeat
File-->Hello or other greeting sound
Chose wait for complete.


8. D & D motor box from Action session.


9. Set:
PORT-->A
Direction-->UP
Action-->Constant
Power-->100
Control-->Motor power
Duration-->20 degree
Chose Wait for complete &
Next action-->break
This motorA is control Kitty's left arm.

10. Click one time on the motor box and push Ctrl+C (copy) then Crtl+V (past).
And alter following parameters:
PORT-->B
Direction-->UP
Action-->Constant
Power-->100
Control-->Motor power
Duration-->20 degree
Chose Wait for complete &
Next action-->break
This motor B is contorl kitty's ears.

11. D & D Wait box from Flow session.

12. Set:
Control-->Time
Until-->3 second


13. The total programming of HelloKitty has been done.




沒有留言:

張貼留言