Skip to content

Commit 89c2c9c

Browse files
Bryon Gloden, CISSP®bgoldfai
authored andcommitted
Release v0.2.0
1 parent 5f0f33b commit 89c2c9c

File tree

103 files changed

+3395
-2555
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+3395
-2555
lines changed

Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ INPUT_ENCODING = UTF-8
628628
# *.hxx *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.dox *.py
629629
# *.f90 *.f *.for *.vhd *.vhdl
630630

631-
FILE_PATTERNS = *.c *.cc *.cxx *.cpp *.c++ *.d *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.dox *.py *.f90 *.f *.for *.vhd *.vhdl *.pde *.ino
631+
FILE_PATTERNS = *.c *.cc *.cxx *.cpp *.c++ *.d *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.dox *.py *.f90 *.f *.for *.vhd *.vhdl *.pde *.ino *.msg *.srv
632632

633633
# The RECURSIVE tag can be used to turn specify whether or not subdirectories
634634
# should be searched for input files as well. Possible values are YES and NO.

README.md

Lines changed: 35 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,20 @@
44

55
Software for the AutoRally research platform.
66

7-
AutoRally Platform Website: http://autorally.github.io
7+
[AutoRally Platform Website](http://autorally.github.io)
88

9-
AutoRally Research Website: http://rehg.org/autorally
9+
[AutoRally Youtube Channel](https://www.youtube.com/channel/UCSt0P1uqi4zU5RX2DZC_Qvg)
10+
11+
Research Pages AutoRally is associated with:
12+
* http://rehg.org/autorally
13+
* http://dcsl.gatech.edu/research-muri-nascar.html
14+
* http://acds-lab.gatech.edu/Research.html
15+
16+
## Contributing
17+
18+
We welcome bug fixes, ehancements, new features, and [feedback](https://github.com/AutoRally/autorally/issues)!
19+
20+
Please submit pull requests to the [devel branch](https://github.com/AutoRally/autorally/pull/new/devel) that conform to the [ROS C++ Style Guide](http://wiki.ros.org/CppStyleGuide). We use Gitflow, so master branch is reserved for releases.
1021

1122
## Setup Instructions
1223

@@ -21,26 +32,19 @@ AutoRally Research Website: http://rehg.org/autorally
2132
1. __Install [Ubuntu 14.04 64-bit](http://www.ubuntu.com)__
2233
2. __Install required packages__
2334

24-
```sudo apt-get install git doxygen openssh-server libusb-dev```
35+
```sudo apt-get install git doxygen openssh-server libusb-dev texinfo```
2536

2637
_Recommended Tools_
2738

2839
The following tools are useful, but not necessary for this project.
2940
* feh
3041
* cutecom
3142
* cmake-curses-gui
32-
* texinfo
3343
* coriander
3444
* synaptic
3545
* arduino
3646
* python-termcolor
3747

38-
_Compute Box Dependencies_
39-
40-
When installing software on an AutoRally compute box, include these dependencies as well:
41-
42-
```sudo apt-get install lm-sensors acpi gpsd-clients```
43-
4448
3. __[Install](http://www.ros.org/install/) ros-indigo-desktop-full__
4549
4. __Install gtsam__
4650

@@ -54,13 +58,14 @@ AutoRally Research Website: http://rehg.org/autorally
5458

5559
```sudo ldconfig```
5660

57-
### 2. Clone Repositories
61+
### 2. Clone or Fork Repositories
5862

59-
Clone the autorally and imu_3dm_gx4 repositories into a [catkin workspace](http://wiki.ros.org/catkin/workspaces). The suggested location is `~/catkin_ws/src/`, but any valid catkin worskspace source folder will work.
63+
Get the autorally and imu_3dm_gx4 repositories in a [catkin workspace](http://wiki.ros.org/catkin/workspaces). The suggested location is `~/catkin_ws/src/`, but any valid catkin worskspace source folder will work. We suggest forking if you will be working with the code.
6064

61-
```git clone https://github.com/AutoRally/imu_3dm_gx4.git```
65+
To clone:
6266

63-
```git clone https://github.com/AutoRally/autorally.git```
67+
git clone https://github.com/AutoRally/autorally.git
68+
git clone https://github.com/AutoRally/imu_3dm_gx4.git
6469

6570
### 3. Install AutoRally ROS Dependencies
6671

@@ -72,7 +77,11 @@ Within the catkin workspace folder, run this command to install the packages thi
7277

7378
To compile and install run `catkin_make` from the catkin workspace folder.
7479

75-
Due to the additional requirement of ROS's distributed launch system, you must run `source autorally/autorally_util/setupEnvLocal.sh` before using any autorally components. For more information about how to set this system up for distributed launches on your vehicle platform, see the wiki.
80+
Due to the additional requirement of ROS's distributed launch system, you must run
81+
82+
`source autorally/autorally_util/setupEnvLocal.sh`
83+
84+
before using any AutoRally components. See the [wiki](https://github.com/AutoRally/autorally/wiki) for more information about how to set this system up for distributed launches on your vehicle platform.
7685

7786
_Note:_ If you are unfamiliar with catkin, please know that you must run `source <catkin_ws>/devel/setup.sh` before ROS will be able to locate the autorally packages. This line can be added to your ~/.bashrc file.
7887

@@ -84,6 +93,16 @@ To view code documentation open `autorally/doc/html/index.html` in a web browser
8493

8594
### 5. Test Setup in Simulation
8695

87-
To test that your setup process was successful, run the AutoRally simulator with the following command. If you have a USB gamepad, plug it in to your computer before launching this simulator. You will be able to drive the virtual platform around using this gamepad.
96+
To test that your setup process was successful, run the AutoRally simulator with the following command. You can use a USB gamepad to drive the simulated platform around. On startup, the `runstop` message published by the joystick node is false. Press any of the buttons by the right stick (normally labelled X, Y, A, B or square, triangle, X, circle) to toggle the published value.
8897

98+
If you do not have a gamepad and want to control the platform autonomously in simulation, comment out the joystick node launch line in the simulation launch file so that it doesn't publish a `runstop` message that is always false.
99+
89100
```roslaunch autorally_gazebo autoRallyTrackGazeboSim.launch```
101+
102+
## What's Next
103+
104+
Check out the [wiki](https://github.com/AutoRally/autorally/wiki) for:
105+
* Instructions to configure a physical AutoRally platform
106+
* Tutorials for released controllers (waypoint follower, constant speed controller)
107+
* Tutorial to use your own controller with the AutoRally platform
108+
* Information about how to run the included state estimator

autorally_control/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ find_package(catkin REQUIRED COMPONENTS
1616
)
1717

1818
find_package(Boost 1.49.0 REQUIRED)
19-
find_package(Eigen REQUIRED)
19+
find_package(Eigen3 REQUIRED)
2020

2121
set(BUILD_FLAGS "-std=c++11 -Wuninitialized")
2222
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${BUILD_FLAGS}")
@@ -29,7 +29,7 @@ catkin_package(
2929
INCLUDE_DIRS include
3030
)
3131

32-
include_directories(include ${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIR} ${Eigen_INCLUDE_DIRS})
32+
include_directories(include ${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIR} ${Eigen3_INCLUDE_DIRS})
3333

3434
add_subdirectory(src/ConstantSpeedController)
3535
add_subdirectory(src/joystick)

autorally_control/launch/constantSpeedController.launch

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<launch>
22
<include file="$(find autorally_core)/launch/hardware.machine" />
33

4-
<node pkg="nodelet" type="nodelet" name="ConstantSpeedControllerB" args="load control/ConstantSpeedController autorally_core_manager" output="screen">
4+
<node pkg="nodelet" type="nodelet" name="ConstantSpeedController" args="load autorally_control/ConstantSpeedController autorally_core_manager" output="screen" machine="autorally-master">
55

66
<rosparam param="throttleCalibration" command="load" file="$(env AR_CONFIG_PATH)/throttlePositionCalibration.yaml" />
77
<param name="speedCommander" value="OCS" />
@@ -12,7 +12,6 @@
1212
<param name="accelerationRate" value="0.0" />
1313
<param name="KI" value="0.001" />
1414
<param name="IMax" value="0.2" />
15-
<remap from="/safeSpeed" to="/targetSpeed" />
1615

1716
</node>
1817

autorally_control/launch/gpsWaypoint.launch

Lines changed: 0 additions & 22 deletions
This file was deleted.

autorally_control/launch/joystickController.launch

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,26 @@
11
<launch>
22
<include file="$(find autorally_core)/launch/hardware.machine" />
33

4-
<node name="joy_node" pkg="joy" type="joy_node" output="screen" machine="muri-ocs">
4+
<node name="joy_node" pkg="joy" type="joy_node" output="screen" machine="autorally-ocs">
55
<param name="dev" value="/dev/input/js0" />
6-
<param name="deadzone" value="0.02" />
6+
<param name="deadzone" value="0.01" />
77
<param name="autorepeat_rate" value="10" />
88
<param name="coalesce_interval" value="0.01" />
99
</node>
1010

11-
<node name="joystickController" pkg="autorally_control" type="joystickController" output="screen" machine="muri-ocs">
11+
<node name="joystickController" pkg="autorally_control" type="joystickController" output="screen" machine="autorally-ocs">
1212
<param name="throttleDamping" value="1.0" />
1313
<param name="steeringDamping" value="1.0" />
1414
<param name="throttleAxis" value="1" />
1515
<param name="steeringAxis" value="3" />
16+
<rosparam param="runstopToggleButtons">[0, 1, 2, 3]</rosparam>
1617
<param name="safeSpeedIncButton" value="0" />
1718
<param name="safeSpeedDecButton" value="3" />
1819
<param name="safeSpeedZeroButton1" value="1" />
1920
<param name="safeSpeedZeroButton2" value="2" />
2021
<param name="throttleEnableButton" value="4" />
2122
<param name="steeringEnableButton" value="5" />
2223

23-
<param name="throttleBrakePaired" value="True" />
24-
<param name="frontBrake" value="True" />
25-
2624
<param name="brakeAxis" value="2" />
2725
<remap from="/safeSpeed" to="/targetSpeed" />
2826
</node>

autorally_control/launch/recordWpts.launch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<launch>
22
<include file="$(find autorally_core)/launch/hardware.machine" />
33

4-
<node pkg="autorally_control" type="GenerateWaypoints" name="WaypointGen" output="screen">
4+
<node pkg="autorally_control" type="GenerateWaypoints" name="WaypointGen" output="screen" machine="autorally-master">
55
<param name="WaypointDistance" value="0.5" />
6-
<param name="WaypointFile" value="$(find autorally_core)/waypoints" />
6+
<param name="WaypointFile" value="$(find autorally_control)/launch/waypoints" />
77
<remap from="/WaypointGen/gps" to="/pose_estimate"/>
88
</node>
99

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<launch>
2+
<include file="$(find autorally_core)/launch/hardware.machine" />
3+
4+
<node name="waypointFollower" pkg="autorally_control" type="gpsWaypoint" output="screen" machine="autorally-master">
5+
<param name="WaypointFile" value="$(find autorally_control)/launch/waypoints"/>
6+
<param name="WaypointRadius" value="1.0"/>
7+
<param name="HeadingP" value="2.5"/>
8+
<remap from="/waypointFollower/Speeds" to="/wheelSpeeds"/>
9+
<remap from="/waypointFollower/Odom" to="/pose_estimate"/>
10+
<remap from="/waypointFollower/Pose" to="/imu_data"/>
11+
<remap from="/waypointFollower/imageMask" to="/imageMask"/>
12+
<remap from="/waypointFollower/servoCommand" to="/waypointFollower/servoCommand"/>
13+
</node>
14+
</launch>

autorally_control/launch/waypoints

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
-4.28133096191,4.52923845036
2+
-4.67314206709,4.88899952285
3+
-5.04550394009,5.23344260074
4+
-5.41338026704,5.57693292516
5+
-5.78223082111,5.92435076606
6+
-6.15059269523,6.27181471353
7+
-6.51610753564,6.6164449385
8+
-6.88391193938,6.96485976029
9+
-7.25040958617,7.31252525947
10+
-7.61469527066,7.66133200806
11+
-7.97840332773,8.00882954401
12+
-8.34106085485,8.35559453533
13+
-8.70580710165,8.70378943482
14+
-9.06959863299,9.05155532565
15+
-9.44611743816,9.3888781596
16+
-9.86381209567,9.66530789472
17+
-10.2946900411,9.92663290285
18+
-10.7547055615,10.127237672
19+
-11.2516092591,10.219833547
20+
-11.7558820128,10.2163790175
21+
-12.2554570195,10.1843254937
22+
-12.7550773777,10.1415403987
23+
-13.2581356247,10.0916878196
24+
-13.7544658239,10.0092031063
25+
-14.2494533074,9.90714747715
26+
-14.740126115,9.78467551985
27+
-15.2200565189,9.63718967623
28+
-15.6836017361,9.44944188479
29+
-16.1793352819,9.13554032264
30+
-16.5471591679,8.78895747548
31+
-16.9016822633,8.430392615
32+
-17.2510495502,8.06782518165
33+
-17.5920890013,7.7011267033
34+
-17.908716359,7.30425749344
35+
-18.1794520099,6.87504828121
36+
-18.3425423842,6.39758681985
37+
-18.4597130043,5.90510285854
38+
-18.5753086937,5.41239493868
39+
-18.6762771322,4.91782785549
40+
-18.7489295127,4.42085785426
41+
-18.7295386408,3.91585596868
42+
-18.6286145226,3.42609038896
43+
-18.4889451594,2.94442313626
44+
-18.3402510665,2.45914858743
45+
-18.1651833064,1.98173053624
46+
-17.917689814,1.53909444871
47+
-17.6103012576,1.14390040771
48+
-17.2746824236,0.759957962994
49+
-16.9397679965,0.379879540612
50+
-16.6030792642,-0.003432319876
51+
-16.265386381,-0.385045219685
52+
-15.9333060816,-0.765977673427
53+
-15.5935133251,-1.14582953357
54+
-15.2535696899,-1.53204274211
55+
-14.9162828613,-1.90505228474
56+
-14.5841520484,-2.27919748192
57+
-14.2426853609,-2.65161652809
58+
-13.9058030585,-3.02447784377
59+
-13.5592285516,-3.39716801304
60+
-13.2061298629,-3.7726998306
61+
-12.8551641181,-4.14945676596
62+
-12.5095789364,-4.51741637164
63+
-12.1674001803,-4.88609500664
64+
-11.8185885992,-5.25294766609
65+
-11.4665025658,-5.62697515452
66+
-11.1094239069,-6.00738244578
67+
-10.7652621831,-6.37127197707
68+
-10.4227204733,-6.73744260389
69+
-10.0761026779,-7.10883028228
70+
-9.73479994191,-7.4745851353
71+
-9.39070776466,-7.84432867941
72+
-9.04218597345,-8.21795166945
73+
-8.69976337539,-8.58577654114
74+
-8.35697387967,-8.95048233411
75+
-7.93867952829,-9.2295296082
76+
-7.50932472726,-9.49082110913
77+
-7.0442698254,-9.69808616556
78+
-6.59147342626,-9.91800041666
79+
-6.12305987495,-10.0994844911
80+
-5.64460300737,-10.2530422005
81+
-5.14807728273,-10.3545272474
82+
-4.64190114868,-10.3872021436
83+
-4.14736426841,-10.2993687011
84+
-3.6829770276,-10.107375025
85+
-3.22241391556,-9.88335422092
86+
-2.77209139035,-9.65256322087
87+
-2.32361889666,-9.4223400199
88+
-1.87712249063,-9.18450984964
89+
-1.43310296979,-8.94064576017
90+
-1.00535316731,-8.6708922936
91+
-0.619503443152,-8.34540500593
92+
-0.248876468681,-7.99287130764
93+
0.0925035645565,-7.6192559671
94+
0.404324749525,-7.22192488241
95+
0.653979974184,-6.7859917148
96+
0.859967649443,-6.32875982521
97+
1.01697198076,-5.84970727505
98+
1.12420055909,-5.34282448437
99+
1.17197752058,-4.83953116234
100+
1.17258321287,-4.33681151259
101+
1.12572844672,-3.8347976101
102+
1.05987314844,-3.32982384925
103+
0.985133797519,-2.83289289116
104+
0.885343076751,-2.33950926164
105+
0.752171811076,-1.8539721239
106+
0.582025140965,-1.382970678
107+
0.362465112003,-0.932170047864
108+
0.0759059899515,-0.516396477314
109+
-0.228722647928,-0.11543105313
110+
-0.538094153901,0.281595569448
111+
-0.851707050601,0.671762395801

autorally_control/nodelet_plugins.xml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,3 @@
2222
</class>
2323
</library>
2424

25-
<library path="lib/libConstantSpeedControllerB">
26-
<class name="autorally_control/ConstantSpeedControllerB" type="autorally_control::ConstantSpeedControllerB" base_class_type="nodelet::Nodelet">
27-
<description>
28-
Drive robot at a constant speed using wheel speed data
29-
</description>
30-
</class>
31-
</library>

0 commit comments

Comments
 (0)