Open gurselturkeri opened 2 months ago
Hey @gurselturkeri , I am suffering from same problem. Were you able to solve the problem?
I had the same issue in Ubuntu 20.04, I changed the launch file and added static_transform_publisher from robot frame to map, then the robot appeared fully.
I added the following lines inside the launch file -
static_transform_publishers = [
Node(
package='tf2_ros',
executable='static_transform_publisher',
name='static_tf_pub',
arguments=['0', '0', '0', '0', '0', '0', 'map', 'ego_racecar/base_link']
),
Node(
package='tf2_ros',
executable='static_transform_publisher',
name='static_tf_pub_base_to_front_left_wheel',
arguments=['-0.5', '0.5', '0', '0', '0', '0', 'map', 'ego_racecar/front_left_wheel']
),
Node(
package='tf2_ros',
executable='static_transform_publisher',
name='static_tf_pub_base_to_front_right_wheel',
arguments=['-0.5', '-0.5', '0', '0', '0', '0', 'map', 'ego_racecar/front_right_wheel']
),
]
I have installed all dependencies but when I launch the file I get an error. How can I solve that?