-
Notifications
You must be signed in to change notification settings - Fork 0
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
Ekf #223
base: master
Are you sure you want to change the base?
Conversation
Measured the wheel radius and wheel base and updated the wheel encoder node to match. Noetic displays a timestamp warning for every message that is not later than the last message recieved. This makes the repl unusable. Added a minimum delta time between publishing so avoid that problem. Still need to figure out the minimum delta. This issue of spamming warnings is under active discussion on the devs github.
For some reason the pose handler for the wheels is in degrees so had to add a conversion to radians (this must be new) The IMU's yaw is offset from the rover by 45 degrees Had to add a factor of 2pi. I can see no reason why this was needed but results in a usable wheel encoder.
self.x += v_wx*2*math.pi # I don't understand why this 2pi factor is needed | ||
self.y += v_wy*2*math.pi | ||
|
||
print("X coord: ", self.x) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want to keep these could you make them rospy.loginfo("")
@gmfricke Did you change the topic name in |
Fixed merge conflict - please test :) |
Resolves #130 |
@abbypribis How are you launching?
|
hmm, I was doing |
Okay, commands work now - odom really sucks though, ooof |
Yeah the EKF is very unstable it took like 10 driver calls for it to "stabilize", I would ask it to drive 10m and it would think it had arrived before it even moved. The logging rate is a bit too high fills up the logs instantly and this is coming from someone who is logging every loop of the driver state meh
|
Enabled the EKF node. Disabled wheel encoder tf transforms to avoid conflicts.