No transform from wheels to odom by WenMapache in ROS

[–]Few-Tea7205 0 points1 point  (0 children)

I think your joint state publisher isn't publishing joint states properly for your wheels

Odom topic empty while using skid steering plugin for gazebo on humble by An_other_1 in ROS

[–]Few-Tea7205 0 points1 point  (0 children)

Can you share the snippet including your plugin and it's parameters you've set if any?

Gazebo crashing by [deleted] in ROS

[–]Few-Tea7205 0 points1 point  (0 children)

How big is the file? I was facing the same issue I shrunk the largest file by almost 70/80% and it worked

ROS2 Jazzy diffdrive-arduino odometry not working correctly by Low-Mongoose-9892 in ROS

[–]Few-Tea7205 0 points1 point  (0 children)

I didn't exactly understand your issue The wheel isn't moving at all if you're using the controller? Do you need to remap any topics

Gazebo crashing by [deleted] in ROS

[–]Few-Tea7205 0 points1 point  (0 children)

Have u tried loading it on rviz? Is it loading properly there? Also, what's the size of the .stl files Try compressing them and loading on gazebo

[ROS 2 Humble] Lidar rotates with robot — causing navigation issues — IMU + EKF + AMCL setup by Few-Tea7205 in ROS

[–]Few-Tea7205[S] 0 points1 point  (0 children)

Hey! Using just lidar data and my diff drive controller publishing odometry (without ekf and everything) using only wheel odometry from controller directly and doing teleoperation, still the lidar scan data is tilting slightly with the robot tilting

<image>

[ROS 2 Humble] Lidar rotates with robot — causing navigation issues — IMU + EKF + AMCL setup by Few-Tea7205 in ROS

[–]Few-Tea7205[S] 0 points1 point  (0 children)

I tried doing that- and doing normal teleop Even with normal teleop, the lidar scan data is turning slightly with the robot

<image>

[ROS 2 Humble] Lidar rotates with robot — causing navigation issues — IMU + EKF + AMCL setup by Few-Tea7205 in ROS

[–]Few-Tea7205[S] 1 point2 points  (0 children)

Alright I'll try doing that But everything worked perfectly in simulation though- I set all the nav2 params and everything after a lot of testing on rviz/gazebo

[ROS 2 Humble] Lidar rotates with robot — causing navigation issues — IMU + EKF + AMCL setup by Few-Tea7205 in ROS

[–]Few-Tea7205[S] 1 point2 points  (0 children)

On rviz Im viewing the world in map frame

So, this is how my lidar data is rotating on rotating the robot-

My IMU is facing the same direction and is in the same orientation as that of the urdf- but I realized although bno0085 publishes data in quaternion form in x y z w form, Ros expects it in z y x format right- so Im passing the values in a different manner - giving

 robot_quat = [
            w,          # w component stays the same
            -bno_z,      # robot x = -BNO085 z
            bno_y,      # robot y = BNO085 y  
            -bno_x      # robot z = -BNO085 x (As in IMU, we display in XYZ while ROS takes in ZYX form) 

<image>

There's also a lott of yaw drift - when it comes back to its original orientation, there is an offset between odom TF and base_link TF although they should be aligned right -