SimpleBGC, MavLink control, Yaw

Thank you for your reply

Instructions on the wiki

MNT_TYPE to 3 / “AlexMos-Serial”
SERIAL1_PROTOCOL to 7 / “AlexMos Gimbal Serial”

Is this incorrect?

http://ardupilot.org/copter/docs/common-simplebgc-gimbal.html

Here’s how to set

No this is not correct, the instructions on the Wiki are for AlexMos Serial. this is not the same as MavLink

I would like to clarify that ArduPilot has a driver for AlexMos serial and so that is what we wrote in our wiki - it’s not wrong, but the original method. Apparently, and without our knowledge, AlexMos started supporting MAVLink and recommends using the STorM32 MAVLink driver - I would very much like to know why they think this is better (what advantages does it get?) when the STorM32 developer has stopped supporting it in master himself.

Oxinarf,
Didn’t mean ‘its wrong’ as in a mistake in the Wiki or drivers. I meant it’s the wrong setting for Mavlink control. I should have explained this better.

I think the difference is serial is command based, whilst In MavLink config the simpleBGC uses IMU data to infuse into the stability algorithms.
However I have not looked the the serial code so can’t say this is 100% correct, the serial drivers may send IMU data also. (Does it Oxinarf?)

It is possible that with the MAVLink one they are using that information. I think it would have been better to improve the AlexMos serial driver to support that - and other functionalities.

Acpuk, last December I’ve submitted a pull request to ArduPilot that supports injection of autopilots IMU data into the BaseCam mount based on the AlexMoss serial protocol, but I seem to have failed advertaising it well enought. Feel free to have a look at it and comment (link below).

Just FYI - I’m planning to put some work into improving our support for the AlexMos/SimpleBGC support.
It’s great what @lekston did - i’m still struggling a bit to get working hardware and then I’ll review it properly.
I had a chat with the man behind AlexMos/SimpleBGC and I think neither of us minds too much whether we use the serial or MAVLink protocol going forward.

2 Likes

One issue I do find with the SimpleBGC is connecting to MP I often receive a only one heart beat error on connection.
Just have to wait a while then try again. Or start the connection (via radio) first then power up the FC. Can be frustrating at times.

that us great news on gimbal

Hi Randy,

I’ve been in contact with Aleksey from SimpleBGS and Jakub Jakubczyk from HDair (a Polish gimbal manufactorer) to organise a 3axis, continuous rotation mount with encoders as a test platform for you. Aleksey mentioned that you have some specific requirements with respect to your camera form factor. Could you please contact me directly at: plekston@flytechuav.com so that we can specify all requirements for the mentioned test platform?

Regards,
Przemek Lekston

We have a 3 axis, encoded gimbal using alexmos and connected to ardupilot trough mavlink.

At the moment with latest alex firmware B9, everything works pretty good.

We can test any future implementation bot on serial and mavlink.

One of the first things that would be really nice to support is 360 yaw (we have a full slip ring on yaw).

regards,

Corrado

Hello guys,

The simplebgc mavlink documentation is really just a few lines. I wonder whether if a storm32 driver would work with this simplebgc?? I really couldn’t understand how the mavlink driver for ardupilot was developed since I couldn’t find any extensive documentation on mavlink for simplebgc. It only includes the command it takes and sends, and is that enough? If it is so, I will try to develop a MAVROS driver for the gimbal.

Would be so awesome if there was some progress on this.
At least to somehow get the SimpleBGC angle messages sent to the GCS.

1 Like

hello , I have some dificoulties whit connecting px to infinity mr360 pro … did wireing from telem 2 to aux3 and rc yaw , done all serial port setup in MP, in GUI under chanel1 mavlink chosen UART2 ,… but it seams like there is no conection , AHRS:no , GPS:no , RC:no , Control :no …
are those right pins to put mavlink in on simpleBGC …

Hey Randy
Any update on your progress?
I am sure this is not the highest thing on your list. Just trying to decide to go with Alexmos or Storm on a gimbal build for a DIY flying solo board

I did manage to setup alexmos via mavlink protocol , when doing that keep in mind you will have to chose storm mavlink for serial port you are using … all other parameters you can find in simplebgc manual … encoders are main thing why I went from storm to alexmos…

I am using regular mavlink, not storm.

Pag 73-74 of basecam manual.

Corrado

I was not able to get it workong other way, but I will try once again … and what did you ment by support 360yaw ,
isnt it controlerd by MP in full 360yaw range …

I’m having the same issues you were when connecting alexmos via mavlink.
Wondered what settings you went with? I’m getting no response with my parameters
Here’s my parameters:

Alexmos___
mavlink tab:
channel 1 = rx-serial (using mrpro yaw and aux 3 pins connected to rx,tx)
sys id/comp = 1, 154
port = 115200, none partiy
send hearbeat = yes

Rc settings tab:
Roll-pin mode = sbgc serial_api
roll pitch yaw etc all set to no imput

Arducopter___
SERIAL2_BAUD = 115
SERIAL2_PROTOCOL = 1
BRD_SER2_RTSCTS = “0”

( serial SR3 does not necessarily correspond to serial 3 just the 3rd Mavlink port enabled in order used (usb SR1, telemetry 1 SR2, telemetry 2/alexmos SR3)
SR3_EXTRA1 = 20
SR3_POSITION = 5
SR3_RC_CHAN = 20
all other SR3_ parameters set to 0.

MNT_type=4
MNT_RC_IN_TILT=6

It seems simpleBGC GUI mavlink tab : channel 1 serial port: RC_serial is the wrong setting to use. without anything connected I get AHRS: ok and loads of packets received, none lost, no parse errors. How is that possible?
I’m trying to use yaw and aux3 pins as rx,tx. Should I be using serial port: UART2 instead?
Because I’m getting no communication doing that