├── 3rdparty
├── BUILD
└── jvm
│ ├── junit
│ └── BUILD
│ ├── io
│ └── netty
│ │ └── BUILD
│ ├── xml_apis
│ └── BUILD
│ ├── org
│ ├── mockito
│ │ └── BUILD
│ ├── apache
│ │ └── ws
│ │ │ └── commons
│ │ │ └── BUILD
│ └── ros
│ │ └── rosjava_bootstrap
│ │ └── BUILD
│ ├── commons_pool
│ └── BUILD
│ ├── com
│ └── google
│ │ ├── code
│ │ └── findbugs
│ │ │ └── BUILD
│ │ └── guava
│ │ └── BUILD
│ └── dnsjava
│ └── BUILD
├── bazel
├── BUILD.bazel
└── repositories.bzl
├── misc
├── rospack_nosubdirs
└── rosjava_import_order.importorder
├── rosjava_helpers
├── src
│ └── test
│ │ └── resources
│ │ ├── empty.yaml
│ │ └── parameters.yaml
└── build.gradle
├── apache_xmlrpc_client
├── README
├── src
│ └── main
│ │ ├── java
│ │ └── org
│ │ │ └── apache
│ │ │ └── xmlrpc
│ │ │ └── client
│ │ │ ├── XmlRpcClient.properties
│ │ │ ├── XmlRpcStreamTransportFactory.java
│ │ │ ├── XmlRpcLocalClientConfig.java
│ │ │ ├── XmlRpcTransportFactory.java
│ │ │ ├── XmlRpcLiteHttpTransportFactory.java
│ │ │ ├── XmlRpcClientConfig.java
│ │ │ ├── XmlRpcTransportImpl.java
│ │ │ └── XmlRpcTransportFactoryImpl.java
│ │ └── resources
│ │ └── org
│ │ └── apache
│ │ └── xmlrpc
│ │ └── client
│ │ └── XmlRpcClient.properties
├── NOTICE
├── BUILD.bazel
└── build.gradle
├── apache_xmlrpc_common
├── README
├── NOTICE
├── BUILD.bazel
├── build.gradle
└── src
│ └── main
│ └── java
│ └── org
│ └── apache
│ └── xmlrpc
│ ├── parser
│ ├── StringParser.java
│ ├── I1Parser.java
│ ├── I8Parser.java
│ ├── FloatParser.java
│ ├── I2Parser.java
│ ├── LongParser.java
│ ├── DoubleParser.java
│ ├── I4Parser.java
│ ├── NullParser.java
│ ├── BooleanParser.java
│ └── TypeParser.java
│ ├── XmlRpcRequestConfig.java
│ ├── common
│ ├── TypeConverterFactory.java
│ ├── XmlRpcRequestProcessorFactory.java
│ ├── XmlRpcLoadException.java
│ ├── XmlRpcNotAuthorizedException.java
│ ├── XmlRpcStreamConfig.java
│ ├── XmlRpcExtensionException.java
│ ├── XmlRpcStreamRequestProcessor.java
│ └── XmlRpcRequestProcessor.java
│ ├── serializer
│ ├── DoubleSerializer.java
│ ├── StringSerializer.java
│ ├── CharSetXmlWriterFactory.java
│ ├── I4Serializer.java
│ ├── I1Serializer.java
│ ├── I2Serializer.java
│ ├── I8Serializer.java
│ └── FloatSerializer.java
│ └── XmlRpcHandler.java
├── apache_xmlrpc_server
├── README
├── NOTICE
├── BUILD.bazel
├── build.gradle
└── src
│ └── main
│ └── java
│ └── org
│ └── apache
│ └── xmlrpc
│ └── server
│ ├── XmlRpcServerConfig.java
│ ├── ServerHttpConnection.java
│ ├── XmlRpcNoSuchHandlerException.java
│ ├── XmlRpcServerWorkerFactory.java
│ ├── XmlRpcHttpServerConfig.java
│ └── XmlRpcLocalStreamServer.java
├── rosjava
├── .gradle
│ └── 1.0-milestone-8a
│ │ └── taskArtifacts
│ │ ├── cache.properties.lock
│ │ ├── cache.properties
│ │ ├── taskArtifacts.bin
│ │ └── outputFileStates.bin
├── test
│ ├── SlaveApiTestNode
│ ├── PassthroughTestNode
│ ├── ParameterServerTestNode
│ ├── rosjava_profile.yaml
│ ├── slave_api.rostest
│ ├── int64_passthrough.rostest
│ ├── composite_passthrough.rostest
│ ├── testheader_passthrough.rostest
│ ├── parameter_client.rostest
│ ├── slave_api_simtime.rostest
│ ├── parameter_client_params.yaml
│ ├── string_publisher.py
│ ├── int64_publisher.py
│ ├── testheader_publisher.py
│ ├── composite_publisher.py
│ └── string_passthrough.rostest
├── src
│ ├── main
│ │ └── java
│ │ │ └── org
│ │ │ └── ros
│ │ │ ├── internal
│ │ │ ├── node
│ │ │ │ ├── service
│ │ │ │ │ ├── ServiceResponseDecoderState.java
│ │ │ │ │ ├── package-info.java
│ │ │ │ │ ├── ServiceManagerListener.java
│ │ │ │ │ ├── Service.java
│ │ │ │ │ └── ServiceServerResponse.java
│ │ │ │ ├── client
│ │ │ │ │ └── package-info.java
│ │ │ │ ├── server
│ │ │ │ │ ├── package-info.java
│ │ │ │ │ ├── master
│ │ │ │ │ │ ├── package-info.java
│ │ │ │ │ │ └── MasterRegistrationListener.java
│ │ │ │ │ └── ServerException.java
│ │ │ │ ├── topic
│ │ │ │ │ ├── package-info.java
│ │ │ │ │ └── TopicParticipant.java
│ │ │ │ ├── response
│ │ │ │ │ ├── package-info.java
│ │ │ │ │ ├── VoidResultFactory.java
│ │ │ │ │ ├── ObjectResultFactory.java
│ │ │ │ │ ├── BooleanResultFactory.java
│ │ │ │ │ ├── StringResultFactory.java
│ │ │ │ │ ├── IntegerResultFactory.java
│ │ │ │ │ ├── ResultFactory.java
│ │ │ │ │ ├── UriResultFactory.java
│ │ │ │ │ ├── StringListResultFactory.java
│ │ │ │ │ ├── TopicTypeListResultFactory.java
│ │ │ │ │ └── StatusCode.java
│ │ │ │ ├── xmlrpc
│ │ │ │ │ ├── package-info.java
│ │ │ │ │ ├── XmlRpcEndpoint.java
│ │ │ │ │ └── XmlRpcTimeoutException.java
│ │ │ │ ├── parameter
│ │ │ │ │ └── package-info.java
│ │ │ │ └── package-info.java
│ │ │ ├── package-info.java
│ │ │ ├── loader
│ │ │ │ └── package-info.java
│ │ │ ├── system
│ │ │ │ └── package-info.java
│ │ │ └── transport
│ │ │ │ ├── package-info.java
│ │ │ │ ├── tcp
│ │ │ │ ├── package-info.java
│ │ │ │ ├── AbstractNamedChannelHandler.java
│ │ │ │ ├── TcpRosProtocolDescription.java
│ │ │ │ └── NamedChannelHandler.java
│ │ │ │ ├── ProtocolNames.java
│ │ │ │ ├── ClientHandshakeListener.java
│ │ │ │ ├── ClientHandshake.java
│ │ │ │ └── ConnectionHeaderFields.java
│ │ │ ├── master
│ │ │ ├── uri
│ │ │ │ ├── package-info.java
│ │ │ │ └── StaticMasterUriProvider.java
│ │ │ ├── client
│ │ │ │ ├── package-info.java
│ │ │ │ ├── SystemState.java
│ │ │ │ └── TopicType.java
│ │ │ └── package-info.java
│ │ │ ├── math
│ │ │ ├── package-info.java
│ │ │ └── CollectionMath.java
│ │ │ ├── namespace
│ │ │ └── package-info.java
│ │ │ ├── time
│ │ │ ├── package-info.java
│ │ │ ├── TimeProvider.java
│ │ │ └── WallTimeProvider.java
│ │ │ ├── address
│ │ │ ├── package-info.java
│ │ │ ├── AdvertiseAddressFactory.java
│ │ │ ├── Address.java
│ │ │ ├── PrivateAdvertiseAddressFactory.java
│ │ │ └── PublicAdvertiseAddressFactory.java
│ │ │ ├── concurrent
│ │ │ ├── package-info.java
│ │ │ ├── DroppedEntryException.java
│ │ │ ├── Rate.java
│ │ │ ├── SignalRunnable.java
│ │ │ └── WallTimeRate.java
│ │ │ ├── node
│ │ │ ├── topic
│ │ │ │ ├── package-info.java
│ │ │ │ └── TransportHints.java
│ │ │ ├── service
│ │ │ │ ├── package-info.java
│ │ │ │ ├── ServiceServerListener.java
│ │ │ │ ├── DefaultServiceServerListener.java
│ │ │ │ ├── ServiceResponseListener.java
│ │ │ │ └── ServiceResponseBuilder.java
│ │ │ ├── package-info.java
│ │ │ ├── parameter
│ │ │ │ ├── package-info.java
│ │ │ │ └── ParameterListener.java
│ │ │ ├── AbstractNodeMain.java
│ │ │ └── DefaultNodeListener.java
│ │ │ ├── Parameters.java
│ │ │ ├── exception
│ │ │ ├── DuplicateServiceException.java
│ │ │ ├── RosException.java
│ │ │ ├── ServiceException.java
│ │ │ ├── RosRuntimeException.java
│ │ │ ├── ServiceNotFoundException.java
│ │ │ ├── RemoteException.java
│ │ │ ├── ParameterNotFoundException.java
│ │ │ └── ParameterClassCastException.java
│ │ │ ├── Topics.java
│ │ │ ├── EnvironmentVariables.java
│ │ │ └── CommandLineVariables.java
│ └── test
│ │ └── java
│ │ └── org
│ │ └── ros
│ │ ├── Assert.java
│ │ └── internal
│ │ └── transport
│ │ └── ConnectionHeaderTest.java
└── .settings
│ └── org.moreunit.prefs
├── gradle
└── wrapper
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── .rosinstall
├── rosjava_tutorial_right_hand_rule
├── world
│ ├── maze.png
│ └── maze-erratic.world
└── build.gradle
├── gradle.properties
├── .gitignore
├── WORKSPACE
├── .hgignore
├── rosjava_tutorial_pubsub
├── BUILD.bazel
└── build.gradle
├── rosjava_geometry
├── build.gradle
└── src
│ └── main
│ └── java
│ └── org
│ └── ros
│ └── rosjava_geometry
│ └── package-info.java
├── rosjava_tutorial_services
└── build.gradle
├── docs
└── src
│ └── main
│ └── sphinx
│ ├── best_practices.rst
│ ├── index.rst
│ ├── overview.rst
│ ├── building.rst
│ ├── installing.rst
│ ├── javadoc.py
│ └── advanced.rst
├── rosjava_test
├── build.gradle
└── scripts
│ └── serialized_message.py
├── rosjava_benchmarks
└── build.gradle
├── settings.gradle
├── package.xml
├── .classpath
└── CMakeLists.txt
/3rdparty/BUILD:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/bazel/BUILD.bazel:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/misc/rospack_nosubdirs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/rosjava_helpers/src/test/resources/empty.yaml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/apache_xmlrpc_client/README:
--------------------------------------------------------------------------------
1 | Based on Apache 3.1.3
2 |
--------------------------------------------------------------------------------
/apache_xmlrpc_common/README:
--------------------------------------------------------------------------------
1 | Based on Apache 3.1.3
2 |
--------------------------------------------------------------------------------
/apache_xmlrpc_server/README:
--------------------------------------------------------------------------------
1 | Based on Apache 3.1.3
2 |
--------------------------------------------------------------------------------
/rosjava/.gradle/1.0-milestone-8a/taskArtifacts/cache.properties.lock:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/rosjava/.gradle/1.0-milestone-8a/taskArtifacts/cache.properties:
--------------------------------------------------------------------------------
1 | #Tue Feb 28 11:34:15 CET 2012
2 |
--------------------------------------------------------------------------------
/apache_xmlrpc_client/src/main/java/org/apache/xmlrpc/client/XmlRpcClient.properties:
--------------------------------------------------------------------------------
1 | user.agent=Apache XML RPC 3.1.3
2 |
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rosjava/rosjava_core/HEAD/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/.rosinstall:
--------------------------------------------------------------------------------
1 | - git:
2 | local-name: rosjava_core
3 | uri: https://github.com/rosjava/rosjava_core/
4 | version: hydro-devel
5 |
--------------------------------------------------------------------------------
/apache_xmlrpc_client/src/main/resources/org/apache/xmlrpc/client/XmlRpcClient.properties:
--------------------------------------------------------------------------------
1 | user.agent=Apache XML RPC ${project.version}
2 |
--------------------------------------------------------------------------------
/rosjava/test/SlaveApiTestNode:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | exec java -jar `rospack find rosjava`/dist/rosjava.jar org.ros.SlaveApiTestNode $@
4 |
--------------------------------------------------------------------------------
/rosjava/test/PassthroughTestNode:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | exec java -jar `rospack find rosjava`/dist/rosjava.jar org.ros.PassthroughTestNode $@
4 |
--------------------------------------------------------------------------------
/misc/rosjava_import_order.importorder:
--------------------------------------------------------------------------------
1 | #Organize Import Order
2 | #Wed Feb 23 23:44:47 PST 2011
3 | 3=javax
4 | 2=java
5 | 1=
6 | 0=com.google
7 |
--------------------------------------------------------------------------------
/rosjava/test/ParameterServerTestNode:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | exec java -jar `rospack find rosjava`/dist/rosjava.jar org.ros.ParameterServerTestNode $@
4 |
--------------------------------------------------------------------------------
/rosjava_tutorial_right_hand_rule/world/maze.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rosjava/rosjava_core/HEAD/rosjava_tutorial_right_hand_rule/world/maze.png
--------------------------------------------------------------------------------
/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.daemon=true
2 | # Fixes "handshake alert: unrecognized_name" error in Java 7.
3 | org.gradle.jvmargs=-Djsse.enableSNIExtension=false
4 |
5 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .pydevproject
2 | *.pyc
3 | .gradle
4 | build
5 | bin
6 | .classpath
7 | .project
8 | .settings
9 | *.iml
10 | .idea
11 | bazel-*
12 | local.properties
13 |
--------------------------------------------------------------------------------
/rosjava/.gradle/1.0-milestone-8a/taskArtifacts/taskArtifacts.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rosjava/rosjava_core/HEAD/rosjava/.gradle/1.0-milestone-8a/taskArtifacts/taskArtifacts.bin
--------------------------------------------------------------------------------
/rosjava/test/rosjava_profile.yaml:
--------------------------------------------------------------------------------
1 | pubs:
2 | '/chatter_out': std_msgs/String
3 | '/int64': std_msgs/Int64
4 | subs:
5 | '/chatter_in': std_msgs/String
6 | '/int64': std_msgs/Int64
--------------------------------------------------------------------------------
/rosjava/.gradle/1.0-milestone-8a/taskArtifacts/outputFileStates.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rosjava/rosjava_core/HEAD/rosjava/.gradle/1.0-milestone-8a/taskArtifacts/outputFileStates.bin
--------------------------------------------------------------------------------
/apache_xmlrpc_client/NOTICE:
--------------------------------------------------------------------------------
1 | Apache XML-RPC
2 | Copyright 1999-2009 The Apache Software Foundation
3 |
4 | This product includes software developed at
5 | The Apache Software Foundation (http://www.apache.org/).
6 |
--------------------------------------------------------------------------------
/apache_xmlrpc_common/NOTICE:
--------------------------------------------------------------------------------
1 | Apache XML-RPC
2 | Copyright 1999-2009 The Apache Software Foundation
3 |
4 | This product includes software developed at
5 | The Apache Software Foundation (http://www.apache.org/).
6 |
--------------------------------------------------------------------------------
/apache_xmlrpc_server/NOTICE:
--------------------------------------------------------------------------------
1 | Apache XML-RPC
2 | Copyright 1999-2009 The Apache Software Foundation
3 |
4 | This product includes software developed at
5 | The Apache Software Foundation (http://www.apache.org/).
6 |
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/internal/node/service/ServiceResponseDecoderState.java:
--------------------------------------------------------------------------------
1 | package org.ros.internal.node.service;
2 |
3 | enum ServiceResponseDecoderState {
4 | ERROR_CODE, MESSAGE_LENGTH, MESSAGE
5 | }
--------------------------------------------------------------------------------
/rosjava_helpers/src/test/resources/parameters.yaml:
--------------------------------------------------------------------------------
1 | string_param: "bar"
2 | int_param: 1823
3 | double_param: 1.74
4 | boolean_param: false
5 | list_param:
6 | - "Hello"
7 | - 1
8 | - 2.3
9 | - true
--------------------------------------------------------------------------------
/rosjava_helpers/build.gradle:
--------------------------------------------------------------------------------
1 | dependencies {
2 | compile project(':rosjava')
3 | compile 'org.yaml:snakeyaml:[1.17, 1.18)'
4 | testCompile 'junit:junit:4.8.2'
5 | testCompile project(':rosjava').sourceSets.test.output
6 | }
7 |
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-bin.zip
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 |
--------------------------------------------------------------------------------
/WORKSPACE:
--------------------------------------------------------------------------------
1 | workspace(name = "com_github_rosjava_rosjava_core")
2 |
3 | load("//3rdparty:workspace.bzl", "maven_dependencies")
4 |
5 | maven_dependencies()
6 |
7 | load("//bazel:repositories.bzl", "rosjava_repositories")
8 |
9 | rosjava_repositories()
10 |
--------------------------------------------------------------------------------
/rosjava/test/slave_api.rostest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/rosjava/test/int64_passthrough.rostest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/3rdparty/jvm/junit/BUILD:
--------------------------------------------------------------------------------
1 | # Do not edit. bazel-deps autogenerates this file from dependencies.yaml.
2 | java_library(
3 | name = "junit",
4 | exports = [
5 | "//external:jar/junit/junit"
6 | ],
7 | visibility = [
8 | "//visibility:public"
9 | ]
10 | )
11 |
12 |
13 |
--------------------------------------------------------------------------------
/3rdparty/jvm/io/netty/BUILD:
--------------------------------------------------------------------------------
1 | # Do not edit. bazel-deps autogenerates this file from dependencies.yaml.
2 | java_library(
3 | name = "netty",
4 | exports = [
5 | "//external:jar/io/netty/netty"
6 | ],
7 | visibility = [
8 | "//visibility:public"
9 | ]
10 | )
11 |
12 |
13 |
--------------------------------------------------------------------------------
/rosjava/test/composite_passthrough.rostest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/rosjava/test/testheader_passthrough.rostest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/3rdparty/jvm/xml_apis/BUILD:
--------------------------------------------------------------------------------
1 | # Do not edit. bazel-deps autogenerates this file from dependencies.yaml.
2 | java_library(
3 | name = "xml_apis",
4 | exports = [
5 | "//external:jar/xml_apis/xml_apis"
6 | ],
7 | visibility = [
8 | "//visibility:public"
9 | ]
10 | )
11 |
12 |
13 |
--------------------------------------------------------------------------------
/.hgignore:
--------------------------------------------------------------------------------
1 | syntax: glob
2 | *.class
3 | *.dex
4 | *.orig
5 | *.swp
6 | *.pyc
7 | *.DS_Store
8 | *~
9 | *.log
10 | *.ap_
11 | *.apk
12 | .cproject
13 | .settings
14 | .classpath
15 | .project
16 | .gradle
17 | target
18 | build
19 | dist
20 | msg_gen
21 | srv_gen
22 | gen
23 | libs
24 | bin
25 | docs/src/main/sphinx/conf.py
26 |
--------------------------------------------------------------------------------
/3rdparty/jvm/org/mockito/BUILD:
--------------------------------------------------------------------------------
1 | # Do not edit. bazel-deps autogenerates this file from dependencies.yaml.
2 | java_library(
3 | name = "mockito_all",
4 | exports = [
5 | "//external:jar/org/mockito/mockito_all"
6 | ],
7 | visibility = [
8 | "//visibility:public"
9 | ]
10 | )
11 |
12 |
13 |
--------------------------------------------------------------------------------
/3rdparty/jvm/commons_pool/BUILD:
--------------------------------------------------------------------------------
1 | # Do not edit. bazel-deps autogenerates this file from dependencies.yaml.
2 | java_library(
3 | name = "commons_pool",
4 | exports = [
5 | "//external:jar/commons_pool/commons_pool"
6 | ],
7 | visibility = [
8 | "//visibility:public"
9 | ]
10 | )
11 |
12 |
13 |
--------------------------------------------------------------------------------
/3rdparty/jvm/com/google/code/findbugs/BUILD:
--------------------------------------------------------------------------------
1 | # Do not edit. bazel-deps autogenerates this file from dependencies.yaml.
2 | java_library(
3 | name = "jsr305",
4 | exports = [
5 | "//external:jar/com/google/code/findbugs/jsr305"
6 | ],
7 | visibility = [
8 | "//visibility:public"
9 | ]
10 | )
11 |
12 |
13 |
--------------------------------------------------------------------------------
/apache_xmlrpc_server/BUILD.bazel:
--------------------------------------------------------------------------------
1 | java_library(
2 | name = "apache_xmlrpc_server",
3 | srcs = glob([
4 | "src/main/**/*.java",
5 | ]),
6 | visibility = ["//visibility:public"],
7 | deps = [
8 | "//3rdparty/jvm/org/apache/commons:com_springsource_org_apache_commons_logging",
9 | "//apache_xmlrpc_common",
10 | ],
11 | )
12 |
--------------------------------------------------------------------------------
/rosjava/test/parameter_client.rostest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/rosjava/test/slave_api_simtime.rostest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/3rdparty/jvm/dnsjava/BUILD:
--------------------------------------------------------------------------------
1 | # Do not edit. bazel-deps autogenerates this file from dependencies.yaml.
2 | java_library(
3 | name = "dnsjava",
4 | exports = [
5 | "//external:jar/dnsjava/dnsjava"
6 | ],
7 | runtime_deps = [
8 | "//3rdparty/jvm/junit:junit"
9 | ],
10 | visibility = [
11 | "//visibility:public"
12 | ]
13 | )
14 |
15 |
16 |
--------------------------------------------------------------------------------
/apache_xmlrpc_common/BUILD.bazel:
--------------------------------------------------------------------------------
1 | java_library(
2 | name = "apache_xmlrpc_common",
3 | srcs = glob([
4 | "src/main/**/*.java",
5 | ]),
6 | visibility = ["//visibility:public"],
7 | deps = [
8 | "//3rdparty/jvm/org/apache/commons:com_springsource_org_apache_commons_httpclient",
9 | "//3rdparty/jvm/org/apache/ws/commons:ws_commons_util",
10 | ],
11 | )
12 |
--------------------------------------------------------------------------------
/3rdparty/jvm/com/google/guava/BUILD:
--------------------------------------------------------------------------------
1 | # Do not edit. bazel-deps autogenerates this file from dependencies.yaml.
2 | java_library(
3 | name = "guava",
4 | exports = [
5 | "//external:jar/com/google/guava/guava"
6 | ],
7 | runtime_deps = [
8 | "//3rdparty/jvm/com/google/code/findbugs:jsr305"
9 | ],
10 | visibility = [
11 | "//visibility:public"
12 | ]
13 | )
14 |
15 |
16 |
--------------------------------------------------------------------------------
/rosjava/test/parameter_client_params.yaml:
--------------------------------------------------------------------------------
1 | param_client:
2 | tilde: tildetestsucceed
3 | parameter_namespace: foo
4 | target_namespace: bar/baz
5 | foo:
6 | string: hello there
7 | int: 23841234
8 | float: 3.14159
9 | bool: true
10 | list: [1,1,2,3,5,8,13]
11 | composite:
12 | a:
13 | x: 1.0
14 | y: 2.0
15 | z: 3.0
16 | w: 4.0
17 | b:
18 | x: 10.0
19 | y: 20.0
20 | z: 30.0
21 |
--------------------------------------------------------------------------------
/3rdparty/jvm/org/apache/ws/commons/BUILD:
--------------------------------------------------------------------------------
1 | # Do not edit. bazel-deps autogenerates this file from dependencies.yaml.
2 | java_library(
3 | name = "ws_commons_util",
4 | exports = [
5 | "//external:jar/org/apache/ws/commons/ws_commons_util"
6 | ],
7 | runtime_deps = [
8 | "//3rdparty/jvm/junit:junit",
9 | "//3rdparty/jvm/xml_apis:xml_apis"
10 | ],
11 | visibility = [
12 | "//visibility:public"
13 | ]
14 | )
15 |
16 |
17 |
--------------------------------------------------------------------------------
/rosjava/test/string_publisher.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | from ros import rospy
3 | from ros import std_msgs
4 | import std_msgs.msg
5 |
6 | def publisher():
7 | rospy.init_node('string_publisher')
8 | pub = rospy.Publisher('string_in', std_msgs.msg.String)
9 | m = std_msgs.msg.String(rospy.get_name())
10 | r = rospy.Rate(10)
11 | while not rospy.is_shutdown():
12 | pub.publish(m)
13 | r.sleep()
14 |
15 | if __name__ == '__main__':
16 | publisher()
17 |
--------------------------------------------------------------------------------
/rosjava_tutorial_pubsub/BUILD.bazel:
--------------------------------------------------------------------------------
1 | java_binary(
2 | name = "rosjava_tutorial_pubsub",
3 | srcs = glob([
4 | "src/main/**/*.java",
5 | ]),
6 | main_class = "org.ros.RosRun",
7 | deps = [
8 | "//3rdparty/jvm/org/apache/commons:com_springsource_org_apache_commons_logging",
9 | "//3rdparty/jvm/org/ros/rosjava_messages:std_msgs",
10 | "//rosjava",
11 | "@com_github_rosjava_rosjava_bootstrap//message_generation",
12 | ],
13 | )
14 |
--------------------------------------------------------------------------------
/rosjava/test/int64_publisher.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | from ros import rospy
3 | from ros import std_msgs
4 | import std_msgs.msg
5 |
6 | def publisher():
7 | rospy.init_node('int64_publisher')
8 | pub = rospy.Publisher('int64_in', std_msgs.msg.Int64)
9 | i = 0
10 | r = rospy.Rate(10)
11 | m = std_msgs.msg.Int64(i)
12 | while not rospy.is_shutdown():
13 | pub.publish(m)
14 | i += 1
15 | m.data = i
16 | r.sleep()
17 |
18 | if __name__ == '__main__':
19 | publisher()
20 |
--------------------------------------------------------------------------------
/apache_xmlrpc_client/BUILD.bazel:
--------------------------------------------------------------------------------
1 | java_library(
2 | name = "apache_xmlrpc_client",
3 | srcs = glob([
4 | "src/main/**/*.java",
5 | ]),
6 | resources = glob([
7 | "src/main/resources/**",
8 | ]),
9 | visibility = ["//visibility:public"],
10 | deps = [
11 | "//3rdparty/jvm/org/apache/commons:com_springsource_org_apache_commons_httpclient",
12 | "//3rdparty/jvm/org/apache/ws/commons:ws_commons_util",
13 | "//apache_xmlrpc_common",
14 | ],
15 | )
16 |
--------------------------------------------------------------------------------
/rosjava/test/testheader_publisher.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | from ros import rospy
3 | from ros import rosjava_test_msgs
4 | import rosjava_test_msgs.msg
5 |
6 | def publisher():
7 | rospy.init_node('testheader_publisher')
8 | pub = rospy.Publisher('test_header_in', rosjava_test_msgs.msg.TestHeader)
9 | r = rospy.Rate(10)
10 | m = rosjava_test_msgs.msg.TestHeader()
11 | m.caller_id = rospy.get_name()
12 | m.header.stamp = rospy.get_rostime()
13 | while not rospy.is_shutdown():
14 | pub.publish(m)
15 | r.sleep()
16 |
17 | if __name__ == '__main__':
18 | publisher()
19 |
--------------------------------------------------------------------------------
/rosjava/.settings/org.moreunit.prefs:
--------------------------------------------------------------------------------
1 | #Thu Feb 03 15:51:43 CET 2011
2 | eclipse.preferences.version=1
3 | org.moreunit.extendedTestMethodSearch=true
4 | org.moreunit.flexiblenaming=true
5 | org.moreunit.test_type=junit4
6 | org.moreunit.unitsourcefolder=java\:src\:java\:tests\#java\:apache-xmlrpc-3.1.3-src/client/src/main/java\:java\:tests\#java\:apache-xmlrpc-3.1.3-src/common/src/main/java\:java\:tests\#java\:apache-xmlrpc-3.1.3-src/server/src/main/java\:java\:tests\#java\:commons-logging-1.1.1-src/src/java\:java\:tests\#java\:ws-commons-util-1.0.2-src/src/main/java\:java\:tests\#java\:commons-httpclient-3.1-src/src/java\:java\:tests
7 |
--------------------------------------------------------------------------------
/rosjava/test/composite_publisher.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | from ros import rospy
3 | from ros import rosjava_test_msgs
4 | import rosjava_test_msgs.msg
5 | import random
6 |
7 | def publisher():
8 | rospy.init_node('composite_publisher')
9 | pub = rospy.Publisher('composite_in', rosjava_test_msgs.msg.Composite)
10 | r = rospy.Rate(10)
11 | m = rosjava_test_msgs.msg.Composite()
12 | m.a.x = random.random() * 10000.
13 | m.a.y = random.random() * 10000.
14 | m.a.z = random.random() * 10000.
15 | m.a.w = m.a.x + m.a.y + m.a.z
16 |
17 | m.b.x = m.a.x
18 | m.b.y = m.a.y
19 | m.b.z = m.a.z
20 |
21 | while not rospy.is_shutdown():
22 | pub.publish(m)
23 | r.sleep()
24 |
25 | if __name__ == '__main__':
26 | publisher()
27 |
--------------------------------------------------------------------------------
/rosjava_geometry/build.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2011 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | dependencies {
18 | compile project(':rosjava')
19 | testCompile 'junit:junit:4.8.2'
20 | }
21 |
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/master/uri/package-info.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | /**
18 | * Provides the classes for representing master URIs.
19 | */
20 | package org.ros.master.uri;
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/math/package-info.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | /**
18 | * Provides utility classes for common mathematical operations.
19 | */
20 | package org.ros.math;
--------------------------------------------------------------------------------
/apache_xmlrpc_client/build.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2011 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | dependencies {
18 | compile project(':apache_xmlrpc_common')
19 | compile 'org.apache.ws.commons:ws-commons-util:1.0.1'
20 | }
21 |
22 |
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/master/client/package-info.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | /**
18 | * Provides the classes for communicating with the master.
19 | */
20 | package org.ros.master.client;
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/namespace/package-info.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | /**
18 | * Provides the classes for representing names in the ROS graph.
19 | */
20 | package org.ros.namespace;
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/time/package-info.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | /**
18 | * Provides the classes for dealing with time and clock synchronization.
19 | */
20 | package org.ros.time;
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/address/package-info.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | /**
18 | * Provides the classes for acquiring and representing network addresses.
19 | */
20 | package org.ros.address;
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/concurrent/package-info.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | /**
18 | * Provides utility classes for common concurrent programming operations.
19 | */
20 | package org.ros.concurrent;
--------------------------------------------------------------------------------
/rosjava_tutorial_services/build.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2011 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | apply plugin: 'application'
18 |
19 | mainClassName = 'org.ros.RosRun'
20 |
21 | dependencies {
22 | compile project(':rosjava')
23 | }
24 |
--------------------------------------------------------------------------------
/apache_xmlrpc_server/build.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2011 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | dependencies {
18 | compile project(':apache_xmlrpc_common')
19 | compile 'org.apache.commons:com.springsource.org.apache.commons.logging:1.1.1'
20 | }
21 |
22 |
--------------------------------------------------------------------------------
/docs/src/main/sphinx/best_practices.rst:
--------------------------------------------------------------------------------
1 | Best practices
2 | ==============
3 |
4 | rosjava is different than other ROS client libraries in many respects. As a
5 | result, there are new best practices that should be followed while developing a
6 | rosjava application.
7 |
8 | Java package names
9 | ------------------
10 |
11 | As usual, Java package names should start with a reversed domain name. In the
12 | ROS ecosystem, the domain name should be followed by the ROS package name. For
13 | example:
14 |
15 | - org.ros.rosjava
16 | - org.ros.rosjava_geometry
17 |
18 | Only core packages (e.g. those in rosjava_core and android_core) should begin
19 | with org.ros. A suitably unique choice for github based repos would be
20 | the github url followed organization and repository/package name, e.g.
21 |
22 | - com.github.rosjava.rosjava_extras
23 |
24 |
--------------------------------------------------------------------------------
/rosjava_test/build.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2011 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | apply plugin: 'application'
18 |
19 | mainClassName = 'org.ros.RosRun'
20 |
21 | dependencies {
22 | compile project(':rosjava')
23 | compile 'junit:junit:4.8.2'
24 | }
25 |
--------------------------------------------------------------------------------
/apache_xmlrpc_common/build.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2011 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | dependencies {
18 | compile 'org.apache.commons:com.springsource.org.apache.commons.httpclient:3.1.0'
19 | compile 'org.apache.ws.commons:ws-commons-util:1.0.1'
20 | }
21 |
22 |
--------------------------------------------------------------------------------
/rosjava_benchmarks/build.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2011 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | apply plugin: 'application'
18 |
19 | mainClassName = 'org.ros.RosRun'
20 |
21 | dependencies {
22 | compile project(':rosjava')
23 | compile project(':rosjava_geometry')
24 | }
25 |
--------------------------------------------------------------------------------
/docs/src/main/sphinx/index.rst:
--------------------------------------------------------------------------------
1 | rosjava_core
2 | ============
3 |
4 | rosjava_core is a pure Java implementation of ROS. It provides a client library
5 | that enables Java programmers to quickly interface with ROS Topics, Services,
6 | and Parameters. It also provides a Java implementation of `roscore`_.
7 |
8 | Support is best found on http://answers.ros.org/.
9 |
10 | Please file bugs and feature requests on the rosjava `issues`_ page.
11 |
12 | In addition to the following documentation, rosjava_core makes liberal use of
13 | `Javadoc`_.
14 |
15 | .. _roscore: http://ros.org/wiki/roscore
16 | .. _issues: https://github.com/rosjava/rosjava_core
17 | .. _Javadoc: javadoc/index.html
18 |
19 | Contents:
20 |
21 | .. toctree::
22 | :maxdepth: 2
23 |
24 | overview
25 | installing
26 | building
27 | best_practices
28 | getting_started
29 | advanced
30 |
31 |
--------------------------------------------------------------------------------
/rosjava_geometry/src/main/java/org/ros/rosjava_geometry/package-info.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | /**
18 | * Provides the classes for common geometry operations and representations (e.g. transformations).
19 | */
20 | package org.ros.rosjava_geometry;
--------------------------------------------------------------------------------
/rosjava_tutorial_pubsub/build.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2011 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | apply plugin: 'application'
18 |
19 | mainClassName = 'org.ros.RosRun'
20 |
21 | dependencies {
22 | compile project(':rosjava')
23 | }
24 |
25 | defaultTasks 'publish', 'installDist'
26 |
27 |
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/concurrent/DroppedEntryException.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | package org.ros.concurrent;
18 |
19 | /**
20 | * @author damonkohler@google.com (Damon Kohler)
21 | */
22 | public class DroppedEntryException extends Exception {
23 | }
24 |
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/node/topic/package-info.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | /**
18 | * Provides the classes for communicating via topics.
19 | *
20 | * @see topics documentation
21 | */
22 | package org.ros.node.topic;
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/node/service/package-info.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | /**
18 | * Provides the classes for communicating via services.
19 | *
20 | * @see services documentation
21 | */
22 | package org.ros.node.service;
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/master/package-info.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | /**
18 | * Provides the classes for communicating with and implementing the master.
19 | *
20 | * @see master documentation
21 | */
22 | package org.ros.master;
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/node/package-info.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | /**
18 | * Provides the classes for creating and communicating with nodes in the ROS graph.
19 | *
20 | * @see nodes documentation
21 | */
22 | package org.ros.node;
--------------------------------------------------------------------------------
/rosjava_tutorial_right_hand_rule/build.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2011 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | apply plugin: 'application'
18 |
19 | mainClassName = 'org.ros.RosRun'
20 |
21 | dependencies {
22 | compile project(':rosjava')
23 | compile 'org.ros.rosjava_messages:sensor_msgs:[1.12,1.13)'
24 | }
25 |
26 |
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/internal/node/client/package-info.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | /**
18 | * Provides internal classes for clients.
19 | *
20 | * These classes should _not_ be used directly outside of the org.ros package.
21 | */
22 | package org.ros.internal.node.client;
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/internal/node/server/package-info.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | /**
18 | * Provides internal classes for servers.
19 | *
20 | * These classes should _not_ be used directly outside of the org.ros package.
21 | */
22 | package org.ros.internal.node.server;
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/internal/package-info.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | /**
18 | * Provides internal classes for working with the network layer.
19 | *
20 | * These classes should _not_ be used directly outside of the org.ros package.
21 | */
22 | package org.ros.internal;
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/address/AdvertiseAddressFactory.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2011 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | package org.ros.address;
18 |
19 | /**
20 | * @author damonkohler@google.com (Damon Kohler)
21 | */
22 | public interface AdvertiseAddressFactory {
23 |
24 | AdvertiseAddress newDefault();
25 | }
26 |
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/internal/loader/package-info.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | /**
18 | * Provides internal classes for loading node configurations.
19 | *
20 | * These classes should _not_ be used directly outside of the org.ros package.
21 | */
22 | package org.ros.internal.loader;
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/internal/node/topic/package-info.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | /**
18 | * Provides internal classes for working with topics.
19 | *
20 | * These classes should _not_ be used directly outside of the org.ros package.
21 | */
22 | package org.ros.internal.node.topic;
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/internal/system/package-info.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | /**
18 | * Provides internal utility classes for system operations.
19 | *
20 | * These classes should _not_ be used directly outside of the org.ros package.
21 | */
22 | package org.ros.internal.system;
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/internal/node/service/package-info.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | /**
18 | * Provides internal classes for working with services.
19 | *
20 | * These classes should _not_ be used directly outside of the org.ros package.
21 | */
22 | package org.ros.internal.node.service;
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/node/topic/TransportHints.java:
--------------------------------------------------------------------------------
1 | package org.ros.node.topic;
2 |
3 | import org.ros.node.ConnectedNode;
4 |
5 |
6 | /**
7 | * Provides a way of specifying network transport hints to
8 | * {@link ConnectedNode#newSubscriber(org.ros.namespace.GraphName, String, TransportHints)} and
9 | * {@link ConnectedNode#newSubscriber(String, String, TransportHints)}.
10 | *
11 | * @author stefan.glaser@hs-offenburg.de (Stefan Glaser)
12 | */
13 | public class TransportHints {
14 |
15 | private boolean tcpNoDelay;
16 |
17 | public TransportHints() {
18 | this(false);
19 | }
20 |
21 | public TransportHints(boolean tcpNoDelay) {
22 | this.tcpNoDelay = tcpNoDelay;
23 | }
24 |
25 | public TransportHints tcpNoDelay(boolean tcpNoDelay) {
26 | this.tcpNoDelay = tcpNoDelay;
27 | return this;
28 | }
29 |
30 | public boolean getTcpNoDelay() {
31 | return tcpNoDelay;
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/internal/node/response/package-info.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | /**
18 | * Provides internal classes for representing RPC results.
19 | *
20 | * These classes should _not_ be used directly outside of the org.ros package.
21 | */
22 | package org.ros.internal.node.response;
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/node/parameter/package-info.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | /**
18 | * Provides the classes for accessing and modifying parameters.
19 | *
20 | * @see parameter server documentation
21 | */
22 | package org.ros.node.parameter;
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/internal/node/xmlrpc/package-info.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | /**
18 | * Provides internal classes for working with the ROS XML-RPC layer.
19 | *
20 | * These classes should _not_ be used directly outside of the org.ros package.
21 | */
22 | package org.ros.internal.node.xmlrpc;
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/internal/node/parameter/package-info.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | /**
18 | * Provides internal classes for working with the parameter server.
19 | *
20 | * These classes should _not_ be used directly outside of the org.ros package.
21 | */
22 | package org.ros.internal.node.parameter;
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/internal/transport/package-info.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | /**
18 | * Provides internal classes that are core to the implementation of rosjava.
19 | *
20 | * These classes should _not_ be used directly outside of the org.ros package.
21 | */
22 | package org.ros.internal.transport;
--------------------------------------------------------------------------------
/rosjava/test/string_passthrough.rostest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/concurrent/Rate.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | package org.ros.concurrent;
18 |
19 | /**
20 | * @author damonkohler@google.com (Damon Kohler)
21 | */
22 | public interface Rate {
23 |
24 | /**
25 | * Sleeps until the configured rate is achieved.
26 | */
27 | void sleep();
28 | }
29 |
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/internal/node/package-info.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | /**
18 | * Provides internal classes for creating and communicating with nodes in the ROS graph.
19 | *
20 | * These classes should _not_ be used directly outside of the org.ros package.
21 | */
22 | package org.ros.internal.node;
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/internal/node/server/master/package-info.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | /**
18 | * Provides internal classes for the server side of the master.
19 | *
20 | * These classes should _not_ be used directly outside of the org.ros package.
21 | */
22 | package org.ros.internal.node.server.master;
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/internal/node/xmlrpc/XmlRpcEndpoint.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2011 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | package org.ros.internal.node.xmlrpc;
18 |
19 | /**
20 | * Represents the XML-RPC interface for a client or server.
21 | *
22 | * @author damonkohler@google.com (Damon Kohler)
23 | */
24 | public interface XmlRpcEndpoint {
25 | }
26 |
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/address/Address.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2011 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | package org.ros.address;
18 |
19 | /**
20 | * @author damonkohler@google.com (Damon Kohler)
21 | */
22 | public interface Address {
23 |
24 | public static final String LOOPBACK = "127.0.0.1";
25 | public static final String LOCALHOST = "localhost";
26 |
27 | }
28 |
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/Parameters.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | package org.ros;
18 |
19 | import org.ros.namespace.GraphName;
20 |
21 | /**
22 | * ROS parameters.
23 | *
24 | * @author damonkohler@google.com (Damon Kohler)
25 | */
26 | public interface Parameters {
27 |
28 | public static final GraphName USE_SIM_TIME = GraphName.of("/use_sim_time");
29 | }
30 |
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/exception/DuplicateServiceException.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2012 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | package org.ros.exception;
18 |
19 | /**
20 | * @author damonkohler@google.com (Damon Kohler)
21 | */
22 | public class DuplicateServiceException extends RosRuntimeException {
23 |
24 | public DuplicateServiceException(final String message) {
25 | super(message);
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/internal/node/response/VoidResultFactory.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2011 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | package org.ros.internal.node.response;
18 |
19 | /**
20 | * @author damonkohler@google.com (Damon Kohler)
21 | */
22 | public class VoidResultFactory implements ResultFactory {
23 |
24 | @Override
25 | public Void newFromValue(Object value) {
26 | return null;
27 | }
28 | }
--------------------------------------------------------------------------------
/rosjava/src/main/java/org/ros/internal/node/response/ObjectResultFactory.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2011 Google Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 | * use this file except in compliance with the License. You may obtain a copy of
6 | * the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 | * License for the specific language governing permissions and limitations under
14 | * the License.
15 | */
16 |
17 | package org.ros.internal.node.response;
18 |
19 | /**
20 | * @author kwc@willowgarage.com (Ken Conley)
21 | */
22 | public class ObjectResultFactory implements ResultFactory