Skip to content

Commit 6ca7d1f

Browse files
committed
Split action client and server examples
1 parent 5e3e8ff commit 6ca7d1f

File tree

6 files changed

+51
-7
lines changed

6 files changed

+51
-7
lines changed

examples/minimal_action_client_server/Cargo.toml renamed to examples/minimal_action_client/Cargo.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "examples_rclrs_minimal_action_client_server"
2+
name = "examples_rclrs_minimal_action_client"
33
version = "0.3.1"
44
# This project is not military-sponsored, Jacob's employment contract just requires him to use this email address
55
authors = ["Esteve Fernandez <[email protected]>", "Nikolai Morin <[email protected]>", "Jacob Hassold <[email protected]>"]
@@ -9,10 +9,6 @@ edition = "2021"
99
name = "minimal_action_client"
1010
path = "src/minimal_action_client.rs"
1111

12-
[[bin]]
13-
name = "minimal_action_server"
14-
path = "src/minimal_action_server.rs"
15-
1612
[dependencies]
1713
anyhow = {version = "1", features = ["backtrace"]}
1814

examples/minimal_action_client_server/package.xml renamed to examples/minimal_action_client/package.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
href="http://download.ros.org/schema/package_format3.xsd"
44
schematypens="http://www.w3.org/2001/XMLSchema"?>
55
<package format="3">
6-
<name>examples_rclrs_minimal_action_client_server</name>
6+
<name>examples_rclrs_minimal_action_client</name>
77
<version>0.3.1</version>
8-
<description>Package containing an example of actions in rclrs.</description>
8+
<description>Minimal action client examples for rclrs.</description>
99
<maintainer email="[email protected]">Esteve Fernandez</maintainer>
1010
<maintainer email="[email protected]">Nikolai Morin</maintainer>
1111
<!-- This project is not military-sponsored, Jacob's employment contract just requires him to use this email address -->
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[package]
2+
name = "examples_rclrs_minimal_action_server"
3+
version = "0.3.1"
4+
# This project is not military-sponsored, Jacob's employment contract just requires him to use this email address
5+
authors = ["Esteve Fernandez <[email protected]>", "Nikolai Morin <[email protected]>", "Jacob Hassold <[email protected]>"]
6+
edition = "2021"
7+
8+
[[bin]]
9+
name = "minimal_action_server"
10+
path = "src/minimal_action_server.rs"
11+
12+
[dependencies]
13+
anyhow = {version = "1", features = ["backtrace"]}
14+
15+
[dependencies.rclrs]
16+
version = "0.3"
17+
18+
[dependencies.rosidl_runtime_rs]
19+
version = "0.3"
20+
21+
[dependencies.example_interfaces]
22+
version = "*"
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0"?>
2+
<?xml-model
3+
href="http://download.ros.org/schema/package_format3.xsd"
4+
schematypens="http://www.w3.org/2001/XMLSchema"?>
5+
<package format="3">
6+
<name>examples_rclrs_minimal_action_server</name>
7+
<version>0.3.1</version>
8+
<description>Minimal action server examples for rclrs.</description>
9+
<maintainer email="[email protected]">Esteve Fernandez</maintainer>
10+
<maintainer email="[email protected]">Nikolai Morin</maintainer>
11+
<!-- This project is not military-sponsored, Jacob's employment contract just requires him to use this email address -->
12+
<maintainer email="[email protected]">Jacob Hassold</maintainer>
13+
<license>Apache License 2.0</license>
14+
15+
<build_depend>rclrs</build_depend>
16+
<build_depend>rosidl_runtime_rs</build_depend>
17+
<build_depend>example_interfaces</build_depend>
18+
19+
<exec_depend>rclrs</exec_depend>
20+
<exec_depend>rosidl_runtime_rs</exec_depend>
21+
<exec_depend>example_interfaces</exec_depend>
22+
23+
<export>
24+
<build_type>ament_cargo</build_type>
25+
</export>
26+
</package>

0 commit comments

Comments
 (0)