程序中的3个文件都是什么呀?
ffusshan 发表于 2010-6-22 12:50
那个网页附件后面有说明的: The Programs Two programs are provided for the NXT Segway with Rider, Segway and SegwayBT. Both of these programs balance the robot using a form of "PID Controller". See this Wikipedia article on PID Control for technical information on how a PID controller works. The Segway program will make the robot automatically balance itself, based on its initial position, without any leaning movement by the rider. When using this program, you can lock the rider in place to keep him upright as explained below. The SegwayBT program adds Bluetooth remote control to allow you to control the forward and backward lean of the rider from another NXT brick via Bluetooth. First, establish a Bluetooth connection from the second NXT (the remote control) to the Segway NXT on Connection 1, then run the SegwayRemote program on the remote control NXT and the SegwayBT program on the Segway NXT, starting with the Segway balanced. Now pressing the gray Left and Right arrow buttons on the remote control NXT will cause the rider to lean slightly in that direction. Use only slight movements (e.g. one or two presses in each direction), so that the Segway can keep up with the motion. Segway是NXT自平衡程序,无法通过遥控来控制NXT向前向后运动。 SegwayBT和SegwayRemote是配合使用的两个蓝牙程序:SegwayBT运行在自平衡的NXT上,SegwayRemote运行在用于蓝牙遥控的NXT上,具体细节见上面英文最后一段的说明。 |