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

Clarifications on PID Controller #3

Open
Irrelev4nt13 opened this issue Mar 30, 2024 · 3 comments
Open

Clarifications on PID Controller #3

Irrelev4nt13 opened this issue Mar 30, 2024 · 3 comments

Comments

@Irrelev4nt13
Copy link

Irrelev4nt13 commented Mar 30, 2024

Hello,

I installed the bluerov2 simulator as you suggested in the installation guide but I'm confused on how to launch the PID Controller.
My goal is to give the robot a XYZ coordinate + orientation and it will go to the coordinates with the given orientation.
I want to use either gazebo standalone or a combination with SITL so both options are acceptable. Please let me know how to make it work.

Thanks in advance.

@pattylo
Copy link
Member

pattylo commented May 17, 2024

Currently, we just use the PID controller from uuv_simulators, we haven't really perfected everything yet (modularization, documentation, and so forth). If you're in hurry, you can checkout this first.

@Irrelev4nt13
Copy link
Author

Thank you for replying!

I tried a lot of thing in the past month, however nothing fixed my problem.

I will provide more details in the problem and the things I tried:

I'm researching unmmaned underwater vehicles with a specialty in BlueROV2. However my lab is using a BlueROV2 Heavy configuration.

I have successfully setup your simulator for BlueROV2 heavy configuration (8 thrusters) but it lacks 6 DoF. I managed to make it work with 4 DoF.

I read the documentation and I saw then option for 6 DoF

full_dof (type: bool, default: False`): If True, the reference trajectory reference will be computed for 6 DoF, otherwise, 4 DoF (x, y, z, yaw).
I enabled the parameter everywhere (in he PID Controller, Trajectory Generator etc) but it didn't make any difference.

Am I doing something wrong or the 6 DOF is not really implemented ?

Finally, I tried running the MPC controller but the python3 generate_c_code.py command didn't work, I have install both acados and the required libraries as you wrote in the doc but the program couldn't find acados_template that needs to be imported. Is there anything else I can try ?

Thanks in advance!

@pattylo
Copy link
Member

pattylo commented May 21, 2024

Hi there.

As far as I am concerned, our MPC does not run on the script you referred to. I am guess that it is for visualization purposes. Might require @yahu3198 to confirm with this. Concerning the MPC code, you should be referring to this.

I think in our project, we mainly focused on 4-DoF control, and therefore, 6-DoF might not be dicussed in this repo.

Lastly, for the acados thing, do you mind sending some screenshots up here, so that we can have a better understading on your problem.

Thx!

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

2 participants