-
Notifications
You must be signed in to change notification settings - Fork 70
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
New UUV Addition #244
base: master
Are you sure you want to change the base?
New UUV Addition #244
Conversation
Could you add instructions to the vehicle model wiki - https://github.com/Field-Robotics-Lab/dave/wiki/vehicle_examples |
For the .dae and .png files, recommend renaming files to follow the same convention used for other robot modes, e.g., |
Yes, still working on it. Haven't gotten to the wiki yet. |
Teleoperation via gamepad is not working for me. I think we want to be consistent with this mapping: https://github.com/Field-Robotics-Lab/dave/wiki/Logitech-F310-Gamepad-Mapping Currently what see is...
|
As part of this PR let's update and expand our documentation on how to setup and provision and new vehicle: https://github.com/Field-Robotics-Lab/dave/wiki/New-Underwater-Vehicle The goal is to have sufficient documentation on how this is all done so that our student, doing it all for the first time, will be able to do this for our pending robotic boats with thruster and rudder. |
As a surrogate vehicle, we should include standard sensors: DVL, pressure, P3D, IMU, etc. |
This PR was meant as a draft. During the name change it lost draft status. Currently:
|
Yes, I was intending to do this once everything was working. |
@crvogt - I didn't realize it was still a draft. I was waiting on this to be able to writeup one of the paper sections, so was keen to get it reviewed and merged. Just let me know when it is ready for review. One additional thing you may consider. It appears that the baseline needs to be moved relative to the meshes. The ROS convention is
Also, the other UUVs have the base_link roughly at the center-of-gravity of the model. Here is the visualization of the current base_link location and orientation wrt to the meshes: |
@bsb808 If you have a chance could you verify the teleop behavior? The only UUV that acts as I would "expect" is the rexrov, but I'm thinking it might be my gamepad. Otherwise,
|
Could you merge from |
Running locally in docker I still see ...
|
Created PR in |
@crvogt Reviewed per your request - resulting behavior does not match specs for https://github.com/Field-Robotics-Lab/dave/wiki/Logitech-F310-Gamepad-Mapping. Where the mapping differs, I've listed the current behavior in bold: Right Analog Mini Stick The cross-coupling may be due to the dynamics of the UUV, so maybe we don't want to fix it, but it was pretty significant. I'll take a quick scan through the joystick mapping to see if anything stands out as a possible cause. |
Just to confirm what's being sent from my joystick is what you're expecting, here's the mapping from my gamepad to the ROS message. Right Analog Mini Stick |
Thank you. With my current PS4 controller the mapping matches https://github.com/Field-Robotics-Lab/dave/wiki/Logitech-F310-Gamepad-Mapping exactly, so first I'll try swapping gamepads. |
Mine is a Logitech F310 |
Just as a note, that controller mapping doesn't seem to be correct for the rexrov, either I get forward/aft motion from the arrow pad rather than the mini stick. |
And, confirmed. Your new UUV behaves just like the rexrov for me. I think maybe the issue is that the mapping described in the wiki was changed at some point to work with the PS4 controller or something else different than the Logitech F310. |
I agree. I'll move this model over to the F310 mapping. Thanks for confirming with the rexrov. |
If you change anything at https://github.com/Field-Robotics-Lab/dave/wiki/Logitech-F310-Gamepad-Mapping. Let me know :D |
@woensug-choi Will do! but I don't think we'll be changing that. @j-herman Did you try this via docker? I just plugged in my Logitech F310, did a fresh build, and everything is still working as expected for me. |
@crvogt I just ran it on my system. I can give it another shot in docker tomorrow. Do you think that might change the mappings? I am wondering about drivers. |
It's not an uncommon problem, apparently. |
Test with
roslaunch dave_robot_launch virgil.launch
Depends on Field-Robotics-Lab/uuv_simulator#8