Skip to content

Commit

Permalink
Added some comments to MegaRobogaiaPololu sketch
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Goebel committed Dec 15, 2012
1 parent 9befd25 commit 3b2742b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ The *sensorstate\_rate* determines how often to publish an aggregated
list of all sensor readings. Each sensor also publishes on its own
topic and rate.

The base\_controller\_rate determines how often to publish odometry readings.
The *base\_controller\_rate* determines how often to publish odometry readings.

_Defining Sensors_

Expand All @@ -198,7 +198,7 @@ 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
of those listed (case sensitive!). The default *direction* is input so
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 turned on and off
at a rate of 2 times per second.

_Setting Drivetrain and PID Parameters_
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* Functions and type-defs for PID control. Take mostly from Mike Ferguson's
ArbotiX code.
/* Functions and type-defs for PID control.
Taken mostly from Mike Ferguson's ArbotiX code which lives at:
http://vanadium-ros-pkg.googlecode.com/svn/trunk/arbotix/
*/

/* PID setpoint info For a Motor */
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Define the attachment of any servos here.
The example shows one servo attached on pin 11.
The example shows two servos attached on pins 3 and 6.
*/

#define N_SERVOS 2
Expand Down

0 comments on commit 3b2742b

Please sign in to comment.