⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 tinyos最新版
💻
字号:
Current CotsBots ApplicationsAuthor/Contact: cotsbots-help@millennium.berkeley.eduIf using a Makelocal file in tinyOS-1.x/apps, make sure to copy that file into this directory before installing applications in this folder.Figure8:Figure8 runs the tos/lib/Robot/Figure8M component with the default values.The robot should move in a figure8 pattern, although this depends tremendously on surface, battery voltage, etc.  Because there is no positionfeedback currently being used, this pattern is completely open-loop andmust be calibrated.MotorBoardTop:It is expected that this component run on the UC Berkeley motor board equippedwith an Atmel ATmega8L microcontroller.  MotorBoardTop provides access toall of the robot-specific hardware drivers as well as the communicationinterface to the master mote.MotorBoardTopM provides a top-level message parser to implement thecommands provided by tos/lib/Robot/MotorBoard.h.  It also has the abilityto send messages to the master mote (debug or otherwise).If a platform other than the Mini-Z is used (differential drive robot forexample), the implementation details of how the robot turns should beprovided here.  For example, the current setTurn message sets the turningangle of the Mini-Z servo.  However, for a differential-drive robot, settingthe turning angle would involve moving the two motors at different speedsand directions.  It might also be better to write a "controller" interfacehere instead that takes in velocity and rate of rotation (and then mapthis to control of the motors).Obstacle:This is an obstacle-avoidance program that utilizes the accelerometer onthe mica sensorboard to determine the presence of an obstacle.  Whenan obstacle is detected, the robot will back up, turn, and go in anew direction.TestMotorBoard:TestMotorBoard tests the interface to the motorboard.  It receives andsends messages over the radio interface as well as over the motor boardinterface.  Incoming radio packets are transformed into motor packets.  Inaddition, packets sent from the motor board (which may contain accelerometeror servo debugging information) are relayed back over the radio.TestNavigation:TestNavigation tests the NavigationC/M component.  It accepts a radiomessage that tells the robot its current x-y position in cm, its currentheading in radians (-pi,pi) and the position it should go to.  TestNavigationcalls the Navigation.navigate command to move the robot from point A to pointB.  In addition, debugging capability is provided in the Navigation componentto check the calculations at various steps.BeepDiffusion:The goal of BeepDiffusion is to spread robots out in a confined space.  Eachrobot beeps in turn and if the other robots hear it, they move forward.  Ituses obstacle avoidance through the accelerometer component (Obstacleabove).  In this way, the robots act as gas particles diffusing throughouta space -- bouncing off walls.  In this case though, if no robots can hearthe others, they stop and consider themselves spread far enough.  There arestill some problems with this application -- namely getting consistent beepradii.  BeepDiffusion has two components -- BeepDiffusionC and StartDiffusion.BeepDiffusion is the main application to be run on the robots and StartDiffusion injects packets into the network to start the application.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -