Skip to content

Commit 4a0ba8d

Browse files
author
apollo.auto
committed
apollo-platform: Apollo Platform for Apollo 1.0 Release
0 parents  commit 4a0ba8d

File tree

7,343 files changed

+921357
-0
lines changed

Some content is hidden

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

7,343 files changed

+921357
-0
lines changed

AUTHORS.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
| Github account | name |
2+
|---|---|
3+
| apollo-jingaowang | Jingao Wang |
4+
| jmtao | Jiaming Tao |
5+
| bjtulynn | Liming Xia |
6+
| Capri2014 | Qi Luo |
7+
| chinasunlei07 | Lei Sun |
8+
| fengqikai1414 | Kaiwen Feng |
9+
| GoLancer | Wei He |
10+
| henryhu6 | Sen Hu |
11+
| hillbrook | Lei Zhang |
12+
| jinghaomiao | Jinghao Miao |
13+
| joaospinto | Joao Sousa-Pinto |
14+
| journey-wang | Peng Wang |
15+
| kechxu | Kecheng Xu |
16+
| lianglia-apollo | Liangliang Zhang |
17+
| qiankunzhu | Zhenguang Zhu |
18+
| quning78 | Ning Qu |
19+
| siyangy | Siyang Yu |
20+
| startcode | Dong Li |
21+
| wanglei828 | Lei Wang |
22+
| weidezhang | Weide Zhang |
23+
| xczhanjun | Jun Zhan |
24+
| xiaoxq | Xiangquan Xiao |
25+
| YajiaZhang | Yajia Zhang |
26+
| ycool | Jiangtao Hu |
27+
| ygcn | Guang Yang |
28+
| yifeijiang | Yifei Jiang |
29+
| breakds | Break Yang |
30+
| zhoudawen | David Zhou |
31+
| aiguo159 | Aiguo Fei |

README.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Apollo-Platform
2+
3+
The Apollo-platform will cover all the platform level support.
4+
In the first release, we add the most popular solution Robot
5+
Operating System (ROS) under ros directory.
6+
7+
## ROS
8+
9+
### Introduction
10+
11+
The Robot Operating System (ROS) is flexible framework for writing robot software.
12+
This release is originated from ROS Indigo release.
13+
14+
### What is the difference
15+
16+
Compared to original ROS, we made the following improvements to enhance its stability and performance:
17+
18+
* ROS Decentralization Feature
19+
* High Efficient Communication based on Shared Memory Transport Feature
20+
* Native Support with Protobuf Feature
21+
22+
For more details of each feature, please find in the [Design Docs](https://github.com/ApolloAuto/apollo-platform/blob/master/ros/docs/design).
23+
24+
The Apollo team would like to thank everybody in the open source community. The GitHub apollo-platform/ros is based on ROS. Currently, Apollo team maintains this repository. In near future, we’ll send patches back to ROS community.
25+
26+
### License
27+
28+
All the features developed on ROS comply with the original ROS License which is BSD. However, those packages added for Apollo tools or examples are release Under Apache 2.0 License.
29+
30+
Under the current Apollo Platform release, there are two packages (orocos_kdl and xmlrpcpp) using LGPL license, which will only be dynamic linked into Apollo project. We are also releasing all the corresponding source code.
31+
32+
### How to Download the Release Package
33+
34+
Download the release packages from the release section on github:
35+
36+
```
37+
https://github.com/ApolloAuto/apollo-platform/releases
38+
```
39+
40+
### How to Install
41+
42+
After having the release package downloaded:
43+
44+
```
45+
tar zxvf ros-indigo-apollo-1.0.0.x86_64.tar.gz
46+
rsync -av ros/ /apollo/third_party/ros_x86_64
47+
source /apollo/third_party/ros_x86_64/setup.bash
48+
```
49+
50+
(Apollo docker is currently the only supported runtime environment)
51+
52+
### How to Build
53+
54+
If you would like customize and build your own ROS, please reference the [Apollo 1.0 Quick Start for Developers](https://github.com/ApolloAuto/apollo/blob/master/docs/quickstart/apollo_1_0_quick_start_developer.md)

ros/LICENSE

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
BSD 3-Clause License
2+
3+
Copyright (c) 2017 Apollo Authors.
4+
All rights reserved.
5+
6+
Redistribution and use in source and binary forms, with or without
7+
modification, are permitted provided that the following conditions are met:
8+
9+
* Redistributions of source code must retain the above copyright notice, this
10+
list of conditions and the following disclaimer.
11+
12+
* Redistributions in binary form must reproduce the above copyright notice,
13+
this list of conditions and the following disclaimer in the documentation
14+
and/or other materials provided with the distribution.
15+
16+
* Neither the name of the copyright holder nor the names of its
17+
contributors may be used to endorse or promote products derived from
18+
this software without specific prior written permission.
19+
20+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

ros/actionlib/.tar

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
{!!python/unicode 'url': 'https://github.com/ros-gbp/actionlib-release/archive/release/indigo/actionlib/1.11.5-0.tar.gz',
2+
!!python/unicode 'version': actionlib-release-release-indigo-actionlib-1.11.5-0}

ros/actionlib/CHANGELOG.rst

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2+
Changelog for package actionlib
3+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4+
5+
1.11.5 (2016-03-14)
6+
-------------------
7+
* update maintainer
8+
* Merge pull request `#42 <https://github.com/ros/actionlib/issues/42>`_ from jonbinney/python3-compat
9+
Python 3 compatibility changes
10+
* More readable iteration in state name lookup
11+
* Update syntax for exception handling
12+
* Iterate over dictionary in python3 compatible way
13+
* Use absolute imports for python3 compatibility
14+
* Merge pull request `#39 <https://github.com/ros/actionlib/issues/39>`_ from clearpathrobotics/action-fixup
15+
Minor improvements
16+
* Enable UI feedback for preempt-requested goal in axserver.py
17+
* Clean up axclient.py initialization to allow starting before actionserver, requires action type passed in
18+
* Add hashes to ServerGoalHandle and ClientGoalHandles
19+
* Contributors: Esteve Fernandez, Jon Binney, Mikael Arguedas, Paul Bovbel
20+
21+
1.11.4 (2015-04-22)
22+
-------------------
23+
* Initialize execute_thread_ to NULL
24+
* Contributors: Esteve Fernandez
25+
26+
1.11.3 (2014-12-23)
27+
-------------------
28+
* Increase queue sizes to match Python client publishers.
29+
* Adjust size of client publishers in Python
30+
* Contributors: Esteve Fernandez, Michael Ferguson
31+
32+
1.11.2 (2014-05-20)
33+
-------------------
34+
* Update python publishers to define queue_size.
35+
* Use the correct queue for processing MessageEvents
36+
* Contributors: Esteve Fernandez, Michael Ferguson, Nican
37+
38+
1.11.1 (2014-05-08)
39+
-------------------
40+
* Fix uninitialised execute_thread_ member pointer
41+
* Make rostest in CMakeLists optional
42+
* Use catkin_install_python() to install Python scripts
43+
* Contributors: Dirk Thomas, Esteve Fernandez, Jordi Pages, Lukas Bulwahn
44+
45+
1.11.0 (2014-02-13)
46+
-------------------
47+
* replace usage of __connection_header with MessageEvent (`#20 <https://github.com/ros/actionlib/issues/20>`_)
48+
49+
1.10.3 (2013-08-27)
50+
-------------------
51+
* Merged pull request `#15 <https://github.com/ros/actionlib/issues/15>`_
52+
Fixes a compile issue for actionlib headers on OS X
53+
54+
1.10.2 (2013-08-21)
55+
-------------------
56+
* separating ActionServer implementation into base class and ros-publisher-based class (`#11 <https://github.com/ros/actionlib/issues/11>`_)
57+
* support CATKIN_ENABLE_TESTING
58+
* add isValid to ServerGoalHandle (`#14 <https://github.com/ros/actionlib/issues/14>`_)
59+
* make operators const (`#10 <https://github.com/ros/actionlib/issues/10>`_)
60+
* add counting of connections to avoid reconnect problem when callbacks are invoked in different order (`#7 <https://github.com/ros/actionlib/issues/7>`_)
61+
* fix deadlock in simple_action_server.py (`#4 <https://github.com/ros/actionlib/issues/4>`_)
62+
* fix missing runtime destination for library (`#3 <https://github.com/ros/actionlib/issues/3>`_)
63+
64+
1.10.1 (2013-06-06)
65+
-------------------
66+
* fix location of library before installation (`#1 <https://github.com/ros/actionlib/issues/1>`_)
67+
68+
1.10.0 (2013-04-11)
69+
-------------------
70+
* define DEPRECATED only if not defined already
71+
* modified dependency type of catkin to buildtool
72+
73+
1.9.11 (2012-12-13)
74+
-------------------
75+
* first public release for Groovy
76+
77+
1.8.7 (2012-06-14)
78+
------------------
79+
* add new CommState LOST
80+
* added more missing dependencies
81+
82+
1.8.6 (2012-06-05)
83+
------------------
84+
* added missing dependencies
85+
86+
1.8.5 (2012-05-31)
87+
------------------
88+
* make axclient work base on topic name only
89+
90+
1.8.4 (2012-04-05)
91+
------------------
92+
* add missing axserver/axclient install
93+
94+
1.8.3 (2012-03-15)
95+
------------------
96+
* fix issue with locking in action server (`#5391 <https://code.ros.org/trac/ros-pkg/ticket/5391>`_)
97+
98+
1.8.2 (2012-02-29)
99+
------------------
100+
* update to newer catkin API
101+
102+
1.8.1 (2012-02-21)
103+
------------------
104+
* fix Python packaging
105+
106+
1.8.0 (2012-02-07)
107+
------------------
108+
* separated from common stack
109+
* converted to use catkin

ros/actionlib/CMakeLists.txt

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
cmake_minimum_required(VERSION 2.8.3)
2+
project(actionlib)
3+
4+
find_package(catkin REQUIRED COMPONENTS actionlib_msgs message_generation roscpp rosunit std_msgs)
5+
find_package(Boost REQUIRED COMPONENTS thread)
6+
7+
include_directories(include ${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS})
8+
link_directories(${catkin_LIBRARY_DIRS})
9+
10+
catkin_python_setup()
11+
12+
add_action_files(DIRECTORY action FILES Test.action TestRequest.action TwoInts.action)
13+
generate_messages(DEPENDENCIES actionlib_msgs std_msgs)
14+
15+
catkin_package(
16+
INCLUDE_DIRS include
17+
LIBRARIES actionlib
18+
CATKIN_DEPENDS actionlib_msgs message_runtime roscpp std_msgs
19+
DEPENDS Boost
20+
)
21+
22+
add_library(actionlib src/connection_monitor.cpp src/goal_id_generator.cpp)
23+
target_link_libraries(actionlib ${catkin_LIBRARIES} ${Boost_LIBRARIES})
24+
add_dependencies(actionlib actionlib_gencpp)
25+
26+
catkin_install_python(PROGRAMS tools/axclient.py tools/axserver.py tools/dynamic_action.py tools/library.py
27+
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
28+
install(TARGETS ${PROJECT_NAME}
29+
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
30+
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
31+
RUNTIME DESTINATION ${CATKIN_GLOBAL_BIN_DESTINATION})
32+
install(DIRECTORY include/${PROJECT_NAME}/
33+
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
34+
FILES_MATCHING PATTERN "*.h")
35+
36+
if(CATKIN_ENABLE_TESTING)
37+
find_package(rostest)
38+
add_subdirectory(test)
39+
endif()

ros/actionlib/action/Test.action

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
int32 goal
2+
---
3+
int32 result
4+
---
5+
int32 feedback
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
int32 TERMINATE_SUCCESS = 0
2+
int32 TERMINATE_ABORTED = 1
3+
int32 TERMINATE_REJECTED = 2
4+
int32 TERMINATE_LOSE = 3
5+
int32 TERMINATE_DROP = 4
6+
int32 TERMINATE_EXCEPTION = 5
7+
int32 terminate_status
8+
bool ignore_cancel # If true, ignores requests to cancel
9+
string result_text
10+
int32 the_result # Desired value for the_result in the Result
11+
bool is_simple_client
12+
duration delay_accept # Delays accepting the goal by this amount of time
13+
duration delay_terminate # Delays terminating for this amount of time
14+
duration pause_status # Pauses the status messages for this amount of time
15+
---
16+
int32 the_result
17+
bool is_simple_server
18+
---

ros/actionlib/action/TwoInts.action

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
int64 a
2+
int64 b
3+
---
4+
int64 sum
5+
---

0 commit comments

Comments
 (0)