Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simulation example failed on Ubuntu20.04 #24

Closed
dzywater opened this issue Jan 19, 2022 · 2 comments
Closed

Simulation example failed on Ubuntu20.04 #24

dzywater opened this issue Jan 19, 2022 · 2 comments

Comments

@dzywater
Copy link

On ubuntu 20.04, Simulation example failed: the robot in gazebo cannot be in control.

Rviz terminal shows:
[ WARN] [1642574340.231446324]: TF_REPEATED_DATA ignoring data with redundant timestamp for frame firefly/rotor_3 at time 247.976000 according to authority unknown_publisher
[ WARN] [1642574340.231461790]: TF_REPEATED_DATA ignoring data with redundant timestamp for frame firefly/rotor_4 at time 247.976000 according to authority unknown_publisher
[ WARN] [1642574340.231479710]: TF_REPEATED_DATA ignoring data with redundant timestamp for frame firefly/rotor_5 at time 247.976000 according to authority unknown_publisher
[ WARN] [1642574340.340303253]: TF_REPEATED_DATA ignoring data with redundant timestamp for frame firefly/rotor_0 at time 248.076000 according to authority unknown_publisher
[ WARN] [1642574340.340439294]: TF_REPEATED_DATA ignoring data with redundant timestamp for frame firefly/rotor_1 at time 248.076000 according to authority unknown_publisher

gazebo terminal shows:
Warning: TF_REPEATED_DATA ignoring data with redundant timestamp for frame firefly/rotor_3 at time 255.476000 according to authority unknown_publisher
at line 278 in /tmp/binarydeb/ros-noetic-tf2-0.7.5/src/buffer_core.cpp
Warning: TF_REPEATED_DATA ignoring data with redundant timestamp for frame firefly/rotor_4 at time 255.476000 according to authority unknown_publisher
at line 278 in /tmp/binarydeb/ros-noetic-tf2-0.7.5/src/buffer_core.cpp
Warning: TF_REPEATED_DATA ignoring data with redundant timestamp for frame firefly/rotor_5 at time 255.476000 according to authority unknown_publisher
at line 278 in /tmp/binarydeb/ros-noetic-tf2-0.7.5/src/buffer_core.cpp
Warning: TF_REPEATED_DATA ignoring data with redundant timestamp for frame firefly/rotor_0 at time 255.576000 according to authority unknown_publisher

Notes: On ubuntu18.04, it works.

@dzywater
Copy link
Author

dzywater commented Mar 3, 2022

ewok_simulation\urdf\turtlebot_gazebo.urdf.xacro
use
${prefix}/camera_depth_optical_frame
instead of
camera_depth_optical_frame

@dzywater dzywater closed this as completed Mar 3, 2022
@dzywater
Copy link
Author

dzywater commented Mar 3, 2022

use tf2 instead of tf.
(1)in ewok_simulation\package.xml
use
<build_depend>tf2_eigen</build_depend>
<build_depend>tf2_ros</build_depend>
instead of
<build_depend>tf</build_depend>
<build_depend>tf_conversions</build_depend>
<build_depend>eigen_conversions</build_depend>

(2)update ewok_simulation\src\trajectory_replanning_example.cpp

trajectory_replanning_example.cpp.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant