Joint_trajectory_controller Integration(09/2026~)

Overview


The task of this project is to fully integrate joint_trajectory_controller (JTC), a real-time-safe controller into existing controller suite within the ros2_control framework and subject be controlled and managed by the common Controller Manager. By leveraging the capabilities provided by the trajectory controller, it is not difficult to implement and achieve trajectory planning, recording(data storage with ros2bag: MCAP format) and playback functions. Meanwhile, HMIs( mainly keyboards and web App) are upgraded to facilitate easy of operation esp, reducing machine learning etc.


In addition, we should consider other scenarios, such as stop or pause the ongoing trajectory, smooth decelerate to stopped position upon trajectory cancellation, preventing sudden jerks or stops etc.


The joint_trajectory_controller receives a sequence of timed waypoints(trajectory_msgs/msg/JointTrajectory) containing target positions, and optionally velocities and accelerations (Currently the controller does not internally integrate velocity from acceleration and position from velocity). Depending on which derivatives are provided, it automatically interpolates smooth paths between waypoints using linear (positions only), cubic (positions + velocities), or quintic (positions + velocities + accelerations) splines. It supports position, velocity, effort, and acceleration command interfaces and shares the same hardware interface types as existing controllers: forward position and gripper action controllers. For instance, if the JointTrajectoryController and GripperActionController or both claim gripper_joint/position, the controller_manager must be involved to make an aribtration by activating one and deactivating another depending on real task requirement.

Detailed Implementation


In ros2_control, JointTrajectoryController primarily exposes topics and an action rather than dedicated controller-specific services (lifecycle and controller switching are handled by the controller_manager). Names below are relative to the controller’s node namespace:

Topics:

  • ~/joint_trajectory (trajectory_msgs/msg/JointTrajectory) — Subscribes to trajectory commands as a fire-and-forget alternative without goal feedback or tolerance abort reporting.
  • ~/state (control_msgs/msg/JointTrajectoryControllerState) — Publishes internal controller state, including desired, actual, and error values for joint positions, velocities, and accelerations. . position feedback is mandatory. velocity feedback is also required if you use velocity, effort, or acceleration command interfaces.

Action:

  • ~/follow_joint_trajectory (control_msgs/action/FollowJointTrajectory) — Primary interface for sending joint trajectories with execution feedback, path/goal tolerance checking, preemption, and completion/abort status.

Using Joint_trajectory_control:


Incorporate joint trajectory control from source code into the workspace (namespce rbt_trajectory), define its yaml configuration base on the generic version of Joint Trajectory controller:

controller_manager:
  ros__parameters:
    joint_trajectory_controller:
      type: "joint_trajectory_controller/JointTrajectoryController"

joint_trajectory_controller: 
  ros__parameters: 
    joints: 
      - joint1 
      - joint2 
      - joint3 
      - joint4 
      - joint5 
      - joint6 
     - gripper 
command_interfaces: 
  - position 
state_interfaces: 
  - position 
  - velocity 
allow_partical_joints_goal: true 
open_loop_control: false 
allow_nonzero_velocity_at_trajectory_end: true


Spawn Joint_trajectory_controller in arm_startup service ( such as left_arm_service.py)

# Loads and configures joint_trajectory_controllers, but does NOT active it.
trajectory_controller_spawner = Node(
    package='controller_manager',
    executable='spawner',
    namespace=robot_name,
    arguments=['joint_trajectory_controller', 
               '--inactive', '--controller-manager', 
        ['/', robot_name, '/controller_manager'],
        '--ros-args', '--log-level', 'WARN'
    ],
    output='screen',
)  


Note: joint_trajectory_controller is started in an inactive state and only be switched on over controller_manager API ( /controller_manager/switch_controller service).


Control of Joint_trajectory_controller is implemented in the class TrajectoryManager (See its header file below):

/******************************************************************************
  Copyright (C), 2026 LongRiver Robotics, All Rights Reserved.

  THIS SOFTWARE IS PROTECTED UNDER SOURCE CODE AGREEMENT OR NON-DISCLOSURE AGREEMENT. 

  PERMISSION IS GRANTED TO LICENSE TO USE THIS SOFTWARE FOR ANY PURPOSE, INCLUDING
  COMMERCIAL APPLICATION AND TO ALTER IT BUT NOT REDISTRIBUTE IT UNDER SOURCE CODE 
  AGREEMENT/NON-DISCLOSURE AGREEMENT. YOU CAN NOT CLAIM THAT YOU WROTE THE SOFTWARE
  AFTER ALTERING SOURCE CODE.

  THIS SOFTWARE IS PROVIDED 'AS-IS', WITHOUT ANY EXPRESS OR IMPLIED WARRANTY.
  IN NO EVENT WILL THE AUTHOR(S) BE HELD LIABLE FOR NAY DAMAGES ARISING FROM THE
  THE USER OF THIS SOFTWARE.

  ABOVE NOTICE SHOULD BE KEPT IN THE SOURCE CODE.
 ******************************************************************************
  File Name     : trajectory_manager.hpp
  Author        : Peitao Shi
  Description   : trajectory manager class header file.
******************************************************************************/

#include "rclcpp/rclcpp.hpp"
#include "geometry_msgs/msg/pose_stamped.hpp"
#include "trajectory_msgs/msg/joint_trajectory.hpp"
#include "rbt_msgs/srv/trajectory_control.hpp"

#include "rbt_trajectory/trajectory_serializer.hpp"
#include "controller_manager_msgs/srv/list_controllers.hpp"
#include "controller_manager_msgs/srv/switch_controller.hpp"

class TrajectoryManager : public rclcpp::Node {
public:
    using FollowJointTrajectory = control_msgs::action::FollowJointTrajectory;
    using GoalHandleFollowJointTrajectory = rclcpp_action::ClientGoalHandle<FollowJointTrajectory>;
    
    TrajectoryManager(const rclcpp::NodeOptions & options = rclcpp::NodeOptions());
    void start_recording();
    void stop_recording();
    void start_playback();
    void publish_trajectory();
    void playbackFromFile(const std::string file_path, const int trajectory_type, double time_step_seconds = 1.0);

    void stop_trajectory();
    void pause_trajectory(const std::vector<double>& current_joint_positions);
    robot_trajectory::TrajectorySerializer* getTrajectorySerializer() const
    {
        return trajectorySerializer_.get();
    }

    void serialize_to_mcap(const std::string& bag_path, 
                       const std::string& topic_name,
                       const trajectory_msgs::msg::JointTrajectory& msg);
    std::vector<trajectory_msgs::msg::JointTrajectory> deserialize_from_mcap(const std::string& bag_path,
                        const std::string& topic_name);

private:    
    void goalCallback(const geometry_msgs::msg::PoseStamped::SharedPtr msg);
    void joint_state_callback(const sensor_msgs::msg::JointState::SharedPtr msg);
    void goal_response_callback(const GoalHandleFollowJointTrajectory::SharedPtr goal_handle);
    
    void feedback_callback(
        GoalHandleFollowJointTrajectory::SharedPtr,
        const std::shared_ptr<const FollowJointTrajectory::Feedback> feedback);
    void result_callback(const GoalHandleFollowJointTrajectory::WrappedResult & result);    
    
    void send_trajectory_from_file(const std::string & file_path);

    void handle_trajectory_control(const std::shared_ptr<rbt_msgs::srv::TrajectoryControl::Request> request,
        std::shared_ptr<rbt_msgs::srv::TrajectoryControl::Response> response);
    //Controller Manager interface: 
    // Find and active joint_trajectroy_controller
    bool check_and_activate_controller();
    // Active joint_trajectory_controller
    bool activate_controller();
    // deactive joint_trajectory_controller and active follow_position_controller and gripper_action_controller.
    bool deactivate_controller();
    // toggle joint_trajectory-controller and position controllers shared same command interfaces.
    bool switch_controllers(const std::string & controller_to_activate,
    const std::string & controller_to_deactivate);
    
    rclcpp::Subscription<geometry_msgs::msg::PoseStamped>::SharedPtr goal_sub_;
    rclcpp::Publisher<trajectory_msgs::msg::JointTrajectory>::SharedPtr traj_pub_;    
   
    // Node state members
    std::vector<std::string> joint_names_;
    std::string frame_name_;
    std::atomic<bool> is_recording_;
    rclcpp::Time start_time_;
    rclcpp::Time last_recording_time_;
    std::mutex data_mutex_;
    std::mutex joint_state_mutex_;

    int trajectory_type_;
    std::string binaryFilepathName_;
    std::string mcapBagFilepathName_;

    // Interfaces
    //In ROS 2 (ros2_control), the joint_trajectory_controller executes joint-space trajectories and
    //  automatically exposes a ~/follow_joint_trajectory 
    //Topics Created by the Controller:
    // 1.  ~/joint_trajectory (trajectory_msgs/msg/JointTrajectory):
    //      Direct topic interface for fire-and-forget trajectory execution (alternative to the action server).
    // 2. ~/state (control_msgs/msg/JointTrajectoryControllerState): 
    //      Publishes current joint positions, velocities, and errors.
    // 3. ~/follow_joint_trajectory/goal, 
    //    ~/follow_joint_trajectory/result,
    //    ~/follow_joint_trajectory/feedback, 
    //    etc.: Standard ROS 2 action communication topics.
    rclcpp::Subscription<sensor_msgs::msg::JointState>::SharedPtr joint_state_sub_;
    rclcpp_action::Client<FollowJointTrajectory>::SharedPtr action_client_ptr_;
    GoalHandleFollowJointTrajectory::SharedPtr current_goal_handle_;
    //trajectroy service interface  
    rclcpp::Service<rbt_msgs::srv::TrajectoryControl>::SharedPtr traj_control_service_; 

     sensor_msgs::msg::JointState latest_joint_state_;
      
    std::unique_ptr <robot_trajectory::TrajectorySerializer> trajectorySerializer_;
     
    rclcpp::CallbackGroup::SharedPtr callback_group_;

    std::string trajectory_controller_;
    std::vector<std::string> default_controllers_;
    
    rclcpp::CallbackGroup::SharedPtr client_cb_group_;
    rclcpp::Client<controller_manager_msgs::srv::ListControllers>::SharedPtr list_client_;
    rclcpp::Client<controller_manager_msgs::srv::SwitchController>::SharedPtr switch_client_;
    rclcpp::TimerBase::SharedPtr timer_;

    trajectory_msgs::msg::JointTrajectory traj_msg_;
    double time_step_sec_;
    std::string default_ros2bag_file_;
    std::string traj_ros2bag_file_;
    std::string traj_topic_name_;
    std::string robot_name_;

    bool has_received_data_;
};









  • Provide all command interfaces to joint trajectory controller.
  • Provide control interfaces ( services) for higher layer such as (Web App, MoveIt), start_recording, stop_recording, playback, abort playback, software E-stop.
  • Provide control interface to Controller Manager for activaing and deeactiving joint_trajectory_controllers, e.g., Switch active controllers between forward position , gripper action controllers and joint_trajectory_controllers.
  • Trajectory data management over its composition class TrajectorySerializer

Trajectory manager node configuration in launch file

    trajectory_params = {
      'trajectory_control' : True,     
      'trajectory_type' : 0 , # 0: joint trajectory; 1: cartisian trajectory ; 2: mixed poing
      'binary_file_name' : 'log/arm_trajectory.trj',
      'mcap_file_name' : 'log/arm_trajectory.mcap',
      'frame_name' : 'base_frame',
      'joint_names' : ['joint1', 'joint2', 'joint3', 'joint4', 'joint5', 'joint6', 'gripper' ],
      'action_server' : 'joint_trajectory_controller/follow_joint_trajectory',
      'joint_state_topic' : 'joint_states',
      'time_step_in_seconds' : 2.0, 
      'ros2bag_file_name' : 'log/trajectory_bag',
      'joint_trajectory_topic': 'joint_trajectory_controller/joint_trajectory',
      'trajectory_control_service' : 'trajectory_control_manager',
      'target_controller' : 'joint_trajectory_controller',
      'default_controllers' : ['forward_position_controller','gripper_action_controller']
    }

        # trajectory manager node
    trajectory_manager_node = Node(
        package='rbt_trajectory',
        executable='trajectory_manager',
        output='screen',
        namespace=robot_name,
        parameters=[trajectory_params,robot_description] # Pass the parameter        
    )


As the composition of class Trajectory_manager, TrajectorySerializer is responsible for serializing the trajectory data to customized binary file or CDR format (std_msgs::msg::UInt8MultiArray) Mcap file for easy extension.

/******************************************************************************
  Copyright (C), 2026 LongRiver Robotics, All Rights Reserved.

  THIS SOFTWARE IS PROTECTED UNDER SOURCE CODE AGREEMENT OR NON-DISCLOSURE AGREEMENT. 

  PERMISSION IS GRANTED TO LICENSE TO USE THIS SOFTWARE FOR ANY PURPOSE, INCLUDING
  COMMERCIAL APPLICATION AND TO ALTER IT BUT NOT REDISTRIBUTE IT UNDER SOURCE CODE 
  AGREEMENT/NON-DISCLOSURE AGREEMENT. YOU CAN NOT CLAIM THAT YOU WROTE THE SOFTWARE
  AFTER ALTERING SOURCE CODE.

  THIS SOFTWARE IS PROVIDED 'AS-IS', WITHOUT ANY EXPRESS OR IMPLIED WARRANTY.
  IN NO EVENT WILL THE AUTHOR(S) BE HELD LIABLE FOR NAY DAMAGES ARISING FROM THE
  THE USER OF THIS SOFTWARE.

  ABOVE NOTICE SHOULD BE KEPT IN THE SOURCE CODE.
 ******************************************************************************
  File Name     : trajectory_serializer.hpp
  Author        : Peitao Shi
  Description   : robot trajectory data storage interface class header file. 
                  It supports joint space or cartesian space position data storage as 
                  (1) serialized binary data file, ( support mixed waypoints) 
                  (2) serialized byte streaming(std_msgs::msg::UInt8MultiArray) mcap bag file.
                      (support mixed waypoints).                  
******************************************************************************/
#ifndef ROBOT_TRAJECTORY_SERIALIZER_HPP
#define ROBOT_TRAJECTORY_SERIALIZER_HPP

#include <vector>
#include <memory>
#include <vector>
#include <string>

#include <Eigen/Dense>
#include <Eigen/Geometry>
#include <chrono>
#include <builtin_interfaces/msg/duration.hpp>
#include "rclcpp/rclcpp.hpp"
#include "rclcpp/serialization.hpp"
#include "rclcpp/serialized_message.hpp"

#include "rosbag2_cpp/writer.hpp"
#include "rosbag2_cpp/reader.hpp"
#include "rosbag2_storage/bag_metadata.hpp"
#include "rosbag2_storage/topic_metadata.hpp"
#include "rosbag2_storage/storage_options.hpp"
#include "rosbag2_storage/serialized_bag_message.hpp"

namespace robot_trajectory {

enum  TrajectoryType  
{   
    ROS2_TRAJECTORY = 0,  // ROS2 TRAJECTORY_MCAP
    JOINT_WAYPOINT_BINARY , //JOINT_WAYPONT_BINARY 
    JOINT_WAYPOINT_RAW_MCAP  ,    
    CARTESIAN_WAYPOINT_BINARY,
    CARTESIAN_WAYPOINT_RAW_MCAP,
    MIXED_WAYPOINT_BINARY,
    MIXED_WAYPOINT_RAW_MCAP,
    TOTAL_TRAJECTORY_TYPE
};

enum WaypointType 
 { 
    JOINT_SPACE, 
    CARTESIAN_SPACE 
};

struct LinearAcceleration
{
    double ax;
    double ay;
    double az;
    
    LinearAcceleration() :
    ax(0.0),
    ay(0.0),
    az(0.0) {}
};

struct AngularAcceleration
{
    double alpha_x;
    double alpha_y;
    double alpha_z;
    
    AngularAcceleration() :
    alpha_x(0.0),
    alpha_y(0.0),
    alpha_z(0.0) {}
};

struct CartesianPose
{
    Eigen::Vector3d position;
    Eigen::Quaterniond orientation;
    
    CartesianPose() :
     position(Eigen::Vector3d::Zero()),
     orientation(Eigen::Quaterniond::Identity()) {}
};

struct CartesianWrench
{
    Eigen::Vector3d force;
    Eigen::Vector3d torque;
        
    CartesianWrench() :
     force(Eigen::Vector3d::Zero()),
     torque(Eigen::Vector3d::Zero()){}
};

struct CartesianTwist
{
    Eigen::Vector3d linear;
    Eigen::Vector3d angular;
        
    CartesianTwist() :
     linear(Eigen::Vector3d::Zero()),
     angular(Eigen::Vector3d::Zero()) {}
};

struct CartesianAcceleration
{
    LinearAcceleration linear;
    AngularAcceleration angular;
    
    CartesianAcceleration() :
    
    linear(),
    angular() {}
};

//Joint Space Trajectories
struct JointPoint {    
    std::vector<double> positions;
    std::vector<double> velocities;
 
    JointPoint(size_t joints=6, double defaultValue = 0) :
    positions(joints, defaultValue),
    velocities(joints, defaultValue) {} 
    const double* data () const
    {
        return positions.data();
    }
    size_t size () const
    {
        return positions.size() + velocities.size();
    }
};

//Joint Space Trajectories
struct JointWaypoint {
    builtin_interfaces::msg::Duration time_from_start;    
    std::vector<double> positions;
    std::vector<double> velocities;
    //std::vector<double> accelerations;
    //std::vector<double> effort;
 
    JointWaypoint(size_t joints=6, double defaultValue = 0) :
    time_from_start(),
    positions(joints, defaultValue),
    velocities(joints, defaultValue) {} 
};

struct CartesianPoint
{
    Eigen::Vector3d position;
    Eigen::Quaterniond orientation;

    Eigen::Vector3d linear;
    Eigen::Vector3d angular;
    //CartesianAcceleration acceleration;
    CartesianPoint() :
        position(Eigen::Vector3d::Zero()),
        orientation(Eigen::Quaterniond::Identity()),
        linear(Eigen::Vector3d::Zero()),
        angular(Eigen::Vector3d::Zero()){}
        
    const double* data() const
    {
        return position.data();
    }
    
    size_t size() const
    {
        return (position.size() + orientation.coeffs().size() + linear.size() + angular.size()) * sizeof(double);
    }    
};

struct CartesianWaypoint
{
    builtin_interfaces::msg::Duration time_from_start;
    
    Eigen::Vector3d position;
    Eigen::Quaterniond orientation;

    //twist
    Eigen::Vector3d linear;
    Eigen::Vector3d angular;
    //CartesianAcceleration acceleration;
    CartesianWaypoint() :
        time_from_start (),
        position(Eigen::Vector3d::Zero()),
        orientation(Eigen::Quaterniond::Identity()),
        linear(Eigen::Vector3d::Zero()),
        angular(Eigen::Vector3d::Zero()) {}
};


struct MixedWaypoint {
    WaypointType type;
    builtin_interfaces::msg::Duration time_from_start;
    //Explicit compact primitive types
    //int32_t sec;
    //uint32_t nanosec;

    // Joint Space Data
    JointPoint joint;
    //Cartesian space
    CartesianPoint  cartesian;
    
    MixedWaypoint(size_t joints = 6, double defaultValue = 0) :
    type(JOINT_SPACE),
    time_from_start(),
    joint(joints, defaultValue),
    cartesian() {}    
};


class TrajectorySerializer {
public:

    TrajectorySerializer(const TrajectoryType trajectoryType, 
        const std::string binFilePath,
        const std::string mcapBagFilePath,
        const std::vector<std::string> joint_names,
        const std::string frame_name,
        const int num_joints,
        const std::string mcapTopicName);
        
    ~TrajectorySerializer();
        
    void clearAll();
    bool createBinaryFile(const std::string& filename,
        const std::vector<std::string>& joint_names,
        const std::string& frame_name,
        const TrajectoryType& trajectoryType) ;

    bool createMcapFile(const std::string& filename,
        const std::vector<std::string>& joint_names,
        const std::string& frame_name,
        const TrajectoryType& trajectoryType) ;
        
    void storeJointWaypoint(JointWaypoint& jointPoint);
    void storeCartesianWaypoint(CartesianWaypoint& cartesianPoint);
    void storeWaypoint(MixedWaypoint& mixedWaypoint);
    
    const std::vector<JointWaypoint>& getJointWaypointArray() const {
        return m_jointWaypointVector;
    }
    const std::vector<CartesianWaypoint>& getCartesianWaypointArray() const {
        return m_cartesianWaypointVector;
    }
    const std::vector<MixedWaypoint>& getMixedWaypointArray() const {
        return m_mixWaypointVector;
    }

    const TrajectoryType& getTrajectoryType () const {
        return m_trajectoryType;
    }
    //FiXME
    //bool convertROS2JointTrajectoryMessage();
    //bool convertROS2CatersianMessage();
    //bool convertROS2MessageToJointWavepoint();
    bool loadTrajectoryFromBinary(const std::string& filename);    
    bool loadTrajectoryFromMcapFile(const std::string& bag_path);

    void writeOneRecord(std::shared_ptr<const rclcpp::SerializedMessage> serialized_msg, 
                  const std::string& topic_name, 
                  const rclcpp::Time& timestamp); 

    bool openForReading(const std::string& bag_path);

    int getRecordedWayPoints();


private:

    bool hasNextInMcap();
    std::shared_ptr<rosbag2_storage::SerializedBagMessage> readNextInMcap();

    //helper functions to flatten the data into a byte stream    
    std::vector<uint8_t> serializeJointWaypoint(const JointWaypoint& jointPoint);
    std::vector<uint8_t> serializeCartesianWaypoint(const CartesianWaypoint& cartesianPoint);
    std::vector<uint8_t> serializeMixedWaypoint(const MixedWaypoint& point);
    //deserialize byte stream data back to waypoint arrays.
    std::vector<JointWaypoint> deserializeJointWaypoint(const int num_joints, const std::vector<uint8_t>& buffer);
    std::vector<CartesianWaypoint> deserializeCartesianWaypoint(const std::vector<uint8_t>& buffer);
    std::vector<MixedWaypoint> deserializeMixedWaypoint(const int num_joints, const std::vector<uint8_t>& buffer);
    
    bool saveToBinaryFile(std::vector<uint8_t>& serialize_data);
    bool saveToMcapFile(std::vector<uint8_t>& serialize_data);

    TrajectoryType m_trajectoryType;
    
    std::string m_binFilePath;
    std::string m_mcapBagFilePath;
    std::string m_mcapTopicName;

    JointWaypoint m_lastJointWaypoint;
    CartesianWaypoint m_lastCartesianWaypoint;
    
    std::unique_ptr<rosbag2_cpp::Writer> writer_;
    std::unique_ptr<rosbag2_cpp::Reader> reader_;

    std::vector<JointWaypoint> m_jointWaypointVector;// memory mirror(cache)
    std::vector<CartesianWaypoint> m_cartesianWaypointVector; //trajectory mirror(cache)
    std::vector<MixedWaypoint> m_mixWaypointVector;
    
    std::vector<std::string> m_jointNames;
    std::string   m_frameName;
    uint32_t m_numJoints;
    
    //Constants: 
    // Max waypoints in one file.new file (<robot_name>_trajecory_YYYY_MMDD_HHMMSS.suffix) will be created when 
    // the size is over the limits    
    static constexpr size_t MAX_SIZE = 8 * 1024 * 2014; //8 MB
    static constexpr size_t MAX_JOINTPOINT_ENTRIES = MAX_SIZE / sizeof(JointWaypoint) - 1; 
    size_t m_maxJointPointEntries;
    // sizeof(jointWaypoint) is unknown : TBD of number of joints 
    static constexpr size_t MAX_CARTESIANPOINT_ENTRIES = MAX_SIZE /sizeof(CartesianWaypoint) -1; 
    
    static constexpr size_t MAX_MIXEDPOINT_ENTRIES = MAX_SIZE / (sizeof(JointWaypoint) + sizeof(CartesianWaypoint)) -1 ;    
};

} // namespace robot_trajectory

#endif // ROBOT_LIBRARY_TRAJECTORY_PLANNER_HPP


HMI improvement:

Add HMI interface for trajectory control:

Web App:

Function/Parameter Web AppKeyboard
Time Interval Slide bar (0.01~10 seconds)Fixed 2 seconds. Need update launch file for new value.
ClearButton( Clear all cached trajectory waypoints)Ctrl + e ( empty)
Add (+)Button ( Add current position to the end of recorded trajectoryCtrl + a
Del (-)Delete the last waypoint
Button
Ctrl + d
Record startRecord buttonCtrl + r
Record stopRecord stop buttonCtrl + s
Playback startPlay buttonCtrl + p
Playback pausePlay pause button Ctrl + space
E-StopSoft Emergent stop button:
Stop the trajectory and disable joint_trajectory_controller
Ctr + esc

Demonstration (video)

  • Power on
  • Trajectory record/payload over mobile phone (WIFI connetion)