Hi, I can add it, but it is based on our Model of an autonomous underwater vehicle (AUV). The manual recommends to get my modified submodule of sitl_gazebo (which may be not up to date with the actual sitl_gazebo submodule) as well as our modified version of the PX4 Firmware (just added a start_up script and some applications, but this may also be not up to date with the actual PX4 Firmware).
Awesome. The docs should certainly be abstracted and refer only to official repo’s.
The existing doc on Gazebo we have on gazebo is here. The best thing would be to merge your instructions into those (this may be tough given that they are structured differently). Can you have a first look at how this might be best achieved. If you find that hard let me know and I’ll take a shot at it (very happy to do so).
Ideally the end result would be generic instructions, with a section on running the simulator for your sub much like the other ones here.
NOTE: On quick scan my take on the current PX4 docs is that they are very “thin and linky” meaning that there is the assumption you will be happy to go to linked docs and find required dependencies etc. While this approach has the benefit that you link to official docs that should be kept up to date, in this case it looks like the linked docs make a lot of assumptions about your existing knowledge of gazebo packaging/dependencies. Upshot, I’d be more than happy to extend our docs with your approach explicitly listing out dependencies and how things are installed (unless there is strong disagreement from others)
Let me know how/when I can help. I’m at hamishwillee at gmail dot com if you want to discuss offline.
Hi I have started to adjust the manual. Therefore I just copied the actual manual from the devGuide and included some parts of my manual. It would be nice if you can test and commend it.
I have just added the simulation for our own underwater vehicle to the fork repository of the actual Firmware. I will have a look into your comments to the manual next week.
I have added our own autonomous underwater vehicle to the actual Firmware (sitl_gazebo submodule and PX4 main). I would be glad to write a manual (as proposed before) with an additional example section for an own simulation model. Is it possible to add our model of the AUV to the Firmware?
@NRottmann I am working on getting a tiltrotor tricopter running. In my setup the model tree is as follows:
Baselink
----FR Motor
----FL Motor
----Servo for back motor
---------back motor
The problem that I am facing is that the back motor cannot be controlled if I set a channel in the mavlink_controller plugin for the servo. Only if I lock the joint and remove the channel, I am able to actuate the back motor.
I see you have some experience in modifying the code for your custom frame. Any advice as to how to get this working ?
@NRottmann My problem is that the backmotor’s parent is SERVO_LINK and it’s parent is the BASE_LINK. The Motor model, base plugin etc. doesnt support this type of serial linkage. I am looking to bypass that.
Not off the top of my head. Have you tried giving the thrust mixer the full range? Once I see which controllers you’re using we can step through the code and figure out where it’s being constrained to [0, 1].
I also solved the problem with the output being constrained to [0, 1]. The chosen MAV_TYPE is there crucial, it may be possible to integrate an own MAV_TYPE for the AUV. Right now I just chose a convenient one to get the simulation working.
Does anyone still has the manual for gazebo simulation NRottmann wrote? It is no longer available in the provided links and I think it would help me a lot.