Fixed typos in README

This commit is contained in:
Patrick Goebel 2012-12-15 10:45:31 -08:00
parent d9f3c7a87c
commit 9befd256ed

View File

@ -173,12 +173,12 @@ The MegaRobogaiaPololu Arudino sketch connects at 57600 baud by default.
_Polling Rates_ _Polling Rates_
The main rate parameter (50 Hz by default) determines how fast the The main *rate* parameter (50 Hz by default) determines how fast the
outside ROS loop runs. The default should suffice in most cases. In outside ROS loop runs. The default should suffice in most cases. In
any event, it should be at least as fast as your fastest sensor rate any event, it should be at least as fast as your fastest sensor rate
(defined below). (defined below).
The sensorstate_rate determines how often to publish an aggregated The *sensorstate\_rate* determines how often to publish an aggregated
list of all sensor readings. Each sensor also publishes on its own list of all sensor readings. Each sensor also publishes on its own
topic and rate. topic and rate.
@ -191,12 +191,12 @@ sensor parameters. (You can name each sensor whatever you like but
remember that the name for a sensor will also become the topic name remember that the name for a sensor will also become the topic name
for that sensor.) for that sensor.)
The four most important parameters are pin, type, rate and direction. The four most important parameters are *pin*, *type*, *rate* and *direction*.
The rate defines how many times per second you want to poll that The *rate* defines how many times per second you want to poll that
sensor. For example, a voltage sensor might only be polled once a sensor. For example, a voltage sensor might only be polled once a
second (or even once every 2 seconds: rate=0.5), whereas a sonar second (or even once every 2 seconds: rate=0.5), whereas a sonar
sensor might be polled at 20 times per second. The type must be one sensor might be polled at 20 times per second. The *type* must be one
of those listed (case sensitive!). The default direction is input so of those listed (case sensitive!). The default *direction* is input so
to define an output pin, set the direction explicitly to output. In to define an output pin, set the direction explicitly to output. In
the example above, the Arduino LED (pin 13) will be blinked on and off the example above, the Arduino LED (pin 13) will be blinked on and off
at a rate of 2 times per second. at a rate of 2 times per second.