GrandK / megapirateng-add-ons

Automatically exported from code.google.com/p/megapirateng-add-ons
0 stars 0 forks source link

Can´t get gimbal to work with 2.9.1b R8.158 #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I am using AIOP v2 controller, Ublox GPS, 6x hextronic 750kv motors and 6x 30A 
SimonK Firmware Multicopter Speed Controllers.

I enabled the gimball when uploading the firmware but nothing happens. 
I am using this gimbal: CM102 2-Axis Carbon Fiber Camera Gimbal Mount.
When in plug in the power the servos turn them in one end direction and this is 
all what they do. I have tried putting them under RC channels in mission 
planner but this does also nothing. When i use RC8 then a motor starts to spin. 
All smaller RC channels are staring a motor. 

Is it possibel to use my gimbal with this firmware or not? If it is then what 
should i do?

Original issue reported on code.google.com by joukko.s...@gmail.com on 25 Jul 2013 at 12:09

GoogleCodeExporter commented 8 years ago
The true is that I have no hardware to test gimbal functions but have a look at 
this diff to understand what is disabled while not using gimbal

http://code.google.com/p/megapirateng-add-ons/source/diff?spec=svn160&r=158&form
at=side&path=/trunk/libraries/APM_RC/APM_RC_PIRATES.cpp&old_path=/trunk/librarie
s/APM_RC/APM_RC_PIRATES.cpp&old=85

CONFIG_GIMBAL is used to disable code for gimbal.

You may manually remove line 88 and 113.

Search files to check if CONFIG_GIMBAL is being used in other places 
(I do not have the full source code with me now so can not help you more for 
next 2-3 weeks)

All gimbal code is based on original lastest mpNG /if enabled and compiled in/

Original comment by pa...@kulma.pl on 25 Jul 2013 at 7:14