Package Summary

Tags No category tags.
Version 0.20.3
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros2/demos.git
VCS Type git
VCS Version humble
Last Updated 2023-01-10
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Python action tutorial code

Additional Links

No additional links.

Maintainers

  • Audrow Nash
  • Michael Jeronimo

Authors

  • Jacob Perron
  • Mabel Zhang
README
No README found. No README in repository either.
CHANGELOG

Changelog for package action_tutorials_py

0.20.3 (2023-01-10)

0.20.2 (2022-05-10)

0.20.1 (2022-04-08)

0.20.0 (2022-03-01)

0.19.0 (2022-01-14)

0.18.0 (2021-12-17)

  • Update maintainers to Audrow Nash and Michael Jeronimo (#543)
  • Contributors: Audrow Nash

0.17.0 (2021-10-18)

0.16.0 (2021-08-11)

0.15.0 (2021-05-14)

0.14.2 (2021-04-26)

0.14.1 (2021-04-19)

  • Use underscores instead of dashes in setup.cfg (#502)
  • Contributors: Ivan Santiago Paunovic

0.14.0 (2021-04-06)

0.13.0 (2021-03-25)

0.12.1 (2021-03-18)

0.12.0 (2021-01-25)

0.11.0 (2020-12-10)

  • Update the package.xml files with the latest Open Robotics maintainers (#466)
  • Contributors: Michael Jeronimo

0.10.1 (2020-09-21)

0.10.0 (2020-06-17)

0.9.3 (2020-06-01)

0.9.2 (2020-05-26)

0.9.1 (2020-05-12)

0.9.0 (2020-04-30)

0.8.4 (2019-11-19)

  • Make demos handle SIGINT gracefully. (#377)
  • Contributors: Michel Hidalgo

0.8.3 (2019-11-11)

0.8.2 (2019-11-08)

0.8.1 (2019-10-23)

  • Update setup.py versions
  • Contributors: Jacob Perron

0.8.0 (2019-09-26)

  • Remove non-existing dependency (#384)
  • Move Python action tutorials to a new package, action_tutorials_py (#378)
  • Contributors: Mikael Arguedas, Siddharth Kucheria

0.7.6 (2019-05-30)

0.7.5 (2019-05-29)

0.7.4 (2019-05-20)

0.7.3 (2019-05-10)

0.7.2 (2019-05-08)

0.7.1 (2019-04-26)

0.7.0 (2019-04-14)

0.6.2 (2019-01-15)

0.6.1 (2018-12-12)

0.6.0 (2018-12-07)

0.5.1 (2018-06-28)

0.5.0 (2018-06-27)

0.4.0 (2017-12-08)

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged action_tutorials_py at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 0.27.1
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros2/demos.git
VCS Type git
VCS Version iron
Last Updated 2023-05-19
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Python action tutorial code

Additional Links

No additional links.

Maintainers

  • Aditya Pande
  • Audrow Nash
  • Michael Jeronimo

Authors

  • Jacob Perron
  • Mabel Zhang

Action Server

In the constructor for FibonacciActionServer, an action server is created with a callback that is called when a goal is accepted.

self._action_server = ActionServer(
            self,
            Fibonacci,
            'fibonacci',
            self.execute_callback)

There are three types of callbacks:

  • A goal_callback can optionally be added to conditionally accept or reject the goal, however, by default the goal is accepted.
  • A cancel_callback can also optionally be added to conditionally accept or reject the cancel goal request, however, by default the cancel goal request is accepted.
  • The execute_callback calculates the Fibonacci sequence up to order and publishes partial sequences as feedback as each item is added to the sequence.

The thread sleeps for 1 second between the calculation of each item in order to represent a long-running task. When execution is complete, the full sequence is returned to the action client.

Action Client

In the constructor for FibonacciActionClient, an action client for the fibonacci action is created:

self._action_client = ActionClient(self, Fibonacci, 'fibonacci')

A goal of type Fibonacci is created with order 10. The goal is sent asynchronously with callbacks registered for the goal response and the feedback:

self._send_goal_future = self._action_client.send_goal_async(
            goal_msg,
            feedback_callback=self.feedback_callback)

self._send_goal_future.add_done_callback(self.goal_response_callback)

Within the goal_response_callback, if the goal is accepted, the goal result is requested asynchronously. A callback is registered for receiving the result:

self._get_result_future = goal_handle.get_result_async()

self._get_result_future.add_done_callback(self.get_result_callback)

There are two types of callbacks:

  • The feedback_callback logs the partial sequences as they are received.
  • The get_result_callback logs the full Fibonacci sequence.
CHANGELOG

Changelog for package action_tutorials_py

0.27.1 (2023-05-11)

0.27.0 (2023-04-13)

0.26.0 (2023-04-11)

0.25.0 (2023-03-01)

0.24.1 (2023-02-24)

0.24.0 (2023-02-14)

  • Add README\'s for action_tutorials. (#576)
  • [rolling] Update maintainers - 2022-11-07 (#589)
  • Contributors: Audrow Nash, kagibson

0.23.0 (2022-11-02)

0.22.0 (2022-09-13)

0.21.0 (2022-04-29)

0.20.1 (2022-04-08)

0.20.0 (2022-03-01)

0.19.0 (2022-01-14)

0.18.0 (2021-12-17)

  • Update maintainers to Audrow Nash and Michael Jeronimo (#543)
  • Contributors: Audrow Nash

0.17.0 (2021-10-18)

0.16.0 (2021-08-11)

0.15.0 (2021-05-14)

0.14.2 (2021-04-26)

0.14.1 (2021-04-19)

  • Use underscores instead of dashes in setup.cfg (#502)
  • Contributors: Ivan Santiago Paunovic

0.14.0 (2021-04-06)

0.13.0 (2021-03-25)

0.12.1 (2021-03-18)

0.12.0 (2021-01-25)

0.11.0 (2020-12-10)

  • Update the package.xml files with the latest Open Robotics maintainers (#466)
  • Contributors: Michael Jeronimo

0.10.1 (2020-09-21)

0.10.0 (2020-06-17)

0.9.3 (2020-06-01)

0.9.2 (2020-05-26)

0.9.1 (2020-05-12)

0.9.0 (2020-04-30)

0.8.4 (2019-11-19)

  • Make demos handle SIGINT gracefully. (#377)
  • Contributors: Michel Hidalgo

0.8.3 (2019-11-11)

0.8.2 (2019-11-08)

0.8.1 (2019-10-23)

  • Update setup.py versions
  • Contributors: Jacob Perron

0.8.0 (2019-09-26)

  • Remove non-existing dependency (#384)
  • Move Python action tutorials to a new package, action_tutorials_py (#378)
  • Contributors: Mikael Arguedas, Siddharth Kucheria

0.7.6 (2019-05-30)

0.7.5 (2019-05-29)

0.7.4 (2019-05-20)

0.7.3 (2019-05-10)

0.7.2 (2019-05-08)

0.7.1 (2019-04-26)

0.7.0 (2019-04-14)

0.6.2 (2019-01-15)

0.6.1 (2018-12-12)

0.6.0 (2018-12-07)

0.5.1 (2018-06-28)

0.5.0 (2018-06-27)

0.4.0 (2017-12-08)

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged action_tutorials_py at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 0.33.2
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros2/demos.git
VCS Type git
VCS Version rolling
Last Updated 2024-03-28
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Python action tutorial code

Additional Links

No additional links.

Maintainers

  • Aditya Pande
  • Audrow Nash

Authors

  • Jacob Perron
  • Mabel Zhang

Action Server

In the constructor for FibonacciActionServer, an action server is created with a callback that is called when a goal is accepted.

self._action_server = ActionServer(
            self,
            Fibonacci,
            'fibonacci',
            self.execute_callback)

There are three types of callbacks:

  • A goal_callback can optionally be added to conditionally accept or reject the goal, however, by default the goal is accepted.
  • A cancel_callback can also optionally be added to conditionally accept or reject the cancel goal request, however, by default the cancel goal request is accepted.
  • The execute_callback calculates the Fibonacci sequence up to order and publishes partial sequences as feedback as each item is added to the sequence.

The thread sleeps for 1 second between the calculation of each item in order to represent a long-running task. When execution is complete, the full sequence is returned to the action client.

Action Client

In the constructor for FibonacciActionClient, an action client for the fibonacci action is created:

self._action_client = ActionClient(self, Fibonacci, 'fibonacci')

A goal of type Fibonacci is created with order 10. The goal is sent asynchronously with callbacks registered for the goal response and the feedback:

self._send_goal_future = self._action_client.send_goal_async(
            goal_msg,
            feedback_callback=self.feedback_callback)

self._send_goal_future.add_done_callback(self.goal_response_callback)

Within the goal_response_callback, if the goal is accepted, the goal result is requested asynchronously. A callback is registered for receiving the result:

self._get_result_future = goal_handle.get_result_async()

self._get_result_future.add_done_callback(self.get_result_callback)

There are two types of callbacks:

  • The feedback_callback logs the partial sequences as they are received.
  • The get_result_callback logs the full Fibonacci sequence.
CHANGELOG

Changelog for package action_tutorials_py

0.33.2 (2024-03-28)

  • Update maintainer list in package.xml files (#665)
  • Contributors: Michael Jeronimo

0.33.1 (2024-02-07)

  • Add tests to action_tutorials_py. (#664)
  • Contributors: Chris Lalancette

0.33.0 (2024-01-24)

0.32.1 (2023-12-26)

0.32.0 (2023-11-06)

0.31.1 (2023-09-07)

0.31.0 (2023-08-21)

0.30.1 (2023-07-11)

0.30.0 (2023-06-12)

0.29.0 (2023-06-07)

0.28.1 (2023-05-11)

0.28.0 (2023-04-27)

0.27.0 (2023-04-13)

0.26.0 (2023-04-11)

0.25.0 (2023-03-01)

0.24.1 (2023-02-24)

0.24.0 (2023-02-14)

  • Add README\'s for action_tutorials. (#576)
  • [rolling] Update maintainers - 2022-11-07 (#589)
  • Contributors: Audrow Nash, kagibson

0.23.0 (2022-11-02)

0.22.0 (2022-09-13)

0.21.0 (2022-04-29)

0.20.1 (2022-04-08)

0.20.0 (2022-03-01)

0.19.0 (2022-01-14)

0.18.0 (2021-12-17)

  • Update maintainers to Audrow Nash and Michael Jeronimo (#543)
  • Contributors: Audrow Nash

0.17.0 (2021-10-18)

0.16.0 (2021-08-11)

0.15.0 (2021-05-14)

0.14.2 (2021-04-26)

0.14.1 (2021-04-19)

  • Use underscores instead of dashes in setup.cfg (#502)
  • Contributors: Ivan Santiago Paunovic

0.14.0 (2021-04-06)

0.13.0 (2021-03-25)

0.12.1 (2021-03-18)

0.12.0 (2021-01-25)

0.11.0 (2020-12-10)

  • Update the package.xml files with the latest Open Robotics maintainers (#466)
  • Contributors: Michael Jeronimo

0.10.1 (2020-09-21)

0.10.0 (2020-06-17)

0.9.3 (2020-06-01)

0.9.2 (2020-05-26)

0.9.1 (2020-05-12)

0.9.0 (2020-04-30)

0.8.4 (2019-11-19)

  • Make demos handle SIGINT gracefully. (#377)
  • Contributors: Michel Hidalgo

0.8.3 (2019-11-11)

0.8.2 (2019-11-08)

0.8.1 (2019-10-23)

  • Update setup.py versions
  • Contributors: Jacob Perron

0.8.0 (2019-09-26)

  • Remove non-existing dependency (#384)
  • Move Python action tutorials to a new package, action_tutorials_py (#378)
  • Contributors: Mikael Arguedas, Siddharth Kucheria

0.7.6 (2019-05-30)

0.7.5 (2019-05-29)

0.7.4 (2019-05-20)

0.7.3 (2019-05-10)

0.7.2 (2019-05-08)

0.7.1 (2019-04-26)

0.7.0 (2019-04-14)

0.6.2 (2019-01-15)

0.6.1 (2018-12-12)

0.6.0 (2018-12-07)

0.5.1 (2018-06-28)

0.5.0 (2018-06-27)

0.4.0 (2017-12-08)

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged action_tutorials_py at Robotics Stack Exchange

No version for distro noetic. Known supported distros are highlighted in the buttons above.
No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.8.4
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros2/demos.git
VCS Type git
VCS Version eloquent
Last Updated 2020-11-04
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Python action tutorial code

Additional Links

No additional links.

Maintainers

  • Mabel Zhang
  • Michael Jeronimo

Authors

  • Jacob Perron
README
No README found. No README in repository either.
CHANGELOG

Changelog for package action_tutorials_py

0.8.4 (2019-11-19)

  • Make demos handle SIGINT gracefully. (#377)
  • Contributors: Michel Hidalgo

0.8.3 (2019-11-11)

0.8.2 (2019-11-08)

0.8.1 (2019-10-23)

  • Update setup.py versions
  • Contributors: Jacob Perron

0.8.0 (2019-09-26)

  • Remove non-existing dependency (#384)
  • Move Python action tutorials to a new package, action_tutorials_py (#378)
  • Contributors: Mikael Arguedas, Siddharth Kucheria

0.7.6 (2019-05-30)

0.7.5 (2019-05-29)

0.7.4 (2019-05-20)

0.7.3 (2019-05-10)

0.7.2 (2019-05-08)

0.7.1 (2019-04-26)

0.7.0 (2019-04-14)

0.6.2 (2019-01-15)

0.6.1 (2018-12-12)

0.6.0 (2018-12-07)

0.5.1 (2018-06-28)

0.5.0 (2018-06-27)

0.4.0 (2017-12-08)

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged action_tutorials_py at Robotics Stack Exchange

No version for distro dashing. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.14.4
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros2/demos.git
VCS Type git
VCS Version galactic
Last Updated 2022-12-07
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Python action tutorial code

Additional Links

No additional links.

Maintainers

  • Mabel Zhang
  • Michael Jeronimo

Authors

  • Jacob Perron
README
No README found. No README in repository either.
CHANGELOG

Changelog for package action_tutorials_py

0.14.4 (2022-12-06)

0.14.3 (2021-05-10)

0.14.2 (2021-04-26)

0.14.1 (2021-04-19)

  • Use underscores instead of dashes in setup.cfg (#502)
  • Contributors: Ivan Santiago Paunovic

0.14.0 (2021-04-06)

0.13.0 (2021-03-25)

0.12.1 (2021-03-18)

0.12.0 (2021-01-25)

0.11.0 (2020-12-10)

  • Update the package.xml files with the latest Open Robotics maintainers (#466)
  • Contributors: Michael Jeronimo

0.10.1 (2020-09-21)

0.10.0 (2020-06-17)

0.9.3 (2020-06-01)

0.9.2 (2020-05-26)

0.9.1 (2020-05-12)

0.9.0 (2020-04-30)

0.8.4 (2019-11-19)

  • Make demos handle SIGINT gracefully. (#377)
  • Contributors: Michel Hidalgo

0.8.3 (2019-11-11)

0.8.2 (2019-11-08)

0.8.1 (2019-10-23)

  • Update setup.py versions
  • Contributors: Jacob Perron

0.8.0 (2019-09-26)

  • Remove non-existing dependency (#384)
  • Move Python action tutorials to a new package, action_tutorials_py (#378)
  • Contributors: Mikael Arguedas, Siddharth Kucheria

0.7.6 (2019-05-30)

0.7.5 (2019-05-29)

0.7.4 (2019-05-20)

0.7.3 (2019-05-10)

0.7.2 (2019-05-08)

0.7.1 (2019-04-26)

0.7.0 (2019-04-14)

0.6.2 (2019-01-15)

0.6.1 (2018-12-12)

0.6.0 (2018-12-07)

0.5.1 (2018-06-28)

0.5.0 (2018-06-27)

0.4.0 (2017-12-08)

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged action_tutorials_py at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 0.9.4
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros2/demos.git
VCS Type git
VCS Version foxy
Last Updated 2022-07-25
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Python action tutorial code

Additional Links

No additional links.

Maintainers

  • Mabel Zhang
  • Michael Jeronimo

Authors

  • Jacob Perron
README
No README found. No README in repository either.
CHANGELOG

Changelog for package action_tutorials_py

0.9.4 (2022-07-25)

  • Update maintainer list for Foxy (#471)
  • Contributors: Michael Jeronimo

0.9.3 (2020-06-01)

0.9.2 (2020-05-26)

0.9.1 (2020-05-12)

0.9.0 (2020-04-30)

0.8.4 (2019-11-19)

  • Make demos handle SIGINT gracefully. (#377)
  • Contributors: Michel Hidalgo

0.8.3 (2019-11-11)

0.8.2 (2019-11-08)

0.8.1 (2019-10-23)

  • Update setup.py versions
  • Contributors: Jacob Perron

0.8.0 (2019-09-26)

  • Remove non-existing dependency (#384)
  • Move Python action tutorials to a new package, action_tutorials_py (#378)
  • Contributors: Mikael Arguedas, Siddharth Kucheria

0.7.6 (2019-05-30)

0.7.5 (2019-05-29)

0.7.4 (2019-05-20)

0.7.3 (2019-05-10)

0.7.2 (2019-05-08)

0.7.1 (2019-04-26)

0.7.0 (2019-04-14)

0.6.2 (2019-01-15)

0.6.1 (2018-12-12)

0.6.0 (2018-12-07)

0.5.1 (2018-06-28)

0.5.0 (2018-06-27)

0.4.0 (2017-12-08)

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged action_tutorials_py at Robotics Stack Exchange

No version for distro lunar. Known supported distros are highlighted in the buttons above.
No version for distro jade. Known supported distros are highlighted in the buttons above.
No version for distro indigo. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.
No version for distro kinetic. Known supported distros are highlighted in the buttons above.
No version for distro melodic. Known supported distros are highlighted in the buttons above.