No version for distro humble showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.1.0
License GPLv2+ license
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/carologistics/clips_executive.git
VCS Type git
VCS Version master
Last Updated 2025-06-24
Dev Status MAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

CLIPS plugin to continuously refresh agendas and run CLIPS environments

Additional Links

No additional links.

Maintainers

  • Tarik Viehmann

Authors

No additional authors.

cx_example_plugin

This package provides continuous execution of CLIPS environments. With a set frequency, this plugin refreshes all agendas and then runs the loaded CLIPS environments.

Usage

Register this plugin with the plugin manager. It’s configuration parameters are depicted in this example setup below.

clips_manager:
  ros__parameters:
    environments: ["main"]
    main:
      plugins: ["executive"]

    executive:
      plugin: "cx::ExecutivePlugin"
      # Publish an empty message with each agenda refresh.
      # Mainly useful for debug purposes to observe true refresh rate.
      # Defaults to false
      publish_on_refresh: false
      # With each iteration, insert the latest ros time into the CLIPS environment.
      # Defaults to true
      assert_time: true
      # Rate with which the environments should run in hz.
      # Note that this is only an upper bound, as it lets all environment
      # run until the Agenda is empty.
      # Defaults to 10
      refresh_rate: 10

CLIPS Features

This plugin adds deffunctions to retrieve the current time.

(bind ?ros-time (now))         ; returns a FLOAT holding get_clock()->now().seconds()
(bind ?sys-time (now-systime)) ; returns a FLOAT of system time

It additionally provides additional changes, if assert_time is true. Then it asserts an unordered fact time with the current ROS time, which looks like this:

(time 1729689959.63119)

It then also defines a defrule and defglobal to clean up the fact once the end of the agenda is reached:

(defglobal
  ?*PRIORITY-TIME-RETRACT*    = -10000
)

(defrule time-retract
  (declare (salience ?*PRIORITY-TIME-RETRACT*))
  ?f <- (time $?)
  =>
  (retract ?f)
)

Lastly, it unwatches both the time fact and time-retract rule as they otherwise would spam the log.

(unwatch facts time)
(unwatch rules time-retract)

CHANGELOG
No CHANGELOG found.

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

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

Recent questions tagged cx_executive_plugin at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 0.1.0
License GPLv2+ license
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/carologistics/clips_executive.git
VCS Type git
VCS Version master
Last Updated 2025-06-24
Dev Status MAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

CLIPS plugin to continuously refresh agendas and run CLIPS environments

Additional Links

No additional links.

Maintainers

  • Tarik Viehmann

Authors

No additional authors.

cx_example_plugin

This package provides continuous execution of CLIPS environments. With a set frequency, this plugin refreshes all agendas and then runs the loaded CLIPS environments.

Usage

Register this plugin with the plugin manager. It’s configuration parameters are depicted in this example setup below.

clips_manager:
  ros__parameters:
    environments: ["main"]
    main:
      plugins: ["executive"]

    executive:
      plugin: "cx::ExecutivePlugin"
      # Publish an empty message with each agenda refresh.
      # Mainly useful for debug purposes to observe true refresh rate.
      # Defaults to false
      publish_on_refresh: false
      # With each iteration, insert the latest ros time into the CLIPS environment.
      # Defaults to true
      assert_time: true
      # Rate with which the environments should run in hz.
      # Note that this is only an upper bound, as it lets all environment
      # run until the Agenda is empty.
      # Defaults to 10
      refresh_rate: 10

CLIPS Features

This plugin adds deffunctions to retrieve the current time.

(bind ?ros-time (now))         ; returns a FLOAT holding get_clock()->now().seconds()
(bind ?sys-time (now-systime)) ; returns a FLOAT of system time

It additionally provides additional changes, if assert_time is true. Then it asserts an unordered fact time with the current ROS time, which looks like this:

(time 1729689959.63119)

It then also defines a defrule and defglobal to clean up the fact once the end of the agenda is reached:

(defglobal
  ?*PRIORITY-TIME-RETRACT*    = -10000
)

(defrule time-retract
  (declare (salience ?*PRIORITY-TIME-RETRACT*))
  ?f <- (time $?)
  =>
  (retract ?f)
)

Lastly, it unwatches both the time fact and time-retract rule as they otherwise would spam the log.

(unwatch facts time)
(unwatch rules time-retract)

CHANGELOG
No CHANGELOG found.

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

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

Recent questions tagged cx_executive_plugin at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 0.1.0
License GPLv2+ license
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/carologistics/clips_executive.git
VCS Type git
VCS Version master
Last Updated 2025-06-24
Dev Status MAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

CLIPS plugin to continuously refresh agendas and run CLIPS environments

Additional Links

No additional links.

Maintainers

  • Tarik Viehmann

Authors

No additional authors.

cx_example_plugin

This package provides continuous execution of CLIPS environments. With a set frequency, this plugin refreshes all agendas and then runs the loaded CLIPS environments.

Usage

Register this plugin with the plugin manager. It’s configuration parameters are depicted in this example setup below.

clips_manager:
  ros__parameters:
    environments: ["main"]
    main:
      plugins: ["executive"]

    executive:
      plugin: "cx::ExecutivePlugin"
      # Publish an empty message with each agenda refresh.
      # Mainly useful for debug purposes to observe true refresh rate.
      # Defaults to false
      publish_on_refresh: false
      # With each iteration, insert the latest ros time into the CLIPS environment.
      # Defaults to true
      assert_time: true
      # Rate with which the environments should run in hz.
      # Note that this is only an upper bound, as it lets all environment
      # run until the Agenda is empty.
      # Defaults to 10
      refresh_rate: 10

CLIPS Features

This plugin adds deffunctions to retrieve the current time.

(bind ?ros-time (now))         ; returns a FLOAT holding get_clock()->now().seconds()
(bind ?sys-time (now-systime)) ; returns a FLOAT of system time

It additionally provides additional changes, if assert_time is true. Then it asserts an unordered fact time with the current ROS time, which looks like this:

(time 1729689959.63119)

It then also defines a defrule and defglobal to clean up the fact once the end of the agenda is reached:

(defglobal
  ?*PRIORITY-TIME-RETRACT*    = -10000
)

(defrule time-retract
  (declare (salience ?*PRIORITY-TIME-RETRACT*))
  ?f <- (time $?)
  =>
  (retract ?f)
)

Lastly, it unwatches both the time fact and time-retract rule as they otherwise would spam the log.

(unwatch facts time)
(unwatch rules time-retract)

CHANGELOG
No CHANGELOG found.

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

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

Recent questions tagged cx_executive_plugin at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 0.1.0
License GPLv2+ license
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/carologistics/clips_executive.git
VCS Type git
VCS Version master
Last Updated 2025-06-24
Dev Status MAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

CLIPS plugin to continuously refresh agendas and run CLIPS environments

Additional Links

No additional links.

Maintainers

  • Tarik Viehmann

Authors

No additional authors.

cx_example_plugin

This package provides continuous execution of CLIPS environments. With a set frequency, this plugin refreshes all agendas and then runs the loaded CLIPS environments.

Usage

Register this plugin with the plugin manager. It’s configuration parameters are depicted in this example setup below.

clips_manager:
  ros__parameters:
    environments: ["main"]
    main:
      plugins: ["executive"]

    executive:
      plugin: "cx::ExecutivePlugin"
      # Publish an empty message with each agenda refresh.
      # Mainly useful for debug purposes to observe true refresh rate.
      # Defaults to false
      publish_on_refresh: false
      # With each iteration, insert the latest ros time into the CLIPS environment.
      # Defaults to true
      assert_time: true
      # Rate with which the environments should run in hz.
      # Note that this is only an upper bound, as it lets all environment
      # run until the Agenda is empty.
      # Defaults to 10
      refresh_rate: 10

CLIPS Features

This plugin adds deffunctions to retrieve the current time.

(bind ?ros-time (now))         ; returns a FLOAT holding get_clock()->now().seconds()
(bind ?sys-time (now-systime)) ; returns a FLOAT of system time

It additionally provides additional changes, if assert_time is true. Then it asserts an unordered fact time with the current ROS time, which looks like this:

(time 1729689959.63119)

It then also defines a defrule and defglobal to clean up the fact once the end of the agenda is reached:

(defglobal
  ?*PRIORITY-TIME-RETRACT*    = -10000
)

(defrule time-retract
  (declare (salience ?*PRIORITY-TIME-RETRACT*))
  ?f <- (time $?)
  =>
  (retract ?f)
)

Lastly, it unwatches both the time fact and time-retract rule as they otherwise would spam the log.

(unwatch facts time)
(unwatch rules time-retract)

CHANGELOG
No CHANGELOG found.

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

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

Recent questions tagged cx_executive_plugin at Robotics Stack Exchange

No version for distro ardent showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.1.0
License GPLv2+ license
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/carologistics/clips_executive.git
VCS Type git
VCS Version master
Last Updated 2025-06-24
Dev Status MAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

CLIPS plugin to continuously refresh agendas and run CLIPS environments

Additional Links

No additional links.

Maintainers

  • Tarik Viehmann

Authors

No additional authors.

cx_example_plugin

This package provides continuous execution of CLIPS environments. With a set frequency, this plugin refreshes all agendas and then runs the loaded CLIPS environments.

Usage

Register this plugin with the plugin manager. It’s configuration parameters are depicted in this example setup below.

clips_manager:
  ros__parameters:
    environments: ["main"]
    main:
      plugins: ["executive"]

    executive:
      plugin: "cx::ExecutivePlugin"
      # Publish an empty message with each agenda refresh.
      # Mainly useful for debug purposes to observe true refresh rate.
      # Defaults to false
      publish_on_refresh: false
      # With each iteration, insert the latest ros time into the CLIPS environment.
      # Defaults to true
      assert_time: true
      # Rate with which the environments should run in hz.
      # Note that this is only an upper bound, as it lets all environment
      # run until the Agenda is empty.
      # Defaults to 10
      refresh_rate: 10

CLIPS Features

This plugin adds deffunctions to retrieve the current time.

(bind ?ros-time (now))         ; returns a FLOAT holding get_clock()->now().seconds()
(bind ?sys-time (now-systime)) ; returns a FLOAT of system time

It additionally provides additional changes, if assert_time is true. Then it asserts an unordered fact time with the current ROS time, which looks like this:

(time 1729689959.63119)

It then also defines a defrule and defglobal to clean up the fact once the end of the agenda is reached:

(defglobal
  ?*PRIORITY-TIME-RETRACT*    = -10000
)

(defrule time-retract
  (declare (salience ?*PRIORITY-TIME-RETRACT*))
  ?f <- (time $?)
  =>
  (retract ?f)
)

Lastly, it unwatches both the time fact and time-retract rule as they otherwise would spam the log.

(unwatch facts time)
(unwatch rules time-retract)

CHANGELOG
No CHANGELOG found.

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

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

Recent questions tagged cx_executive_plugin at Robotics Stack Exchange

No version for distro bouncy showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.1.0
License GPLv2+ license
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/carologistics/clips_executive.git
VCS Type git
VCS Version master
Last Updated 2025-06-24
Dev Status MAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

CLIPS plugin to continuously refresh agendas and run CLIPS environments

Additional Links

No additional links.

Maintainers

  • Tarik Viehmann

Authors

No additional authors.

cx_example_plugin

This package provides continuous execution of CLIPS environments. With a set frequency, this plugin refreshes all agendas and then runs the loaded CLIPS environments.

Usage

Register this plugin with the plugin manager. It’s configuration parameters are depicted in this example setup below.

clips_manager:
  ros__parameters:
    environments: ["main"]
    main:
      plugins: ["executive"]

    executive:
      plugin: "cx::ExecutivePlugin"
      # Publish an empty message with each agenda refresh.
      # Mainly useful for debug purposes to observe true refresh rate.
      # Defaults to false
      publish_on_refresh: false
      # With each iteration, insert the latest ros time into the CLIPS environment.
      # Defaults to true
      assert_time: true
      # Rate with which the environments should run in hz.
      # Note that this is only an upper bound, as it lets all environment
      # run until the Agenda is empty.
      # Defaults to 10
      refresh_rate: 10

CLIPS Features

This plugin adds deffunctions to retrieve the current time.

(bind ?ros-time (now))         ; returns a FLOAT holding get_clock()->now().seconds()
(bind ?sys-time (now-systime)) ; returns a FLOAT of system time

It additionally provides additional changes, if assert_time is true. Then it asserts an unordered fact time with the current ROS time, which looks like this:

(time 1729689959.63119)

It then also defines a defrule and defglobal to clean up the fact once the end of the agenda is reached:

(defglobal
  ?*PRIORITY-TIME-RETRACT*    = -10000
)

(defrule time-retract
  (declare (salience ?*PRIORITY-TIME-RETRACT*))
  ?f <- (time $?)
  =>
  (retract ?f)
)

Lastly, it unwatches both the time fact and time-retract rule as they otherwise would spam the log.

(unwatch facts time)
(unwatch rules time-retract)

CHANGELOG
No CHANGELOG found.

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

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

Recent questions tagged cx_executive_plugin at Robotics Stack Exchange

No version for distro crystal showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.1.0
License GPLv2+ license
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/carologistics/clips_executive.git
VCS Type git
VCS Version master
Last Updated 2025-06-24
Dev Status MAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

CLIPS plugin to continuously refresh agendas and run CLIPS environments

Additional Links

No additional links.

Maintainers

  • Tarik Viehmann

Authors

No additional authors.

cx_example_plugin

This package provides continuous execution of CLIPS environments. With a set frequency, this plugin refreshes all agendas and then runs the loaded CLIPS environments.

Usage

Register this plugin with the plugin manager. It’s configuration parameters are depicted in this example setup below.

clips_manager:
  ros__parameters:
    environments: ["main"]
    main:
      plugins: ["executive"]

    executive:
      plugin: "cx::ExecutivePlugin"
      # Publish an empty message with each agenda refresh.
      # Mainly useful for debug purposes to observe true refresh rate.
      # Defaults to false
      publish_on_refresh: false
      # With each iteration, insert the latest ros time into the CLIPS environment.
      # Defaults to true
      assert_time: true
      # Rate with which the environments should run in hz.
      # Note that this is only an upper bound, as it lets all environment
      # run until the Agenda is empty.
      # Defaults to 10
      refresh_rate: 10

CLIPS Features

This plugin adds deffunctions to retrieve the current time.

(bind ?ros-time (now))         ; returns a FLOAT holding get_clock()->now().seconds()
(bind ?sys-time (now-systime)) ; returns a FLOAT of system time

It additionally provides additional changes, if assert_time is true. Then it asserts an unordered fact time with the current ROS time, which looks like this:

(time 1729689959.63119)

It then also defines a defrule and defglobal to clean up the fact once the end of the agenda is reached:

(defglobal
  ?*PRIORITY-TIME-RETRACT*    = -10000
)

(defrule time-retract
  (declare (salience ?*PRIORITY-TIME-RETRACT*))
  ?f <- (time $?)
  =>
  (retract ?f)
)

Lastly, it unwatches both the time fact and time-retract rule as they otherwise would spam the log.

(unwatch facts time)
(unwatch rules time-retract)

CHANGELOG
No CHANGELOG found.

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

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

Recent questions tagged cx_executive_plugin at Robotics Stack Exchange

No version for distro eloquent showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.1.0
License GPLv2+ license
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/carologistics/clips_executive.git
VCS Type git
VCS Version master
Last Updated 2025-06-24
Dev Status MAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

CLIPS plugin to continuously refresh agendas and run CLIPS environments

Additional Links

No additional links.

Maintainers

  • Tarik Viehmann

Authors

No additional authors.

cx_example_plugin

This package provides continuous execution of CLIPS environments. With a set frequency, this plugin refreshes all agendas and then runs the loaded CLIPS environments.

Usage

Register this plugin with the plugin manager. It’s configuration parameters are depicted in this example setup below.

clips_manager:
  ros__parameters:
    environments: ["main"]
    main:
      plugins: ["executive"]

    executive:
      plugin: "cx::ExecutivePlugin"
      # Publish an empty message with each agenda refresh.
      # Mainly useful for debug purposes to observe true refresh rate.
      # Defaults to false
      publish_on_refresh: false
      # With each iteration, insert the latest ros time into the CLIPS environment.
      # Defaults to true
      assert_time: true
      # Rate with which the environments should run in hz.
      # Note that this is only an upper bound, as it lets all environment
      # run until the Agenda is empty.
      # Defaults to 10
      refresh_rate: 10

CLIPS Features

This plugin adds deffunctions to retrieve the current time.

(bind ?ros-time (now))         ; returns a FLOAT holding get_clock()->now().seconds()
(bind ?sys-time (now-systime)) ; returns a FLOAT of system time

It additionally provides additional changes, if assert_time is true. Then it asserts an unordered fact time with the current ROS time, which looks like this:

(time 1729689959.63119)

It then also defines a defrule and defglobal to clean up the fact once the end of the agenda is reached:

(defglobal
  ?*PRIORITY-TIME-RETRACT*    = -10000
)

(defrule time-retract
  (declare (salience ?*PRIORITY-TIME-RETRACT*))
  ?f <- (time $?)
  =>
  (retract ?f)
)

Lastly, it unwatches both the time fact and time-retract rule as they otherwise would spam the log.

(unwatch facts time)
(unwatch rules time-retract)

CHANGELOG
No CHANGELOG found.

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

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

Recent questions tagged cx_executive_plugin at Robotics Stack Exchange

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

Package Summary

Tags No category tags.
Version 0.1.0
License GPLv2+ license
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/carologistics/clips_executive.git
VCS Type git
VCS Version master
Last Updated 2025-06-24
Dev Status MAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

CLIPS plugin to continuously refresh agendas and run CLIPS environments

Additional Links

No additional links.

Maintainers

  • Tarik Viehmann

Authors

No additional authors.

cx_example_plugin

This package provides continuous execution of CLIPS environments. With a set frequency, this plugin refreshes all agendas and then runs the loaded CLIPS environments.

Usage

Register this plugin with the plugin manager. It’s configuration parameters are depicted in this example setup below.

clips_manager:
  ros__parameters:
    environments: ["main"]
    main:
      plugins: ["executive"]

    executive:
      plugin: "cx::ExecutivePlugin"
      # Publish an empty message with each agenda refresh.
      # Mainly useful for debug purposes to observe true refresh rate.
      # Defaults to false
      publish_on_refresh: false
      # With each iteration, insert the latest ros time into the CLIPS environment.
      # Defaults to true
      assert_time: true
      # Rate with which the environments should run in hz.
      # Note that this is only an upper bound, as it lets all environment
      # run until the Agenda is empty.
      # Defaults to 10
      refresh_rate: 10

CLIPS Features

This plugin adds deffunctions to retrieve the current time.

(bind ?ros-time (now))         ; returns a FLOAT holding get_clock()->now().seconds()
(bind ?sys-time (now-systime)) ; returns a FLOAT of system time

It additionally provides additional changes, if assert_time is true. Then it asserts an unordered fact time with the current ROS time, which looks like this:

(time 1729689959.63119)

It then also defines a defrule and defglobal to clean up the fact once the end of the agenda is reached:

(defglobal
  ?*PRIORITY-TIME-RETRACT*    = -10000
)

(defrule time-retract
  (declare (salience ?*PRIORITY-TIME-RETRACT*))
  ?f <- (time $?)
  =>
  (retract ?f)
)

Lastly, it unwatches both the time fact and time-retract rule as they otherwise would spam the log.

(unwatch facts time)
(unwatch rules time-retract)

CHANGELOG
No CHANGELOG found.

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

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

Recent questions tagged cx_executive_plugin at Robotics Stack Exchange

No version for distro galactic showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.1.0
License GPLv2+ license
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/carologistics/clips_executive.git
VCS Type git
VCS Version master
Last Updated 2025-06-24
Dev Status MAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

CLIPS plugin to continuously refresh agendas and run CLIPS environments

Additional Links

No additional links.

Maintainers

  • Tarik Viehmann

Authors

No additional authors.

cx_example_plugin

This package provides continuous execution of CLIPS environments. With a set frequency, this plugin refreshes all agendas and then runs the loaded CLIPS environments.

Usage

Register this plugin with the plugin manager. It’s configuration parameters are depicted in this example setup below.

clips_manager:
  ros__parameters:
    environments: ["main"]
    main:
      plugins: ["executive"]

    executive:
      plugin: "cx::ExecutivePlugin"
      # Publish an empty message with each agenda refresh.
      # Mainly useful for debug purposes to observe true refresh rate.
      # Defaults to false
      publish_on_refresh: false
      # With each iteration, insert the latest ros time into the CLIPS environment.
      # Defaults to true
      assert_time: true
      # Rate with which the environments should run in hz.
      # Note that this is only an upper bound, as it lets all environment
      # run until the Agenda is empty.
      # Defaults to 10
      refresh_rate: 10

CLIPS Features

This plugin adds deffunctions to retrieve the current time.

(bind ?ros-time (now))         ; returns a FLOAT holding get_clock()->now().seconds()
(bind ?sys-time (now-systime)) ; returns a FLOAT of system time

It additionally provides additional changes, if assert_time is true. Then it asserts an unordered fact time with the current ROS time, which looks like this:

(time 1729689959.63119)

It then also defines a defrule and defglobal to clean up the fact once the end of the agenda is reached:

(defglobal
  ?*PRIORITY-TIME-RETRACT*    = -10000
)

(defrule time-retract
  (declare (salience ?*PRIORITY-TIME-RETRACT*))
  ?f <- (time $?)
  =>
  (retract ?f)
)

Lastly, it unwatches both the time fact and time-retract rule as they otherwise would spam the log.

(unwatch facts time)
(unwatch rules time-retract)

CHANGELOG
No CHANGELOG found.

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

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

Recent questions tagged cx_executive_plugin at Robotics Stack Exchange

No version for distro foxy showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.1.0
License GPLv2+ license
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/carologistics/clips_executive.git
VCS Type git
VCS Version master
Last Updated 2025-06-24
Dev Status MAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

CLIPS plugin to continuously refresh agendas and run CLIPS environments

Additional Links

No additional links.

Maintainers

  • Tarik Viehmann

Authors

No additional authors.

cx_example_plugin

This package provides continuous execution of CLIPS environments. With a set frequency, this plugin refreshes all agendas and then runs the loaded CLIPS environments.

Usage

Register this plugin with the plugin manager. It’s configuration parameters are depicted in this example setup below.

clips_manager:
  ros__parameters:
    environments: ["main"]
    main:
      plugins: ["executive"]

    executive:
      plugin: "cx::ExecutivePlugin"
      # Publish an empty message with each agenda refresh.
      # Mainly useful for debug purposes to observe true refresh rate.
      # Defaults to false
      publish_on_refresh: false
      # With each iteration, insert the latest ros time into the CLIPS environment.
      # Defaults to true
      assert_time: true
      # Rate with which the environments should run in hz.
      # Note that this is only an upper bound, as it lets all environment
      # run until the Agenda is empty.
      # Defaults to 10
      refresh_rate: 10

CLIPS Features

This plugin adds deffunctions to retrieve the current time.

(bind ?ros-time (now))         ; returns a FLOAT holding get_clock()->now().seconds()
(bind ?sys-time (now-systime)) ; returns a FLOAT of system time

It additionally provides additional changes, if assert_time is true. Then it asserts an unordered fact time with the current ROS time, which looks like this:

(time 1729689959.63119)

It then also defines a defrule and defglobal to clean up the fact once the end of the agenda is reached:

(defglobal
  ?*PRIORITY-TIME-RETRACT*    = -10000
)

(defrule time-retract
  (declare (salience ?*PRIORITY-TIME-RETRACT*))
  ?f <- (time $?)
  =>
  (retract ?f)
)

Lastly, it unwatches both the time fact and time-retract rule as they otherwise would spam the log.

(unwatch facts time)
(unwatch rules time-retract)

CHANGELOG
No CHANGELOG found.

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

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

Recent questions tagged cx_executive_plugin at Robotics Stack Exchange

No version for distro iron showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.1.0
License GPLv2+ license
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/carologistics/clips_executive.git
VCS Type git
VCS Version master
Last Updated 2025-06-24
Dev Status MAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

CLIPS plugin to continuously refresh agendas and run CLIPS environments

Additional Links

No additional links.

Maintainers

  • Tarik Viehmann

Authors

No additional authors.

cx_example_plugin

This package provides continuous execution of CLIPS environments. With a set frequency, this plugin refreshes all agendas and then runs the loaded CLIPS environments.

Usage

Register this plugin with the plugin manager. It’s configuration parameters are depicted in this example setup below.

clips_manager:
  ros__parameters:
    environments: ["main"]
    main:
      plugins: ["executive"]

    executive:
      plugin: "cx::ExecutivePlugin"
      # Publish an empty message with each agenda refresh.
      # Mainly useful for debug purposes to observe true refresh rate.
      # Defaults to false
      publish_on_refresh: false
      # With each iteration, insert the latest ros time into the CLIPS environment.
      # Defaults to true
      assert_time: true
      # Rate with which the environments should run in hz.
      # Note that this is only an upper bound, as it lets all environment
      # run until the Agenda is empty.
      # Defaults to 10
      refresh_rate: 10

CLIPS Features

This plugin adds deffunctions to retrieve the current time.

(bind ?ros-time (now))         ; returns a FLOAT holding get_clock()->now().seconds()
(bind ?sys-time (now-systime)) ; returns a FLOAT of system time

It additionally provides additional changes, if assert_time is true. Then it asserts an unordered fact time with the current ROS time, which looks like this:

(time 1729689959.63119)

It then also defines a defrule and defglobal to clean up the fact once the end of the agenda is reached:

(defglobal
  ?*PRIORITY-TIME-RETRACT*    = -10000
)

(defrule time-retract
  (declare (salience ?*PRIORITY-TIME-RETRACT*))
  ?f <- (time $?)
  =>
  (retract ?f)
)

Lastly, it unwatches both the time fact and time-retract rule as they otherwise would spam the log.

(unwatch facts time)
(unwatch rules time-retract)

CHANGELOG
No CHANGELOG found.

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

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

Recent questions tagged cx_executive_plugin at Robotics Stack Exchange

No version for distro lunar showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.1.0
License GPLv2+ license
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/carologistics/clips_executive.git
VCS Type git
VCS Version master
Last Updated 2025-06-24
Dev Status MAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

CLIPS plugin to continuously refresh agendas and run CLIPS environments

Additional Links

No additional links.

Maintainers

  • Tarik Viehmann

Authors

No additional authors.

cx_example_plugin

This package provides continuous execution of CLIPS environments. With a set frequency, this plugin refreshes all agendas and then runs the loaded CLIPS environments.

Usage

Register this plugin with the plugin manager. It’s configuration parameters are depicted in this example setup below.

clips_manager:
  ros__parameters:
    environments: ["main"]
    main:
      plugins: ["executive"]

    executive:
      plugin: "cx::ExecutivePlugin"
      # Publish an empty message with each agenda refresh.
      # Mainly useful for debug purposes to observe true refresh rate.
      # Defaults to false
      publish_on_refresh: false
      # With each iteration, insert the latest ros time into the CLIPS environment.
      # Defaults to true
      assert_time: true
      # Rate with which the environments should run in hz.
      # Note that this is only an upper bound, as it lets all environment
      # run until the Agenda is empty.
      # Defaults to 10
      refresh_rate: 10

CLIPS Features

This plugin adds deffunctions to retrieve the current time.

(bind ?ros-time (now))         ; returns a FLOAT holding get_clock()->now().seconds()
(bind ?sys-time (now-systime)) ; returns a FLOAT of system time

It additionally provides additional changes, if assert_time is true. Then it asserts an unordered fact time with the current ROS time, which looks like this:

(time 1729689959.63119)

It then also defines a defrule and defglobal to clean up the fact once the end of the agenda is reached:

(defglobal
  ?*PRIORITY-TIME-RETRACT*    = -10000
)

(defrule time-retract
  (declare (salience ?*PRIORITY-TIME-RETRACT*))
  ?f <- (time $?)
  =>
  (retract ?f)
)

Lastly, it unwatches both the time fact and time-retract rule as they otherwise would spam the log.

(unwatch facts time)
(unwatch rules time-retract)

CHANGELOG
No CHANGELOG found.

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

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

Recent questions tagged cx_executive_plugin at Robotics Stack Exchange

No version for distro jade showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.1.0
License GPLv2+ license
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/carologistics/clips_executive.git
VCS Type git
VCS Version master
Last Updated 2025-06-24
Dev Status MAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

CLIPS plugin to continuously refresh agendas and run CLIPS environments

Additional Links

No additional links.

Maintainers

  • Tarik Viehmann

Authors

No additional authors.

cx_example_plugin

This package provides continuous execution of CLIPS environments. With a set frequency, this plugin refreshes all agendas and then runs the loaded CLIPS environments.

Usage

Register this plugin with the plugin manager. It’s configuration parameters are depicted in this example setup below.

clips_manager:
  ros__parameters:
    environments: ["main"]
    main:
      plugins: ["executive"]

    executive:
      plugin: "cx::ExecutivePlugin"
      # Publish an empty message with each agenda refresh.
      # Mainly useful for debug purposes to observe true refresh rate.
      # Defaults to false
      publish_on_refresh: false
      # With each iteration, insert the latest ros time into the CLIPS environment.
      # Defaults to true
      assert_time: true
      # Rate with which the environments should run in hz.
      # Note that this is only an upper bound, as it lets all environment
      # run until the Agenda is empty.
      # Defaults to 10
      refresh_rate: 10

CLIPS Features

This plugin adds deffunctions to retrieve the current time.

(bind ?ros-time (now))         ; returns a FLOAT holding get_clock()->now().seconds()
(bind ?sys-time (now-systime)) ; returns a FLOAT of system time

It additionally provides additional changes, if assert_time is true. Then it asserts an unordered fact time with the current ROS time, which looks like this:

(time 1729689959.63119)

It then also defines a defrule and defglobal to clean up the fact once the end of the agenda is reached:

(defglobal
  ?*PRIORITY-TIME-RETRACT*    = -10000
)

(defrule time-retract
  (declare (salience ?*PRIORITY-TIME-RETRACT*))
  ?f <- (time $?)
  =>
  (retract ?f)
)

Lastly, it unwatches both the time fact and time-retract rule as they otherwise would spam the log.

(unwatch facts time)
(unwatch rules time-retract)

CHANGELOG
No CHANGELOG found.

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

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

Recent questions tagged cx_executive_plugin at Robotics Stack Exchange

No version for distro indigo showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.1.0
License GPLv2+ license
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/carologistics/clips_executive.git
VCS Type git
VCS Version master
Last Updated 2025-06-24
Dev Status MAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

CLIPS plugin to continuously refresh agendas and run CLIPS environments

Additional Links

No additional links.

Maintainers

  • Tarik Viehmann

Authors

No additional authors.

cx_example_plugin

This package provides continuous execution of CLIPS environments. With a set frequency, this plugin refreshes all agendas and then runs the loaded CLIPS environments.

Usage

Register this plugin with the plugin manager. It’s configuration parameters are depicted in this example setup below.

clips_manager:
  ros__parameters:
    environments: ["main"]
    main:
      plugins: ["executive"]

    executive:
      plugin: "cx::ExecutivePlugin"
      # Publish an empty message with each agenda refresh.
      # Mainly useful for debug purposes to observe true refresh rate.
      # Defaults to false
      publish_on_refresh: false
      # With each iteration, insert the latest ros time into the CLIPS environment.
      # Defaults to true
      assert_time: true
      # Rate with which the environments should run in hz.
      # Note that this is only an upper bound, as it lets all environment
      # run until the Agenda is empty.
      # Defaults to 10
      refresh_rate: 10

CLIPS Features

This plugin adds deffunctions to retrieve the current time.

(bind ?ros-time (now))         ; returns a FLOAT holding get_clock()->now().seconds()
(bind ?sys-time (now-systime)) ; returns a FLOAT of system time

It additionally provides additional changes, if assert_time is true. Then it asserts an unordered fact time with the current ROS time, which looks like this:

(time 1729689959.63119)

It then also defines a defrule and defglobal to clean up the fact once the end of the agenda is reached:

(defglobal
  ?*PRIORITY-TIME-RETRACT*    = -10000
)

(defrule time-retract
  (declare (salience ?*PRIORITY-TIME-RETRACT*))
  ?f <- (time $?)
  =>
  (retract ?f)
)

Lastly, it unwatches both the time fact and time-retract rule as they otherwise would spam the log.

(unwatch facts time)
(unwatch rules time-retract)

CHANGELOG
No CHANGELOG found.

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

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

Recent questions tagged cx_executive_plugin at Robotics Stack Exchange

No version for distro hydro showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.1.0
License GPLv2+ license
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/carologistics/clips_executive.git
VCS Type git
VCS Version master
Last Updated 2025-06-24
Dev Status MAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

CLIPS plugin to continuously refresh agendas and run CLIPS environments

Additional Links

No additional links.

Maintainers

  • Tarik Viehmann

Authors

No additional authors.

cx_example_plugin

This package provides continuous execution of CLIPS environments. With a set frequency, this plugin refreshes all agendas and then runs the loaded CLIPS environments.

Usage

Register this plugin with the plugin manager. It’s configuration parameters are depicted in this example setup below.

clips_manager:
  ros__parameters:
    environments: ["main"]
    main:
      plugins: ["executive"]

    executive:
      plugin: "cx::ExecutivePlugin"
      # Publish an empty message with each agenda refresh.
      # Mainly useful for debug purposes to observe true refresh rate.
      # Defaults to false
      publish_on_refresh: false
      # With each iteration, insert the latest ros time into the CLIPS environment.
      # Defaults to true
      assert_time: true
      # Rate with which the environments should run in hz.
      # Note that this is only an upper bound, as it lets all environment
      # run until the Agenda is empty.
      # Defaults to 10
      refresh_rate: 10

CLIPS Features

This plugin adds deffunctions to retrieve the current time.

(bind ?ros-time (now))         ; returns a FLOAT holding get_clock()->now().seconds()
(bind ?sys-time (now-systime)) ; returns a FLOAT of system time

It additionally provides additional changes, if assert_time is true. Then it asserts an unordered fact time with the current ROS time, which looks like this:

(time 1729689959.63119)

It then also defines a defrule and defglobal to clean up the fact once the end of the agenda is reached:

(defglobal
  ?*PRIORITY-TIME-RETRACT*    = -10000
)

(defrule time-retract
  (declare (salience ?*PRIORITY-TIME-RETRACT*))
  ?f <- (time $?)
  =>
  (retract ?f)
)

Lastly, it unwatches both the time fact and time-retract rule as they otherwise would spam the log.

(unwatch facts time)
(unwatch rules time-retract)

CHANGELOG
No CHANGELOG found.

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

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

Recent questions tagged cx_executive_plugin at Robotics Stack Exchange

No version for distro kinetic showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.1.0
License GPLv2+ license
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/carologistics/clips_executive.git
VCS Type git
VCS Version master
Last Updated 2025-06-24
Dev Status MAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

CLIPS plugin to continuously refresh agendas and run CLIPS environments

Additional Links

No additional links.

Maintainers

  • Tarik Viehmann

Authors

No additional authors.

cx_example_plugin

This package provides continuous execution of CLIPS environments. With a set frequency, this plugin refreshes all agendas and then runs the loaded CLIPS environments.

Usage

Register this plugin with the plugin manager. It’s configuration parameters are depicted in this example setup below.

clips_manager:
  ros__parameters:
    environments: ["main"]
    main:
      plugins: ["executive"]

    executive:
      plugin: "cx::ExecutivePlugin"
      # Publish an empty message with each agenda refresh.
      # Mainly useful for debug purposes to observe true refresh rate.
      # Defaults to false
      publish_on_refresh: false
      # With each iteration, insert the latest ros time into the CLIPS environment.
      # Defaults to true
      assert_time: true
      # Rate with which the environments should run in hz.
      # Note that this is only an upper bound, as it lets all environment
      # run until the Agenda is empty.
      # Defaults to 10
      refresh_rate: 10

CLIPS Features

This plugin adds deffunctions to retrieve the current time.

(bind ?ros-time (now))         ; returns a FLOAT holding get_clock()->now().seconds()
(bind ?sys-time (now-systime)) ; returns a FLOAT of system time

It additionally provides additional changes, if assert_time is true. Then it asserts an unordered fact time with the current ROS time, which looks like this:

(time 1729689959.63119)

It then also defines a defrule and defglobal to clean up the fact once the end of the agenda is reached:

(defglobal
  ?*PRIORITY-TIME-RETRACT*    = -10000
)

(defrule time-retract
  (declare (salience ?*PRIORITY-TIME-RETRACT*))
  ?f <- (time $?)
  =>
  (retract ?f)
)

Lastly, it unwatches both the time fact and time-retract rule as they otherwise would spam the log.

(unwatch facts time)
(unwatch rules time-retract)

CHANGELOG
No CHANGELOG found.

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

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

Recent questions tagged cx_executive_plugin at Robotics Stack Exchange

No version for distro melodic showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.1.0
License GPLv2+ license
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/carologistics/clips_executive.git
VCS Type git
VCS Version master
Last Updated 2025-06-24
Dev Status MAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

CLIPS plugin to continuously refresh agendas and run CLIPS environments

Additional Links

No additional links.

Maintainers

  • Tarik Viehmann

Authors

No additional authors.

cx_example_plugin

This package provides continuous execution of CLIPS environments. With a set frequency, this plugin refreshes all agendas and then runs the loaded CLIPS environments.

Usage

Register this plugin with the plugin manager. It’s configuration parameters are depicted in this example setup below.

clips_manager:
  ros__parameters:
    environments: ["main"]
    main:
      plugins: ["executive"]

    executive:
      plugin: "cx::ExecutivePlugin"
      # Publish an empty message with each agenda refresh.
      # Mainly useful for debug purposes to observe true refresh rate.
      # Defaults to false
      publish_on_refresh: false
      # With each iteration, insert the latest ros time into the CLIPS environment.
      # Defaults to true
      assert_time: true
      # Rate with which the environments should run in hz.
      # Note that this is only an upper bound, as it lets all environment
      # run until the Agenda is empty.
      # Defaults to 10
      refresh_rate: 10

CLIPS Features

This plugin adds deffunctions to retrieve the current time.

(bind ?ros-time (now))         ; returns a FLOAT holding get_clock()->now().seconds()
(bind ?sys-time (now-systime)) ; returns a FLOAT of system time

It additionally provides additional changes, if assert_time is true. Then it asserts an unordered fact time with the current ROS time, which looks like this:

(time 1729689959.63119)

It then also defines a defrule and defglobal to clean up the fact once the end of the agenda is reached:

(defglobal
  ?*PRIORITY-TIME-RETRACT*    = -10000
)

(defrule time-retract
  (declare (salience ?*PRIORITY-TIME-RETRACT*))
  ?f <- (time $?)
  =>
  (retract ?f)
)

Lastly, it unwatches both the time fact and time-retract rule as they otherwise would spam the log.

(unwatch facts time)
(unwatch rules time-retract)

CHANGELOG
No CHANGELOG found.

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

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

Recent questions tagged cx_executive_plugin at Robotics Stack Exchange

No version for distro noetic showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.1.0
License GPLv2+ license
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/carologistics/clips_executive.git
VCS Type git
VCS Version master
Last Updated 2025-06-24
Dev Status MAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

CLIPS plugin to continuously refresh agendas and run CLIPS environments

Additional Links

No additional links.

Maintainers

  • Tarik Viehmann

Authors

No additional authors.

cx_example_plugin

This package provides continuous execution of CLIPS environments. With a set frequency, this plugin refreshes all agendas and then runs the loaded CLIPS environments.

Usage

Register this plugin with the plugin manager. It’s configuration parameters are depicted in this example setup below.

clips_manager:
  ros__parameters:
    environments: ["main"]
    main:
      plugins: ["executive"]

    executive:
      plugin: "cx::ExecutivePlugin"
      # Publish an empty message with each agenda refresh.
      # Mainly useful for debug purposes to observe true refresh rate.
      # Defaults to false
      publish_on_refresh: false
      # With each iteration, insert the latest ros time into the CLIPS environment.
      # Defaults to true
      assert_time: true
      # Rate with which the environments should run in hz.
      # Note that this is only an upper bound, as it lets all environment
      # run until the Agenda is empty.
      # Defaults to 10
      refresh_rate: 10

CLIPS Features

This plugin adds deffunctions to retrieve the current time.

(bind ?ros-time (now))         ; returns a FLOAT holding get_clock()->now().seconds()
(bind ?sys-time (now-systime)) ; returns a FLOAT of system time

It additionally provides additional changes, if assert_time is true. Then it asserts an unordered fact time with the current ROS time, which looks like this:

(time 1729689959.63119)

It then also defines a defrule and defglobal to clean up the fact once the end of the agenda is reached:

(defglobal
  ?*PRIORITY-TIME-RETRACT*    = -10000
)

(defrule time-retract
  (declare (salience ?*PRIORITY-TIME-RETRACT*))
  ?f <- (time $?)
  =>
  (retract ?f)
)

Lastly, it unwatches both the time fact and time-retract rule as they otherwise would spam the log.

(unwatch facts time)
(unwatch rules time-retract)

CHANGELOG
No CHANGELOG found.

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

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

Recent questions tagged cx_executive_plugin at Robotics Stack Exchange