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

cl_gcalcli package from SMACC2 repo

smacc2 cl_foundation_pose cl_gcalcli cl_generic_sensor cl_http cl_keyboard cl_lifecycle_node cl_mission_tracker cl_modbus_tcp_relay cl_moveit2z cl_nav2z backward_global_planner backward_local_planner forward_global_planner forward_local_planner nav2z_planners_common pure_spinning_local_planner undo_path_global_planner cl_px4_mr cl_ros2_timer eg_conditional_generator eg_random_generator smacc2_msgs sm_atomic_performance_trace_1 sm_atomic_subscribers_performance_test sm_coretest_action_client_1 sm_coretest_callback_rate_1 sm_coretest_exceptions_1 sm_coretest_features_1 sm_coretest_forced_finish_1 sm_coretest_idle_load_1 sm_coretest_object_churn_1 sm_coretest_poll_shutdown_1 sm_coretest_post_during_exit_1 sm_coretest_reactor_order_1 sm_coretest_signal_key_1 sm_coretest_timer_handoff_1 sm_coretest_transition_speed_1 sm_advanced_recovery_1 sm_atomic sm_atomic_http sm_atomic_lifecycle sm_atomic_mode_states sm_branching sm_cl_gcalcli_test_1 sm_cl_keyboard_unit_test_1 sm_cl_px4_mr_test_1 sm_cl_px4_mr_test_2 sm_cl_px4_mr_test_3 sm_cl_px4_mr_test_4 sm_cl_px4_mr_test_5 sm_cl_ros2_timer_unit_test_1 sm_data_sharing_1 sm_data_sharing_2 sm_modbus_tcp_relay_test_1 sm_mode_state_behavior_1 sm_multi_stage_1 sm_multithread_test_1 sm_nav2_gazebo_test_1 sm_nav2_gazebo_test_2 sm_nav2_gazebo_test_3 sm_pack_ml sm_panda_cl_moveit2z_cb_inventory sm_panda_cl_moveit2z_cb_inventory_isaacsim sm_retry_logic_1 sm_simple_action_client sm_three_some sr_all_events_go sr_conditional sr_event_countdown

ROS Distro
jazzy

Package Summary

Version 3.1.0
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/robosoft-ai/SMACC2.git
VCS Type git
VCS Version jazzy
Last Updated 2026-11-15
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

SMACC2 client library for Google Calendar integration via gcalcli

Maintainers

  • Brett Aldrich

Authors

No additional authors.

cl_gcalcli - SMACC2 Google Calendar Client

A SMACC2 client library for Google Calendar integration via the gcalcli CLI tool. This client enables state machines to react to Google Calendar events.

Prerequisites

  • gcalcli installed and authenticated (pip install gcalcli)
  • Google Calendar API credentials configured
  • ROS2 and SMACC2 installed

Architecture

ClGcalcli (Orchestrator)
    ├── CpSubprocessExecutor (smacc2 core - generic subprocess execution)
    ├── CpGcalcliConnection (connection health monitoring)
    ├── CpCalendarPoller (agenda polling + TSV parsing)
    └── CpCalendarEventListener (pattern matching + event dispatch)

Components

Component Purpose
CpSubprocessExecutor Generic subprocess execution (smacc2 core)
CpGcalcliConnection Connection health monitoring, heartbeat, authentication
CpCalendarPoller Periodic agenda fetching and parsing
CpCalendarEventListener Event pattern matching and triggering

Client Behaviors

Behavior Type Purpose
CbDetectCalendarEvent Async Wait until matching event’s start time arrives
CbStatus Sync Get connection state and current events
CbWaitConnection Async Wait for gcalcli connection with timeout
CbMonitorConnection Sync Continuous connection monitoring
CbQuickAdd Async Add event via gcalcli quick
CbRefreshAgenda Sync Force immediate agenda refresh

CbDetectCalendarEvent Parameters

configure_orthogonal<OrCalendar, CbDetectCalendarEvent>("TestEvent", false, 5);
//                                                       pattern    regex  minutes_before

The minutes_before parameter controls when the behavior triggers relative to the event’s start time. The value 5 means “trigger 5 minutes before the event’s start time.”

This is intentional - it allows the robot/system to prepare before a meeting actually starts. You can change it:

  • 0 = trigger exactly at start time
  • 5 = trigger 5 minutes early
  • 10 = trigger 10 minutes early

If you want to trigger at the actual start time, change it to:

configure_orthogonal<OrCalendar, CbDetectCalendarEvent>("TestEvent", false, 0);

Events

// Connection events
EvConnectionLost<TSource, TOrthogonal>
EvConnectionRestored<TSource, TOrthogonal>
EvAuthenticationRequired<TSource, TOrthogonal>

// Calendar events
EvCalendarEventDetected<TSource, TOrthogonal>  // Contains: event, matched_pattern
EvCalendarEventStarted<TSource, TOrthogonal>   // Contains: event
EvCalendarEventEnded<TSource, TOrthogonal>     // Contains: event
EvAgendaUpdated<TSource, TOrthogonal>          // Contains: events vector

Usage Example

Orthogonal Setup

#include <cl_gcalcli/cl_gcalcli.hpp>
#include <cl_gcalcli/client_behaviors.hpp>

class OrCalendar : public smacc2::Orthogonal<OrCalendar>
{
  void onInitialize() override
  {
    cl_gcalcli::GcalcliConfig config;
    config.gcalcli_path = "gcalcli";  // from PATH
    config.poll_interval = std::chrono::seconds{30};
    config.heartbeat_interval = std::chrono::seconds{60};
    config.agenda_days = 7;

    this->createClient<cl_gcalcli::ClGcalcli>(config);
  }
};

State Machine Example

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

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 cl_gcalcli at Robotics Stack Exchange

Package symbol

cl_gcalcli package from SMACC2 repo

smacc2 cl_foundation_pose cl_gcalcli cl_generic_sensor cl_http cl_keyboard cl_lifecycle_node cl_mission_tracker cl_modbus_tcp_relay cl_moveit2z cl_nav2z backward_global_planner backward_local_planner forward_global_planner forward_local_planner nav2z_planners_common pure_spinning_local_planner undo_path_global_planner cl_px4_mr cl_ros2_timer eg_conditional_generator eg_random_generator smacc2_msgs sm_atomic_performance_trace_1 sm_atomic_subscribers_performance_test sm_coretest_action_client_1 sm_coretest_callback_rate_1 sm_coretest_exceptions_1 sm_coretest_features_1 sm_coretest_forced_finish_1 sm_coretest_idle_load_1 sm_coretest_object_churn_1 sm_coretest_poll_shutdown_1 sm_coretest_post_during_exit_1 sm_coretest_reactor_order_1 sm_coretest_signal_key_1 sm_coretest_timer_handoff_1 sm_coretest_transition_speed_1 sm_advanced_recovery_1 sm_atomic sm_atomic_http sm_atomic_lifecycle sm_atomic_mode_states sm_branching sm_cl_gcalcli_test_1 sm_cl_keyboard_unit_test_1 sm_cl_px4_mr_test_1 sm_cl_px4_mr_test_2 sm_cl_px4_mr_test_3 sm_cl_px4_mr_test_4 sm_cl_px4_mr_test_5 sm_cl_ros2_timer_unit_test_1 sm_data_sharing_1 sm_data_sharing_2 sm_modbus_tcp_relay_test_1 sm_mode_state_behavior_1 sm_multi_stage_1 sm_multithread_test_1 sm_nav2_gazebo_test_1 sm_nav2_gazebo_test_2 sm_nav2_gazebo_test_3 sm_pack_ml sm_panda_cl_moveit2z_cb_inventory sm_panda_cl_moveit2z_cb_inventory_isaacsim sm_retry_logic_1 sm_simple_action_client sm_three_some sr_all_events_go sr_conditional sr_event_countdown

ROS Distro
jazzy

Package Summary

Version 3.1.0
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/robosoft-ai/SMACC2.git
VCS Type git
VCS Version jazzy
Last Updated 2026-11-15
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

SMACC2 client library for Google Calendar integration via gcalcli

Maintainers

  • Brett Aldrich

Authors

No additional authors.

cl_gcalcli - SMACC2 Google Calendar Client

A SMACC2 client library for Google Calendar integration via the gcalcli CLI tool. This client enables state machines to react to Google Calendar events.

Prerequisites

  • gcalcli installed and authenticated (pip install gcalcli)
  • Google Calendar API credentials configured
  • ROS2 and SMACC2 installed

Architecture

ClGcalcli (Orchestrator)
    ├── CpSubprocessExecutor (smacc2 core - generic subprocess execution)
    ├── CpGcalcliConnection (connection health monitoring)
    ├── CpCalendarPoller (agenda polling + TSV parsing)
    └── CpCalendarEventListener (pattern matching + event dispatch)

Components

Component Purpose
CpSubprocessExecutor Generic subprocess execution (smacc2 core)
CpGcalcliConnection Connection health monitoring, heartbeat, authentication
CpCalendarPoller Periodic agenda fetching and parsing
CpCalendarEventListener Event pattern matching and triggering

Client Behaviors

Behavior Type Purpose
CbDetectCalendarEvent Async Wait until matching event’s start time arrives
CbStatus Sync Get connection state and current events
CbWaitConnection Async Wait for gcalcli connection with timeout
CbMonitorConnection Sync Continuous connection monitoring
CbQuickAdd Async Add event via gcalcli quick
CbRefreshAgenda Sync Force immediate agenda refresh

CbDetectCalendarEvent Parameters

configure_orthogonal<OrCalendar, CbDetectCalendarEvent>("TestEvent", false, 5);
//                                                       pattern    regex  minutes_before

The minutes_before parameter controls when the behavior triggers relative to the event’s start time. The value 5 means “trigger 5 minutes before the event’s start time.”

This is intentional - it allows the robot/system to prepare before a meeting actually starts. You can change it:

  • 0 = trigger exactly at start time
  • 5 = trigger 5 minutes early
  • 10 = trigger 10 minutes early

If you want to trigger at the actual start time, change it to:

configure_orthogonal<OrCalendar, CbDetectCalendarEvent>("TestEvent", false, 0);

Events

// Connection events
EvConnectionLost<TSource, TOrthogonal>
EvConnectionRestored<TSource, TOrthogonal>
EvAuthenticationRequired<TSource, TOrthogonal>

// Calendar events
EvCalendarEventDetected<TSource, TOrthogonal>  // Contains: event, matched_pattern
EvCalendarEventStarted<TSource, TOrthogonal>   // Contains: event
EvCalendarEventEnded<TSource, TOrthogonal>     // Contains: event
EvAgendaUpdated<TSource, TOrthogonal>          // Contains: events vector

Usage Example

Orthogonal Setup

#include <cl_gcalcli/cl_gcalcli.hpp>
#include <cl_gcalcli/client_behaviors.hpp>

class OrCalendar : public smacc2::Orthogonal<OrCalendar>
{
  void onInitialize() override
  {
    cl_gcalcli::GcalcliConfig config;
    config.gcalcli_path = "gcalcli";  // from PATH
    config.poll_interval = std::chrono::seconds{30};
    config.heartbeat_interval = std::chrono::seconds{60};
    config.agenda_days = 7;

    this->createClient<cl_gcalcli::ClGcalcli>(config);
  }
};

State Machine Example

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

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 cl_gcalcli at Robotics Stack Exchange

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

cl_gcalcli package from SMACC2 repo

smacc2 cl_foundation_pose cl_gcalcli cl_generic_sensor cl_http cl_keyboard cl_lifecycle_node cl_mission_tracker cl_modbus_tcp_relay cl_moveit2z cl_nav2z backward_global_planner backward_local_planner forward_global_planner forward_local_planner nav2z_planners_common pure_spinning_local_planner undo_path_global_planner cl_px4_mr cl_ros2_timer eg_conditional_generator eg_random_generator smacc2_msgs sm_atomic_performance_trace_1 sm_atomic_subscribers_performance_test sm_coretest_action_client_1 sm_coretest_callback_rate_1 sm_coretest_exceptions_1 sm_coretest_features_1 sm_coretest_forced_finish_1 sm_coretest_idle_load_1 sm_coretest_object_churn_1 sm_coretest_poll_shutdown_1 sm_coretest_post_during_exit_1 sm_coretest_reactor_order_1 sm_coretest_signal_key_1 sm_coretest_timer_handoff_1 sm_coretest_transition_speed_1 sm_advanced_recovery_1 sm_atomic sm_atomic_http sm_atomic_lifecycle sm_atomic_mode_states sm_branching sm_cl_gcalcli_test_1 sm_cl_keyboard_unit_test_1 sm_cl_px4_mr_test_1 sm_cl_px4_mr_test_2 sm_cl_px4_mr_test_3 sm_cl_px4_mr_test_4 sm_cl_px4_mr_test_5 sm_cl_ros2_timer_unit_test_1 sm_data_sharing_1 sm_data_sharing_2 sm_modbus_tcp_relay_test_1 sm_mode_state_behavior_1 sm_multi_stage_1 sm_multithread_test_1 sm_nav2_gazebo_test_1 sm_nav2_gazebo_test_2 sm_nav2_gazebo_test_3 sm_pack_ml sm_panda_cl_moveit2z_cb_inventory sm_panda_cl_moveit2z_cb_inventory_isaacsim sm_retry_logic_1 sm_simple_action_client sm_three_some sr_all_events_go sr_conditional sr_event_countdown

ROS Distro
jazzy

Package Summary

Version 3.1.0
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/robosoft-ai/SMACC2.git
VCS Type git
VCS Version jazzy
Last Updated 2026-11-15
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

SMACC2 client library for Google Calendar integration via gcalcli

Maintainers

  • Brett Aldrich

Authors

No additional authors.

cl_gcalcli - SMACC2 Google Calendar Client

A SMACC2 client library for Google Calendar integration via the gcalcli CLI tool. This client enables state machines to react to Google Calendar events.

Prerequisites

  • gcalcli installed and authenticated (pip install gcalcli)
  • Google Calendar API credentials configured
  • ROS2 and SMACC2 installed

Architecture

ClGcalcli (Orchestrator)
    ├── CpSubprocessExecutor (smacc2 core - generic subprocess execution)
    ├── CpGcalcliConnection (connection health monitoring)
    ├── CpCalendarPoller (agenda polling + TSV parsing)
    └── CpCalendarEventListener (pattern matching + event dispatch)

Components

Component Purpose
CpSubprocessExecutor Generic subprocess execution (smacc2 core)
CpGcalcliConnection Connection health monitoring, heartbeat, authentication
CpCalendarPoller Periodic agenda fetching and parsing
CpCalendarEventListener Event pattern matching and triggering

Client Behaviors

Behavior Type Purpose
CbDetectCalendarEvent Async Wait until matching event’s start time arrives
CbStatus Sync Get connection state and current events
CbWaitConnection Async Wait for gcalcli connection with timeout
CbMonitorConnection Sync Continuous connection monitoring
CbQuickAdd Async Add event via gcalcli quick
CbRefreshAgenda Sync Force immediate agenda refresh

CbDetectCalendarEvent Parameters

configure_orthogonal<OrCalendar, CbDetectCalendarEvent>("TestEvent", false, 5);
//                                                       pattern    regex  minutes_before

The minutes_before parameter controls when the behavior triggers relative to the event’s start time. The value 5 means “trigger 5 minutes before the event’s start time.”

This is intentional - it allows the robot/system to prepare before a meeting actually starts. You can change it:

  • 0 = trigger exactly at start time
  • 5 = trigger 5 minutes early
  • 10 = trigger 10 minutes early

If you want to trigger at the actual start time, change it to:

configure_orthogonal<OrCalendar, CbDetectCalendarEvent>("TestEvent", false, 0);

Events

// Connection events
EvConnectionLost<TSource, TOrthogonal>
EvConnectionRestored<TSource, TOrthogonal>
EvAuthenticationRequired<TSource, TOrthogonal>

// Calendar events
EvCalendarEventDetected<TSource, TOrthogonal>  // Contains: event, matched_pattern
EvCalendarEventStarted<TSource, TOrthogonal>   // Contains: event
EvCalendarEventEnded<TSource, TOrthogonal>     // Contains: event
EvAgendaUpdated<TSource, TOrthogonal>          // Contains: events vector

Usage Example

Orthogonal Setup

#include <cl_gcalcli/cl_gcalcli.hpp>
#include <cl_gcalcli/client_behaviors.hpp>

class OrCalendar : public smacc2::Orthogonal<OrCalendar>
{
  void onInitialize() override
  {
    cl_gcalcli::GcalcliConfig config;
    config.gcalcli_path = "gcalcli";  // from PATH
    config.poll_interval = std::chrono::seconds{30};
    config.heartbeat_interval = std::chrono::seconds{60};
    config.agenda_days = 7;

    this->createClient<cl_gcalcli::ClGcalcli>(config);
  }
};

State Machine Example

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

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 cl_gcalcli at Robotics Stack Exchange

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

cl_gcalcli package from SMACC2 repo

smacc2 cl_foundation_pose cl_gcalcli cl_generic_sensor cl_http cl_keyboard cl_lifecycle_node cl_mission_tracker cl_modbus_tcp_relay cl_moveit2z cl_nav2z backward_global_planner backward_local_planner forward_global_planner forward_local_planner nav2z_planners_common pure_spinning_local_planner undo_path_global_planner cl_px4_mr cl_ros2_timer eg_conditional_generator eg_random_generator smacc2_msgs sm_atomic_performance_trace_1 sm_atomic_subscribers_performance_test sm_coretest_action_client_1 sm_coretest_callback_rate_1 sm_coretest_exceptions_1 sm_coretest_features_1 sm_coretest_forced_finish_1 sm_coretest_idle_load_1 sm_coretest_object_churn_1 sm_coretest_poll_shutdown_1 sm_coretest_post_during_exit_1 sm_coretest_reactor_order_1 sm_coretest_signal_key_1 sm_coretest_timer_handoff_1 sm_coretest_transition_speed_1 sm_advanced_recovery_1 sm_atomic sm_atomic_http sm_atomic_lifecycle sm_atomic_mode_states sm_branching sm_cl_gcalcli_test_1 sm_cl_keyboard_unit_test_1 sm_cl_px4_mr_test_1 sm_cl_px4_mr_test_2 sm_cl_px4_mr_test_3 sm_cl_px4_mr_test_4 sm_cl_px4_mr_test_5 sm_cl_ros2_timer_unit_test_1 sm_data_sharing_1 sm_data_sharing_2 sm_modbus_tcp_relay_test_1 sm_mode_state_behavior_1 sm_multi_stage_1 sm_multithread_test_1 sm_nav2_gazebo_test_1 sm_nav2_gazebo_test_2 sm_nav2_gazebo_test_3 sm_pack_ml sm_panda_cl_moveit2z_cb_inventory sm_panda_cl_moveit2z_cb_inventory_isaacsim sm_retry_logic_1 sm_simple_action_client sm_three_some sr_all_events_go sr_conditional sr_event_countdown

ROS Distro
jazzy

Package Summary

Version 3.1.0
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/robosoft-ai/SMACC2.git
VCS Type git
VCS Version jazzy
Last Updated 2026-11-15
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

SMACC2 client library for Google Calendar integration via gcalcli

Maintainers

  • Brett Aldrich

Authors

No additional authors.

cl_gcalcli - SMACC2 Google Calendar Client

A SMACC2 client library for Google Calendar integration via the gcalcli CLI tool. This client enables state machines to react to Google Calendar events.

Prerequisites

  • gcalcli installed and authenticated (pip install gcalcli)
  • Google Calendar API credentials configured
  • ROS2 and SMACC2 installed

Architecture

ClGcalcli (Orchestrator)
    ├── CpSubprocessExecutor (smacc2 core - generic subprocess execution)
    ├── CpGcalcliConnection (connection health monitoring)
    ├── CpCalendarPoller (agenda polling + TSV parsing)
    └── CpCalendarEventListener (pattern matching + event dispatch)

Components

Component Purpose
CpSubprocessExecutor Generic subprocess execution (smacc2 core)
CpGcalcliConnection Connection health monitoring, heartbeat, authentication
CpCalendarPoller Periodic agenda fetching and parsing
CpCalendarEventListener Event pattern matching and triggering

Client Behaviors

Behavior Type Purpose
CbDetectCalendarEvent Async Wait until matching event’s start time arrives
CbStatus Sync Get connection state and current events
CbWaitConnection Async Wait for gcalcli connection with timeout
CbMonitorConnection Sync Continuous connection monitoring
CbQuickAdd Async Add event via gcalcli quick
CbRefreshAgenda Sync Force immediate agenda refresh

CbDetectCalendarEvent Parameters

configure_orthogonal<OrCalendar, CbDetectCalendarEvent>("TestEvent", false, 5);
//                                                       pattern    regex  minutes_before

The minutes_before parameter controls when the behavior triggers relative to the event’s start time. The value 5 means “trigger 5 minutes before the event’s start time.”

This is intentional - it allows the robot/system to prepare before a meeting actually starts. You can change it:

  • 0 = trigger exactly at start time
  • 5 = trigger 5 minutes early
  • 10 = trigger 10 minutes early

If you want to trigger at the actual start time, change it to:

configure_orthogonal<OrCalendar, CbDetectCalendarEvent>("TestEvent", false, 0);

Events

// Connection events
EvConnectionLost<TSource, TOrthogonal>
EvConnectionRestored<TSource, TOrthogonal>
EvAuthenticationRequired<TSource, TOrthogonal>

// Calendar events
EvCalendarEventDetected<TSource, TOrthogonal>  // Contains: event, matched_pattern
EvCalendarEventStarted<TSource, TOrthogonal>   // Contains: event
EvCalendarEventEnded<TSource, TOrthogonal>     // Contains: event
EvAgendaUpdated<TSource, TOrthogonal>          // Contains: events vector

Usage Example

Orthogonal Setup

#include <cl_gcalcli/cl_gcalcli.hpp>
#include <cl_gcalcli/client_behaviors.hpp>

class OrCalendar : public smacc2::Orthogonal<OrCalendar>
{
  void onInitialize() override
  {
    cl_gcalcli::GcalcliConfig config;
    config.gcalcli_path = "gcalcli";  // from PATH
    config.poll_interval = std::chrono::seconds{30};
    config.heartbeat_interval = std::chrono::seconds{60};
    config.agenda_days = 7;

    this->createClient<cl_gcalcli::ClGcalcli>(config);
  }
};

State Machine Example

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

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 cl_gcalcli at Robotics Stack Exchange

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

cl_gcalcli package from SMACC2 repo

smacc2 cl_foundation_pose cl_gcalcli cl_generic_sensor cl_http cl_keyboard cl_lifecycle_node cl_mission_tracker cl_modbus_tcp_relay cl_moveit2z cl_nav2z backward_global_planner backward_local_planner forward_global_planner forward_local_planner nav2z_planners_common pure_spinning_local_planner undo_path_global_planner cl_px4_mr cl_ros2_timer eg_conditional_generator eg_random_generator smacc2_msgs sm_atomic_performance_trace_1 sm_atomic_subscribers_performance_test sm_coretest_action_client_1 sm_coretest_callback_rate_1 sm_coretest_exceptions_1 sm_coretest_features_1 sm_coretest_forced_finish_1 sm_coretest_idle_load_1 sm_coretest_object_churn_1 sm_coretest_poll_shutdown_1 sm_coretest_post_during_exit_1 sm_coretest_reactor_order_1 sm_coretest_signal_key_1 sm_coretest_timer_handoff_1 sm_coretest_transition_speed_1 sm_advanced_recovery_1 sm_atomic sm_atomic_http sm_atomic_lifecycle sm_atomic_mode_states sm_branching sm_cl_gcalcli_test_1 sm_cl_keyboard_unit_test_1 sm_cl_px4_mr_test_1 sm_cl_px4_mr_test_2 sm_cl_px4_mr_test_3 sm_cl_px4_mr_test_4 sm_cl_px4_mr_test_5 sm_cl_ros2_timer_unit_test_1 sm_data_sharing_1 sm_data_sharing_2 sm_modbus_tcp_relay_test_1 sm_mode_state_behavior_1 sm_multi_stage_1 sm_multithread_test_1 sm_nav2_gazebo_test_1 sm_nav2_gazebo_test_2 sm_nav2_gazebo_test_3 sm_pack_ml sm_panda_cl_moveit2z_cb_inventory sm_panda_cl_moveit2z_cb_inventory_isaacsim sm_retry_logic_1 sm_simple_action_client sm_three_some sr_all_events_go sr_conditional sr_event_countdown

ROS Distro
jazzy

Package Summary

Version 3.1.0
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/robosoft-ai/SMACC2.git
VCS Type git
VCS Version jazzy
Last Updated 2026-11-15
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

SMACC2 client library for Google Calendar integration via gcalcli

Maintainers

  • Brett Aldrich

Authors

No additional authors.

cl_gcalcli - SMACC2 Google Calendar Client

A SMACC2 client library for Google Calendar integration via the gcalcli CLI tool. This client enables state machines to react to Google Calendar events.

Prerequisites

  • gcalcli installed and authenticated (pip install gcalcli)
  • Google Calendar API credentials configured
  • ROS2 and SMACC2 installed

Architecture

ClGcalcli (Orchestrator)
    ├── CpSubprocessExecutor (smacc2 core - generic subprocess execution)
    ├── CpGcalcliConnection (connection health monitoring)
    ├── CpCalendarPoller (agenda polling + TSV parsing)
    └── CpCalendarEventListener (pattern matching + event dispatch)

Components

Component Purpose
CpSubprocessExecutor Generic subprocess execution (smacc2 core)
CpGcalcliConnection Connection health monitoring, heartbeat, authentication
CpCalendarPoller Periodic agenda fetching and parsing
CpCalendarEventListener Event pattern matching and triggering

Client Behaviors

Behavior Type Purpose
CbDetectCalendarEvent Async Wait until matching event’s start time arrives
CbStatus Sync Get connection state and current events
CbWaitConnection Async Wait for gcalcli connection with timeout
CbMonitorConnection Sync Continuous connection monitoring
CbQuickAdd Async Add event via gcalcli quick
CbRefreshAgenda Sync Force immediate agenda refresh

CbDetectCalendarEvent Parameters

configure_orthogonal<OrCalendar, CbDetectCalendarEvent>("TestEvent", false, 5);
//                                                       pattern    regex  minutes_before

The minutes_before parameter controls when the behavior triggers relative to the event’s start time. The value 5 means “trigger 5 minutes before the event’s start time.”

This is intentional - it allows the robot/system to prepare before a meeting actually starts. You can change it:

  • 0 = trigger exactly at start time
  • 5 = trigger 5 minutes early
  • 10 = trigger 10 minutes early

If you want to trigger at the actual start time, change it to:

configure_orthogonal<OrCalendar, CbDetectCalendarEvent>("TestEvent", false, 0);

Events

// Connection events
EvConnectionLost<TSource, TOrthogonal>
EvConnectionRestored<TSource, TOrthogonal>
EvAuthenticationRequired<TSource, TOrthogonal>

// Calendar events
EvCalendarEventDetected<TSource, TOrthogonal>  // Contains: event, matched_pattern
EvCalendarEventStarted<TSource, TOrthogonal>   // Contains: event
EvCalendarEventEnded<TSource, TOrthogonal>     // Contains: event
EvAgendaUpdated<TSource, TOrthogonal>          // Contains: events vector

Usage Example

Orthogonal Setup

#include <cl_gcalcli/cl_gcalcli.hpp>
#include <cl_gcalcli/client_behaviors.hpp>

class OrCalendar : public smacc2::Orthogonal<OrCalendar>
{
  void onInitialize() override
  {
    cl_gcalcli::GcalcliConfig config;
    config.gcalcli_path = "gcalcli";  // from PATH
    config.poll_interval = std::chrono::seconds{30};
    config.heartbeat_interval = std::chrono::seconds{60};
    config.agenda_days = 7;

    this->createClient<cl_gcalcli::ClGcalcli>(config);
  }
};

State Machine Example

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

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 cl_gcalcli at Robotics Stack Exchange

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

cl_gcalcli package from SMACC2 repo

smacc2 cl_foundation_pose cl_gcalcli cl_generic_sensor cl_http cl_keyboard cl_lifecycle_node cl_mission_tracker cl_modbus_tcp_relay cl_moveit2z cl_nav2z backward_global_planner backward_local_planner forward_global_planner forward_local_planner nav2z_planners_common pure_spinning_local_planner undo_path_global_planner cl_px4_mr cl_ros2_timer eg_conditional_generator eg_random_generator smacc2_msgs sm_atomic_performance_trace_1 sm_atomic_subscribers_performance_test sm_coretest_action_client_1 sm_coretest_callback_rate_1 sm_coretest_exceptions_1 sm_coretest_features_1 sm_coretest_forced_finish_1 sm_coretest_idle_load_1 sm_coretest_object_churn_1 sm_coretest_poll_shutdown_1 sm_coretest_post_during_exit_1 sm_coretest_reactor_order_1 sm_coretest_signal_key_1 sm_coretest_timer_handoff_1 sm_coretest_transition_speed_1 sm_advanced_recovery_1 sm_atomic sm_atomic_http sm_atomic_lifecycle sm_atomic_mode_states sm_branching sm_cl_gcalcli_test_1 sm_cl_keyboard_unit_test_1 sm_cl_px4_mr_test_1 sm_cl_px4_mr_test_2 sm_cl_px4_mr_test_3 sm_cl_px4_mr_test_4 sm_cl_px4_mr_test_5 sm_cl_ros2_timer_unit_test_1 sm_data_sharing_1 sm_data_sharing_2 sm_modbus_tcp_relay_test_1 sm_mode_state_behavior_1 sm_multi_stage_1 sm_multithread_test_1 sm_nav2_gazebo_test_1 sm_nav2_gazebo_test_2 sm_nav2_gazebo_test_3 sm_pack_ml sm_panda_cl_moveit2z_cb_inventory sm_panda_cl_moveit2z_cb_inventory_isaacsim sm_retry_logic_1 sm_simple_action_client sm_three_some sr_all_events_go sr_conditional sr_event_countdown

ROS Distro
jazzy

Package Summary

Version 3.1.0
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/robosoft-ai/SMACC2.git
VCS Type git
VCS Version jazzy
Last Updated 2026-11-15
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

SMACC2 client library for Google Calendar integration via gcalcli

Maintainers

  • Brett Aldrich

Authors

No additional authors.

cl_gcalcli - SMACC2 Google Calendar Client

A SMACC2 client library for Google Calendar integration via the gcalcli CLI tool. This client enables state machines to react to Google Calendar events.

Prerequisites

  • gcalcli installed and authenticated (pip install gcalcli)
  • Google Calendar API credentials configured
  • ROS2 and SMACC2 installed

Architecture

ClGcalcli (Orchestrator)
    ├── CpSubprocessExecutor (smacc2 core - generic subprocess execution)
    ├── CpGcalcliConnection (connection health monitoring)
    ├── CpCalendarPoller (agenda polling + TSV parsing)
    └── CpCalendarEventListener (pattern matching + event dispatch)

Components

Component Purpose
CpSubprocessExecutor Generic subprocess execution (smacc2 core)
CpGcalcliConnection Connection health monitoring, heartbeat, authentication
CpCalendarPoller Periodic agenda fetching and parsing
CpCalendarEventListener Event pattern matching and triggering

Client Behaviors

Behavior Type Purpose
CbDetectCalendarEvent Async Wait until matching event’s start time arrives
CbStatus Sync Get connection state and current events
CbWaitConnection Async Wait for gcalcli connection with timeout
CbMonitorConnection Sync Continuous connection monitoring
CbQuickAdd Async Add event via gcalcli quick
CbRefreshAgenda Sync Force immediate agenda refresh

CbDetectCalendarEvent Parameters

configure_orthogonal<OrCalendar, CbDetectCalendarEvent>("TestEvent", false, 5);
//                                                       pattern    regex  minutes_before

The minutes_before parameter controls when the behavior triggers relative to the event’s start time. The value 5 means “trigger 5 minutes before the event’s start time.”

This is intentional - it allows the robot/system to prepare before a meeting actually starts. You can change it:

  • 0 = trigger exactly at start time
  • 5 = trigger 5 minutes early
  • 10 = trigger 10 minutes early

If you want to trigger at the actual start time, change it to:

configure_orthogonal<OrCalendar, CbDetectCalendarEvent>("TestEvent", false, 0);

Events

// Connection events
EvConnectionLost<TSource, TOrthogonal>
EvConnectionRestored<TSource, TOrthogonal>
EvAuthenticationRequired<TSource, TOrthogonal>

// Calendar events
EvCalendarEventDetected<TSource, TOrthogonal>  // Contains: event, matched_pattern
EvCalendarEventStarted<TSource, TOrthogonal>   // Contains: event
EvCalendarEventEnded<TSource, TOrthogonal>     // Contains: event
EvAgendaUpdated<TSource, TOrthogonal>          // Contains: events vector

Usage Example

Orthogonal Setup

#include <cl_gcalcli/cl_gcalcli.hpp>
#include <cl_gcalcli/client_behaviors.hpp>

class OrCalendar : public smacc2::Orthogonal<OrCalendar>
{
  void onInitialize() override
  {
    cl_gcalcli::GcalcliConfig config;
    config.gcalcli_path = "gcalcli";  // from PATH
    config.poll_interval = std::chrono::seconds{30};
    config.heartbeat_interval = std::chrono::seconds{60};
    config.agenda_days = 7;

    this->createClient<cl_gcalcli::ClGcalcli>(config);
  }
};

State Machine Example

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

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 cl_gcalcli at Robotics Stack Exchange

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

cl_gcalcli package from SMACC2 repo

smacc2 cl_foundation_pose cl_gcalcli cl_generic_sensor cl_http cl_keyboard cl_lifecycle_node cl_mission_tracker cl_modbus_tcp_relay cl_moveit2z cl_nav2z backward_global_planner backward_local_planner forward_global_planner forward_local_planner nav2z_planners_common pure_spinning_local_planner undo_path_global_planner cl_px4_mr cl_ros2_timer eg_conditional_generator eg_random_generator smacc2_msgs sm_atomic_performance_trace_1 sm_atomic_subscribers_performance_test sm_coretest_action_client_1 sm_coretest_callback_rate_1 sm_coretest_exceptions_1 sm_coretest_features_1 sm_coretest_forced_finish_1 sm_coretest_idle_load_1 sm_coretest_object_churn_1 sm_coretest_poll_shutdown_1 sm_coretest_post_during_exit_1 sm_coretest_reactor_order_1 sm_coretest_signal_key_1 sm_coretest_timer_handoff_1 sm_coretest_transition_speed_1 sm_advanced_recovery_1 sm_atomic sm_atomic_http sm_atomic_lifecycle sm_atomic_mode_states sm_branching sm_cl_gcalcli_test_1 sm_cl_keyboard_unit_test_1 sm_cl_px4_mr_test_1 sm_cl_px4_mr_test_2 sm_cl_px4_mr_test_3 sm_cl_px4_mr_test_4 sm_cl_px4_mr_test_5 sm_cl_ros2_timer_unit_test_1 sm_data_sharing_1 sm_data_sharing_2 sm_modbus_tcp_relay_test_1 sm_mode_state_behavior_1 sm_multi_stage_1 sm_multithread_test_1 sm_nav2_gazebo_test_1 sm_nav2_gazebo_test_2 sm_nav2_gazebo_test_3 sm_pack_ml sm_panda_cl_moveit2z_cb_inventory sm_panda_cl_moveit2z_cb_inventory_isaacsim sm_retry_logic_1 sm_simple_action_client sm_three_some sr_all_events_go sr_conditional sr_event_countdown

ROS Distro
jazzy

Package Summary

Version 3.1.0
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/robosoft-ai/SMACC2.git
VCS Type git
VCS Version jazzy
Last Updated 2026-11-15
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

SMACC2 client library for Google Calendar integration via gcalcli

Maintainers

  • Brett Aldrich

Authors

No additional authors.

cl_gcalcli - SMACC2 Google Calendar Client

A SMACC2 client library for Google Calendar integration via the gcalcli CLI tool. This client enables state machines to react to Google Calendar events.

Prerequisites

  • gcalcli installed and authenticated (pip install gcalcli)
  • Google Calendar API credentials configured
  • ROS2 and SMACC2 installed

Architecture

ClGcalcli (Orchestrator)
    ├── CpSubprocessExecutor (smacc2 core - generic subprocess execution)
    ├── CpGcalcliConnection (connection health monitoring)
    ├── CpCalendarPoller (agenda polling + TSV parsing)
    └── CpCalendarEventListener (pattern matching + event dispatch)

Components

Component Purpose
CpSubprocessExecutor Generic subprocess execution (smacc2 core)
CpGcalcliConnection Connection health monitoring, heartbeat, authentication
CpCalendarPoller Periodic agenda fetching and parsing
CpCalendarEventListener Event pattern matching and triggering

Client Behaviors

Behavior Type Purpose
CbDetectCalendarEvent Async Wait until matching event’s start time arrives
CbStatus Sync Get connection state and current events
CbWaitConnection Async Wait for gcalcli connection with timeout
CbMonitorConnection Sync Continuous connection monitoring
CbQuickAdd Async Add event via gcalcli quick
CbRefreshAgenda Sync Force immediate agenda refresh

CbDetectCalendarEvent Parameters

configure_orthogonal<OrCalendar, CbDetectCalendarEvent>("TestEvent", false, 5);
//                                                       pattern    regex  minutes_before

The minutes_before parameter controls when the behavior triggers relative to the event’s start time. The value 5 means “trigger 5 minutes before the event’s start time.”

This is intentional - it allows the robot/system to prepare before a meeting actually starts. You can change it:

  • 0 = trigger exactly at start time
  • 5 = trigger 5 minutes early
  • 10 = trigger 10 minutes early

If you want to trigger at the actual start time, change it to:

configure_orthogonal<OrCalendar, CbDetectCalendarEvent>("TestEvent", false, 0);

Events

// Connection events
EvConnectionLost<TSource, TOrthogonal>
EvConnectionRestored<TSource, TOrthogonal>
EvAuthenticationRequired<TSource, TOrthogonal>

// Calendar events
EvCalendarEventDetected<TSource, TOrthogonal>  // Contains: event, matched_pattern
EvCalendarEventStarted<TSource, TOrthogonal>   // Contains: event
EvCalendarEventEnded<TSource, TOrthogonal>     // Contains: event
EvAgendaUpdated<TSource, TOrthogonal>          // Contains: events vector

Usage Example

Orthogonal Setup

#include <cl_gcalcli/cl_gcalcli.hpp>
#include <cl_gcalcli/client_behaviors.hpp>

class OrCalendar : public smacc2::Orthogonal<OrCalendar>
{
  void onInitialize() override
  {
    cl_gcalcli::GcalcliConfig config;
    config.gcalcli_path = "gcalcli";  // from PATH
    config.poll_interval = std::chrono::seconds{30};
    config.heartbeat_interval = std::chrono::seconds{60};
    config.agenda_days = 7;

    this->createClient<cl_gcalcli::ClGcalcli>(config);
  }
};

State Machine Example

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

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 cl_gcalcli at Robotics Stack Exchange

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

cl_gcalcli package from SMACC2 repo

smacc2 cl_foundation_pose cl_gcalcli cl_generic_sensor cl_http cl_keyboard cl_lifecycle_node cl_mission_tracker cl_modbus_tcp_relay cl_moveit2z cl_nav2z backward_global_planner backward_local_planner forward_global_planner forward_local_planner nav2z_planners_common pure_spinning_local_planner undo_path_global_planner cl_px4_mr cl_ros2_timer eg_conditional_generator eg_random_generator smacc2_msgs sm_atomic_performance_trace_1 sm_atomic_subscribers_performance_test sm_coretest_action_client_1 sm_coretest_callback_rate_1 sm_coretest_exceptions_1 sm_coretest_features_1 sm_coretest_forced_finish_1 sm_coretest_idle_load_1 sm_coretest_object_churn_1 sm_coretest_poll_shutdown_1 sm_coretest_post_during_exit_1 sm_coretest_reactor_order_1 sm_coretest_signal_key_1 sm_coretest_timer_handoff_1 sm_coretest_transition_speed_1 sm_advanced_recovery_1 sm_atomic sm_atomic_http sm_atomic_lifecycle sm_atomic_mode_states sm_branching sm_cl_gcalcli_test_1 sm_cl_keyboard_unit_test_1 sm_cl_px4_mr_test_1 sm_cl_px4_mr_test_2 sm_cl_px4_mr_test_3 sm_cl_px4_mr_test_4 sm_cl_px4_mr_test_5 sm_cl_ros2_timer_unit_test_1 sm_data_sharing_1 sm_data_sharing_2 sm_modbus_tcp_relay_test_1 sm_mode_state_behavior_1 sm_multi_stage_1 sm_multithread_test_1 sm_nav2_gazebo_test_1 sm_nav2_gazebo_test_2 sm_nav2_gazebo_test_3 sm_pack_ml sm_panda_cl_moveit2z_cb_inventory sm_panda_cl_moveit2z_cb_inventory_isaacsim sm_retry_logic_1 sm_simple_action_client sm_three_some sr_all_events_go sr_conditional sr_event_countdown

ROS Distro
jazzy

Package Summary

Version 3.1.0
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/robosoft-ai/SMACC2.git
VCS Type git
VCS Version jazzy
Last Updated 2026-11-15
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

SMACC2 client library for Google Calendar integration via gcalcli

Maintainers

  • Brett Aldrich

Authors

No additional authors.

cl_gcalcli - SMACC2 Google Calendar Client

A SMACC2 client library for Google Calendar integration via the gcalcli CLI tool. This client enables state machines to react to Google Calendar events.

Prerequisites

  • gcalcli installed and authenticated (pip install gcalcli)
  • Google Calendar API credentials configured
  • ROS2 and SMACC2 installed

Architecture

ClGcalcli (Orchestrator)
    ├── CpSubprocessExecutor (smacc2 core - generic subprocess execution)
    ├── CpGcalcliConnection (connection health monitoring)
    ├── CpCalendarPoller (agenda polling + TSV parsing)
    └── CpCalendarEventListener (pattern matching + event dispatch)

Components

Component Purpose
CpSubprocessExecutor Generic subprocess execution (smacc2 core)
CpGcalcliConnection Connection health monitoring, heartbeat, authentication
CpCalendarPoller Periodic agenda fetching and parsing
CpCalendarEventListener Event pattern matching and triggering

Client Behaviors

Behavior Type Purpose
CbDetectCalendarEvent Async Wait until matching event’s start time arrives
CbStatus Sync Get connection state and current events
CbWaitConnection Async Wait for gcalcli connection with timeout
CbMonitorConnection Sync Continuous connection monitoring
CbQuickAdd Async Add event via gcalcli quick
CbRefreshAgenda Sync Force immediate agenda refresh

CbDetectCalendarEvent Parameters

configure_orthogonal<OrCalendar, CbDetectCalendarEvent>("TestEvent", false, 5);
//                                                       pattern    regex  minutes_before

The minutes_before parameter controls when the behavior triggers relative to the event’s start time. The value 5 means “trigger 5 minutes before the event’s start time.”

This is intentional - it allows the robot/system to prepare before a meeting actually starts. You can change it:

  • 0 = trigger exactly at start time
  • 5 = trigger 5 minutes early
  • 10 = trigger 10 minutes early

If you want to trigger at the actual start time, change it to:

configure_orthogonal<OrCalendar, CbDetectCalendarEvent>("TestEvent", false, 0);

Events

// Connection events
EvConnectionLost<TSource, TOrthogonal>
EvConnectionRestored<TSource, TOrthogonal>
EvAuthenticationRequired<TSource, TOrthogonal>

// Calendar events
EvCalendarEventDetected<TSource, TOrthogonal>  // Contains: event, matched_pattern
EvCalendarEventStarted<TSource, TOrthogonal>   // Contains: event
EvCalendarEventEnded<TSource, TOrthogonal>     // Contains: event
EvAgendaUpdated<TSource, TOrthogonal>          // Contains: events vector

Usage Example

Orthogonal Setup

#include <cl_gcalcli/cl_gcalcli.hpp>
#include <cl_gcalcli/client_behaviors.hpp>

class OrCalendar : public smacc2::Orthogonal<OrCalendar>
{
  void onInitialize() override
  {
    cl_gcalcli::GcalcliConfig config;
    config.gcalcli_path = "gcalcli";  // from PATH
    config.poll_interval = std::chrono::seconds{30};
    config.heartbeat_interval = std::chrono::seconds{60};
    config.agenda_days = 7;

    this->createClient<cl_gcalcli::ClGcalcli>(config);
  }
};

State Machine Example

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

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 cl_gcalcli at Robotics Stack Exchange

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

cl_gcalcli package from SMACC2 repo

smacc2 cl_foundation_pose cl_gcalcli cl_generic_sensor cl_http cl_keyboard cl_lifecycle_node cl_mission_tracker cl_modbus_tcp_relay cl_moveit2z cl_nav2z backward_global_planner backward_local_planner forward_global_planner forward_local_planner nav2z_planners_common pure_spinning_local_planner undo_path_global_planner cl_px4_mr cl_ros2_timer eg_conditional_generator eg_random_generator smacc2_msgs sm_atomic_performance_trace_1 sm_atomic_subscribers_performance_test sm_coretest_action_client_1 sm_coretest_callback_rate_1 sm_coretest_exceptions_1 sm_coretest_features_1 sm_coretest_forced_finish_1 sm_coretest_idle_load_1 sm_coretest_object_churn_1 sm_coretest_poll_shutdown_1 sm_coretest_post_during_exit_1 sm_coretest_reactor_order_1 sm_coretest_signal_key_1 sm_coretest_timer_handoff_1 sm_coretest_transition_speed_1 sm_advanced_recovery_1 sm_atomic sm_atomic_http sm_atomic_lifecycle sm_atomic_mode_states sm_branching sm_cl_gcalcli_test_1 sm_cl_keyboard_unit_test_1 sm_cl_px4_mr_test_1 sm_cl_px4_mr_test_2 sm_cl_px4_mr_test_3 sm_cl_px4_mr_test_4 sm_cl_px4_mr_test_5 sm_cl_ros2_timer_unit_test_1 sm_data_sharing_1 sm_data_sharing_2 sm_modbus_tcp_relay_test_1 sm_mode_state_behavior_1 sm_multi_stage_1 sm_multithread_test_1 sm_nav2_gazebo_test_1 sm_nav2_gazebo_test_2 sm_nav2_gazebo_test_3 sm_pack_ml sm_panda_cl_moveit2z_cb_inventory sm_panda_cl_moveit2z_cb_inventory_isaacsim sm_retry_logic_1 sm_simple_action_client sm_three_some sr_all_events_go sr_conditional sr_event_countdown

ROS Distro
jazzy

Package Summary

Version 3.1.0
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/robosoft-ai/SMACC2.git
VCS Type git
VCS Version jazzy
Last Updated 2026-11-15
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

SMACC2 client library for Google Calendar integration via gcalcli

Maintainers

  • Brett Aldrich

Authors

No additional authors.

cl_gcalcli - SMACC2 Google Calendar Client

A SMACC2 client library for Google Calendar integration via the gcalcli CLI tool. This client enables state machines to react to Google Calendar events.

Prerequisites

  • gcalcli installed and authenticated (pip install gcalcli)
  • Google Calendar API credentials configured
  • ROS2 and SMACC2 installed

Architecture

ClGcalcli (Orchestrator)
    ├── CpSubprocessExecutor (smacc2 core - generic subprocess execution)
    ├── CpGcalcliConnection (connection health monitoring)
    ├── CpCalendarPoller (agenda polling + TSV parsing)
    └── CpCalendarEventListener (pattern matching + event dispatch)

Components

Component Purpose
CpSubprocessExecutor Generic subprocess execution (smacc2 core)
CpGcalcliConnection Connection health monitoring, heartbeat, authentication
CpCalendarPoller Periodic agenda fetching and parsing
CpCalendarEventListener Event pattern matching and triggering

Client Behaviors

Behavior Type Purpose
CbDetectCalendarEvent Async Wait until matching event’s start time arrives
CbStatus Sync Get connection state and current events
CbWaitConnection Async Wait for gcalcli connection with timeout
CbMonitorConnection Sync Continuous connection monitoring
CbQuickAdd Async Add event via gcalcli quick
CbRefreshAgenda Sync Force immediate agenda refresh

CbDetectCalendarEvent Parameters

configure_orthogonal<OrCalendar, CbDetectCalendarEvent>("TestEvent", false, 5);
//                                                       pattern    regex  minutes_before

The minutes_before parameter controls when the behavior triggers relative to the event’s start time. The value 5 means “trigger 5 minutes before the event’s start time.”

This is intentional - it allows the robot/system to prepare before a meeting actually starts. You can change it:

  • 0 = trigger exactly at start time
  • 5 = trigger 5 minutes early
  • 10 = trigger 10 minutes early

If you want to trigger at the actual start time, change it to:

configure_orthogonal<OrCalendar, CbDetectCalendarEvent>("TestEvent", false, 0);

Events

// Connection events
EvConnectionLost<TSource, TOrthogonal>
EvConnectionRestored<TSource, TOrthogonal>
EvAuthenticationRequired<TSource, TOrthogonal>

// Calendar events
EvCalendarEventDetected<TSource, TOrthogonal>  // Contains: event, matched_pattern
EvCalendarEventStarted<TSource, TOrthogonal>   // Contains: event
EvCalendarEventEnded<TSource, TOrthogonal>     // Contains: event
EvAgendaUpdated<TSource, TOrthogonal>          // Contains: events vector

Usage Example

Orthogonal Setup

#include <cl_gcalcli/cl_gcalcli.hpp>
#include <cl_gcalcli/client_behaviors.hpp>

class OrCalendar : public smacc2::Orthogonal<OrCalendar>
{
  void onInitialize() override
  {
    cl_gcalcli::GcalcliConfig config;
    config.gcalcli_path = "gcalcli";  // from PATH
    config.poll_interval = std::chrono::seconds{30};
    config.heartbeat_interval = std::chrono::seconds{60};
    config.agenda_days = 7;

    this->createClient<cl_gcalcli::ClGcalcli>(config);
  }
};

State Machine Example

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

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 cl_gcalcli at Robotics Stack Exchange

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

cl_gcalcli package from SMACC2 repo

smacc2 cl_foundation_pose cl_gcalcli cl_generic_sensor cl_http cl_keyboard cl_lifecycle_node cl_mission_tracker cl_modbus_tcp_relay cl_moveit2z cl_nav2z backward_global_planner backward_local_planner forward_global_planner forward_local_planner nav2z_planners_common pure_spinning_local_planner undo_path_global_planner cl_px4_mr cl_ros2_timer eg_conditional_generator eg_random_generator smacc2_msgs sm_atomic_performance_trace_1 sm_atomic_subscribers_performance_test sm_coretest_action_client_1 sm_coretest_callback_rate_1 sm_coretest_exceptions_1 sm_coretest_features_1 sm_coretest_forced_finish_1 sm_coretest_idle_load_1 sm_coretest_object_churn_1 sm_coretest_poll_shutdown_1 sm_coretest_post_during_exit_1 sm_coretest_reactor_order_1 sm_coretest_signal_key_1 sm_coretest_timer_handoff_1 sm_coretest_transition_speed_1 sm_advanced_recovery_1 sm_atomic sm_atomic_http sm_atomic_lifecycle sm_atomic_mode_states sm_branching sm_cl_gcalcli_test_1 sm_cl_keyboard_unit_test_1 sm_cl_px4_mr_test_1 sm_cl_px4_mr_test_2 sm_cl_px4_mr_test_3 sm_cl_px4_mr_test_4 sm_cl_px4_mr_test_5 sm_cl_ros2_timer_unit_test_1 sm_data_sharing_1 sm_data_sharing_2 sm_modbus_tcp_relay_test_1 sm_mode_state_behavior_1 sm_multi_stage_1 sm_multithread_test_1 sm_nav2_gazebo_test_1 sm_nav2_gazebo_test_2 sm_nav2_gazebo_test_3 sm_pack_ml sm_panda_cl_moveit2z_cb_inventory sm_panda_cl_moveit2z_cb_inventory_isaacsim sm_retry_logic_1 sm_simple_action_client sm_three_some sr_all_events_go sr_conditional sr_event_countdown

ROS Distro
jazzy

Package Summary

Version 3.1.0
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/robosoft-ai/SMACC2.git
VCS Type git
VCS Version jazzy
Last Updated 2026-11-15
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

SMACC2 client library for Google Calendar integration via gcalcli

Maintainers

  • Brett Aldrich

Authors

No additional authors.

cl_gcalcli - SMACC2 Google Calendar Client

A SMACC2 client library for Google Calendar integration via the gcalcli CLI tool. This client enables state machines to react to Google Calendar events.

Prerequisites

  • gcalcli installed and authenticated (pip install gcalcli)
  • Google Calendar API credentials configured
  • ROS2 and SMACC2 installed

Architecture

ClGcalcli (Orchestrator)
    ├── CpSubprocessExecutor (smacc2 core - generic subprocess execution)
    ├── CpGcalcliConnection (connection health monitoring)
    ├── CpCalendarPoller (agenda polling + TSV parsing)
    └── CpCalendarEventListener (pattern matching + event dispatch)

Components

Component Purpose
CpSubprocessExecutor Generic subprocess execution (smacc2 core)
CpGcalcliConnection Connection health monitoring, heartbeat, authentication
CpCalendarPoller Periodic agenda fetching and parsing
CpCalendarEventListener Event pattern matching and triggering

Client Behaviors

Behavior Type Purpose
CbDetectCalendarEvent Async Wait until matching event’s start time arrives
CbStatus Sync Get connection state and current events
CbWaitConnection Async Wait for gcalcli connection with timeout
CbMonitorConnection Sync Continuous connection monitoring
CbQuickAdd Async Add event via gcalcli quick
CbRefreshAgenda Sync Force immediate agenda refresh

CbDetectCalendarEvent Parameters

configure_orthogonal<OrCalendar, CbDetectCalendarEvent>("TestEvent", false, 5);
//                                                       pattern    regex  minutes_before

The minutes_before parameter controls when the behavior triggers relative to the event’s start time. The value 5 means “trigger 5 minutes before the event’s start time.”

This is intentional - it allows the robot/system to prepare before a meeting actually starts. You can change it:

  • 0 = trigger exactly at start time
  • 5 = trigger 5 minutes early
  • 10 = trigger 10 minutes early

If you want to trigger at the actual start time, change it to:

configure_orthogonal<OrCalendar, CbDetectCalendarEvent>("TestEvent", false, 0);

Events

// Connection events
EvConnectionLost<TSource, TOrthogonal>
EvConnectionRestored<TSource, TOrthogonal>
EvAuthenticationRequired<TSource, TOrthogonal>

// Calendar events
EvCalendarEventDetected<TSource, TOrthogonal>  // Contains: event, matched_pattern
EvCalendarEventStarted<TSource, TOrthogonal>   // Contains: event
EvCalendarEventEnded<TSource, TOrthogonal>     // Contains: event
EvAgendaUpdated<TSource, TOrthogonal>          // Contains: events vector

Usage Example

Orthogonal Setup

#include <cl_gcalcli/cl_gcalcli.hpp>
#include <cl_gcalcli/client_behaviors.hpp>

class OrCalendar : public smacc2::Orthogonal<OrCalendar>
{
  void onInitialize() override
  {
    cl_gcalcli::GcalcliConfig config;
    config.gcalcli_path = "gcalcli";  // from PATH
    config.poll_interval = std::chrono::seconds{30};
    config.heartbeat_interval = std::chrono::seconds{60};
    config.agenda_days = 7;

    this->createClient<cl_gcalcli::ClGcalcli>(config);
  }
};

State Machine Example

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

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 cl_gcalcli at Robotics Stack Exchange