uuvsimulator / uuv_simulator

Gazebo/ROS packages for underwater robotics simulation
https://uuvsimulator.github.io/
Other
676 stars 355 forks source link

How to publish the value of the sliding surface in sliding mode controller #394

Open Xiaoran807 opened 4 years ago

Xiaoran807 commented 4 years ago

I am working on a new project and hope to design a sliding mode controller for rexrov vehicle. I hope to see the values of different variables such as sliding surface function _s_b in rov_mb_sm_controller.py and restoring force _g in vehicle.py. I have tried to create my own topic and tried a few other things, unfortunately non of them worked. I am fairly new to robotic field.

musamarcusso commented 4 years ago

Hi @Xiaoran807 , could you send the snippet on how you tried to publish the values?

Xiaoran807 commented 4 years ago

I have got a way to publish the topics. I have another question not related to publishing topics. Instead of constant current, do you have plan to develop models for modelling ocean current that rotate like vortex or even turbulence? Any idea or suggestion for materials to look at this problem will also be good.

saeed-NA commented 3 years ago

Hi @ Xiaoran807

Do you mind sharing the the code you tried to publish the parameters?

Xiaoran807 commented 3 years ago

Hi @ Xiaoran807

Do you mind sharing the the code you tried to publish the parameters?

Hi, I have solved the problem.