NxtDirectCommands

概要

レゴ社の発売しているLEGO@MINDSTORMS NXTを操作することができます(ver2.0の動作未確認)。2015年2月現在の最新バージョンはEV3ですがこのコンポーネントでは操作不可の模様(動作確認済み)。EV3に関してはBluetoothコンポーネントを使用すれば操作できる模様(動作確認済み)



Properties

  • BluetoothClient




Blocks


call型
call NxtDirectCommands.DeleteFile
fileName
 
call NxtDirectCommands.DownloadFile
source
destination
 
call NxtDirectCommands.GetBatteryLevelLevel  
call NxtDirectCommands.GetBrickName  
call NxtDirectCommands.GetCurrentProgramName  
call NxtDirectCommands.GetFirmwareVersion  
call NxtDirectCommands.GetInputValues
sensorPortLetter
 
call NxtDirectCommands.GetOutputState
motorPortLetter
 
call NxtDirectCommands.KeepAlive  
call NxtDirectCommands.ListFiles
wildcard
 
call NxtDirectCommands.LsGetStatus
sensorPorLetter
 
call NxtDirectCommands.LsRead
sensorPortLetter
 
call NxtDirectCommands.LsWrite
sensorPortLetter
list
rxDataLength
 
call NxtDirectCommands.MessageRead
mailbox
 
call NxtDirectCommands.MessageWrite
mailbox
message
 
call NxtDirectCommands.PlaySoundFile
fileName
 
call NxtDirectCommands.PlayTone
frequencyHz
durationMs
 
call NxtDirectCommands.ResetInputScaledValue
sensorPortLetter
 
call NxtDirectCommands.ResetMotorPosition
motorPortLetter
relative
 
call NxtDirectCommands.SetBrickName
name
 
call NxtDirectCommands.SetInputMode
sensorPortLetter
sensorType
sensorMode
 
call NxtDirectCommands.SetOutputState
motorPortLetter
power
mode
regulationMode
turnRatio
runState
tachoLimit
 
call NxtDirectCommands.StartProgram
programName
 
call NxtDirectCommands.StopProgram  
call NxtDirectCommands.StopSoundPlayback  



値型
NxtDirectCommands  

  • 最終更新:2015-02-26 22:46:41

このWIKIを編集するにはパスワード入力が必要です

認証パスワード