Anyone managed to get pixhawk to control the t4-3d gimbal?
i've tried following the same steps in the wiki but that was for the 2 axis gimbal
http://copter.ardupilot.com/wiki/common-tarot-gimbal/
i cant get control the gimbal at all. It works when i plug the gimbal directly into a receiver like the conventional way. i've tried all different aux ports and tried different settings but just cant.
Anyone got this gimbal working with pixhawk before?
Replies
I was able to connect the Tarot T4-3D to a Pixhawk (providing Tilt control only) over the weekend and wanted to share the steps/details of the setup.
Pixhawk Configuration (Mission Planner)
Initial Setup > Optional Hardware > Camera Gimbal
Type - Servo
Tilt - RC9
Servo Limits - set according to your radio (mine is Min 1100, Max 1900)
Angle Limits - Min -90, Max 0
Input Ch - RC6 (I'm using a slider on an Aurora 9)
Physical Configuration
Verify the wiring out of the gimbal controller to the Pixhawk. I had to change the signal wires on the two PWM/SBUS connectors (moved the signal wire from the single wire connector to the two-wire connector)
Connect the two-wire connector to the Pixhawk AUX 1 port (RC9)
Gimbal Configuration
Update the Firmware to 1.10 (http://www.tarot-rc.com/index.php?main_page=page&id=14)
Receiver Type - Conventional
Default Mode - Pan Follow
RC Mapping - TILT > Channel 1
Control Mode - Angle Control
Don't forget to Write Flash
Gio first allow me to thank you for posting this information. I have already set the parameters in mission planner according to your instructions but using RC_Functions 5,6,7 to control Tilt/Pan/Mode. However I do still have a few questions:
1. Where does the "PWM1 (SBUS)" cable coming from the gimbal connects to the Pixhawk? When you say SBUS_OUT, are you referring to the port labeled "SB" of the Pixhawk?
2. On my Futaba 14SG radio I configured Channels 5,6,7 with switches "LS, RS & SF" to control Tilt/Pan/Mode respectively. By setting RC_Functions 5,6,7 to "RCPassThru" on Pixhawk does these means that any inputs made in my radio to channels 5,6& 7 will effectively be sent thru RC_Functions 5,6,7 of the Pixhawk respectively? Sorry for the stupid question!! I'm just trying to gain an understanding of how all of these works.
3. If all of my assumptions above are correct, within the Tarot Gimbal software, after selecting "SBUS" for receiver, which channels am I to select to control Tilt/Pan/Mode?
I'm sorry for the lengthily reply, I've trying to figure this out for a week now and still, no working gimbal.
Sincerely,
Jose
Yes, I already did all of that, but what Im having problems is how do I assign a radio channel of my futaba to control RC9 (Aux) on Pixhawk. Also, do I need to do anything within the Gimbal/Camera screen on mission planner? To what setting do I set gimbal to? Servo?
Sincerely,
Jose
Petru hi! hey could you please help me with setting up my T4-3D with Pixhawk and Futaba SBUS? Below is my setup:
Futaba 14SG with EZUHF receiver connected via SBUS thru CH1 of receiver
Tarot T4-3D Gimbal
So far Ive tried what you sugested but no luck. I need to know details on hos do I assign a channel of my radio to control RC9 & RC10 of the Pixhawk
B Petru said:
try this and it will work!
https://www.youtube.com/watch?v=exRruQFZijU
Are you running the APM firmware or Pixhawk? running APM and my aux outputs do nothing... they are enabled and mapped. I can control the gimbal from the X8R directly but not through the pins 1-6 (51-56) on the Px4 - at least not using APM Copter V3.3.3 Quad.
B Petru said:
Brad,
Ignore the BRD_CAN_ENABLE parameter. This setting disappeared on me as well after an update of MP (currently running the latest beta for fun). The missing setting has no effect.
I believe the issue is the splitter. If you can temporarily remove it and run direct see if that fixes it. If it does I will plug in my Futaba SBUS splitter and replicate the problem tonight and determine the solution.
I am sure you already are doing this but I will mention it anyway. I use the POT style switches for the tilt and pan - Are you doing the same?
Regards,
Gio
Brad McMillan said:
Grazie!
Like I said - SBUS works great for me but, like others on this thread, I can not get it to function via PWM.
B Petru said:
Brad,
Am I understanding you are using a SBUS splitter? If so try SBUS without the splitter.
Did you follow the settings I described in Mission Planner? It is imperative you enable, SBUS passthrough on the channels controlling the gimbal and set the channels matching the transmitter mapping. With passthrough you don't set the settings for the gimbal; the remote passes the data on a specific channel and the Pixhawk is unaware there is a gimbal in this mode. I have not tested an SBUS splitter so I don't know if my method is compatable with that assuming that is what you mean (although it should be so long as there is no overlap)
I am of the opinion that the Tarot does not respond to PWM and wish B Petru would respond to my question as to what variables he set to get PWM working.. I used a PWM sweep from my CNC router and didn't get any response - tried base frequencies from 5 to 5000 and nothing. There is a 3rd option to control it via serial if I am not mistaken but I haven't explored that. I could be wrong though.
I guarantee that if the SBUS settings are correct it will work. I have 3 Tarot T4 units now and all on different frames and all work wonderfully. Also you do NEED the ground. It will not behave without it.
Just curious though - what buttons did you map to pan and tilt on your remote? The left and right POT style knobs on the side work well. You may also have to tweak the speed and torque settings. Mine are somewhere around 50 for torque on each axis. and 100 for speed
Let me know if I can be of more help.
Brad McMillan said:
For anyone who is interested in connecting the Tarot T4-3D with the included Gimbal Main Controller Module to the Pixhawk PX4 on a quadcopter and failed you may want to read this...
NOTE: This method will enable Pan, Tilt and Mode via the S.BUS out of the PX4. The Pixhawk will not be "aware" there is a gimbal but in my application I don't care because I always use a remote to control my cameras.
I was having issues getting the PWM of the Tarot functioning. It made no difference if I plugged it in to the X8R receiver directly or the PX4, it simply wouldn't work with a PWM signal. I even tried the info in the post by B Petru in the thread and could not get PWM working.
I discovered SBUS from the receiver would control the T4-3D if I changed the T4-3D settings to enable SBUS instead of Conventional Receiver Type. This presented a new challenge though because my X8R is set to connect to the PX4 via SBUS for channels 1-8 and I use the other channels on the X8R for camera switcher, LEDs, lending gear and other basic functions on my heavily modified Matrice 100 frame (M100 a developer drone - I think not - another topic for another post but it is why I tossed the N1 flight controller in favor of the PX4).
So to how I got pan and tilt working:
NOTE: Make sure you don't set, or if set already, disable any gimbal settings in Mission Planner, Initial Setup, >>Optional Hardare, Camera Gimbal.
NOTE: On some T4-3D gimbal units, the header with the 3 pins is pinned wrong. The yellow signal wire often needs swapped with the header with the single yellow wire. Look at the manual and make sure the yellow next to the video ground is connected to the header with the red and brown wire as this is what will connect to the SBUS output of the PX4.
This works flawlessly for me. I have the Taranis X9D Plus remote and I set the RS and LS pots to control Tilt and Pan and I set SC to control FPV/PF mode. The gimbal is very smooth and as far as I can tell it works as well as my old Zenmuse X3 gimbal.
You can find a PDF manual for the T4-3D at http://www.infinity-hobby.com/main/download/ZYX_T3D_Manual_EN.pdf
-
1
-
2
of 2 Next