Skip to content

Commit

Permalink
Split action client and server examples
Browse files Browse the repository at this point in the history
  • Loading branch information
esteve committed Jul 17, 2023
1 parent 3ee06b8 commit 6bcbea0
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "examples_rclrs_minimal_action_client_server"
name = "examples_rclrs_minimal_action_client"
version = "0.3.1"
# This project is not military-sponsored, Jacob's employment contract just requires him to use this email address
authors = ["Esteve Fernandez <esteve@apache.org>", "Nikolai Morin <nnmmgit@gmail.com>", "Jacob Hassold <jacob.a.hassold.civ@army.mil>"]
Expand All @@ -9,10 +9,6 @@ edition = "2021"
name = "minimal_action_client"
path = "src/minimal_action_client.rs"

[[bin]]
name = "minimal_action_server"
path = "src/minimal_action_server.rs"

[dependencies]
anyhow = {version = "1", features = ["backtrace"]}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
href="http://download.ros.org/schema/package_format3.xsd"
schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>examples_rclrs_minimal_action_client_server</name>
<name>examples_rclrs_minimal_action_client</name>
<version>0.3.1</version>
<description>Package containing an example of actions in rclrs.</description>
<description>Minimal action client examples for rclrs.</description>
<maintainer email="esteve@apache.org">Esteve Fernandez</maintainer>
<maintainer email="nnmmgit@gmail.com">Nikolai Morin</maintainer>
<!-- This project is not military-sponsored, Jacob's employment contract just requires him to use this email address -->
Expand Down
22 changes: 22 additions & 0 deletions examples/minimal_action_server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[package]
name = "examples_rclrs_minimal_action_server"
version = "0.3.1"
# This project is not military-sponsored, Jacob's employment contract just requires him to use this email address
authors = ["Esteve Fernandez <esteve@apache.org>", "Nikolai Morin <nnmmgit@gmail.com>", "Jacob Hassold <jacob.a.hassold.civ@army.mil>"]
edition = "2021"

[[bin]]
name = "minimal_action_server"
path = "src/minimal_action_server.rs"

[dependencies]
anyhow = {version = "1", features = ["backtrace"]}

[dependencies.rclrs]
version = "0.3"

[dependencies.rosidl_runtime_rs]
version = "0.3"

[dependencies.example_interfaces]
version = "*"
26 changes: 26 additions & 0 deletions examples/minimal_action_server/package.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0"?>
<?xml-model
href="http://download.ros.org/schema/package_format3.xsd"
schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>examples_rclrs_minimal_action_server</name>
<version>0.3.1</version>
<description>Minimal action server examples for rclrs.</description>
<maintainer email="esteve@apache.org">Esteve Fernandez</maintainer>
<maintainer email="nnmmgit@gmail.com">Nikolai Morin</maintainer>
<!-- This project is not military-sponsored, Jacob's employment contract just requires him to use this email address -->
<maintainer email="jacob.a.hassold.civ@army.mil">Jacob Hassold</maintainer>
<license>Apache License 2.0</license>

<build_depend>rclrs</build_depend>
<build_depend>rosidl_runtime_rs</build_depend>
<build_depend>example_interfaces</build_depend>

<exec_depend>rclrs</exec_depend>
<exec_depend>rosidl_runtime_rs</exec_depend>
<exec_depend>example_interfaces</exec_depend>

<export>
<build_type>ament_cargo</build_type>
</export>
</package>

0 comments on commit 6bcbea0

Please sign in to comment.