Skip to content

Buffer error possibly due to bitbots_tf_buffer library change. #3

@altineller

Description

@altineller

Hello,

I am getting an error while trying to run mogi_trajectory_server. I believe bitbots buffer require one extra argument.

Is there any way we can fix it, or is it possible not to use bitbots_tf_buffer?

Best Regards


ros@echo:~/workspaces/mogi$ ros2 run mogi_trajectory_server mogi_trajectory_server
Traceback (most recent call last):
File "/home/ros/workspaces/mogi/install/mogi_trajectory_server/lib/mogi_trajectory_server/mogi_trajectory_server", line 33, in
sys.exit(load_entry_point('mogi-trajectory-server==1.0.0', 'console_scripts', 'mogi_trajectory_server')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ros/workspaces/mogi/install/mogi_trajectory_server/lib/python3.12/site-packages/mogi_trajectory_server/trajectory.py", line 98, in main
trajectory_publisher = TrajectoryPublisher()
^^^^^^^^^^^^^^^^^^^^^
File "/home/ros/workspaces/mogi/install/mogi_trajectory_server/lib/python3.12/site-packages/mogi_trajectory_server/trajectory.py", line 21, in init
self.tf_buffer = Buffer(self)
^^^^^^^^^^^^
File "/home/ros/workspaces/mogi/install/bitbots_tf_buffer/lib/python3.12/site-packages/bitbots_tf_buffer/init.py", line 26, in init
tf2.BufferCore.init(self, cache_time)
TypeError: duration must have sec and nanosec, or nanoseconds.
[ros2run]: Process exited with failure 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions