Locking gimbal design, Help needed please.

Hello all,

I've been developing a locking gimbal system for a few months now and I'm in desperate need of some software to make my gimbal work fully.

The basic idea for the gimbal is for a second person to be able to control the camera pan and tilt whilst it is stabilized by the APM but remaining very lightweight and also not having any obstructions in view whilst 360 Degree panning.

My all up weight with the tricopter is 1250g. thats 800g for the tri, 200g for the gimbal and accessories and 250g for the camera. 

Ive done some flight tests but i have had to hand launch due to the lack of software to make the locking mechanism work. The gimbal works ok but still needs a bit of fine tuning which I'm concentrating on at the moment.(all work in progress)

What I'm after is the two roll servos (that are plugged into separate roll channels) to go to a neutral position and then go to a retract position (opposite to each other) to lock and unlock the gimbal. The tilt servos need to just go to a neutral position. This function could be triggered by a simple rc input or possible auto trigger somehow. If any one is willing to help out with the  software I would be happy to share any drawings etc of my design or possibly make a gimbal or two. (the design and function is still in progress though so no guarantee of functionality just yet)

Sorry for bad video quality!

https://www.youtube.com/watch?v=FvnCta23gu8&feature=youtu.be 

3691035911?profile=original

Cheers

Alex

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Oh and this in GCS_Mavlink.

    #if CAMERA == ENABLED

        case MAVLINK_MSG_ID_DIGICAM_CONFIGURE:

        {

            camera.configure_msg(msg);

            break;

        }

        case MAVLINK_MSG_ID_DIGICAM_CONTROL:

        {

            camera.control_msg(msg);

            break;

        }

    #endif // CAMERA == ENABLED

    #if MOUNT == ENABLED

        case MAVLINK_MSG_ID_MOUNT_CONFIGURE:

        {

            camera_mount.configure_msg(msg);

            break;

        }

        case MAVLINK_MSG_ID_MOUNT_CONTROL:

        {

            camera_mount.control_msg(msg);

            break;

        }

        case MAVLINK_MSG_ID_MOUNT_STATUS:

        {

            camera_mount.status_msg(msg);

            break;

        }

    #endif // MOUNT == ENABLED

  • All I can seem to find about the Mount message is here in commands_Logic.pde

     

    #if MOUNT == ENABLED

        case MAV_CMD_DO_MOUNT_CONFIGURE:                    // Mission command to configure a camera mount |Mount operation mode (see MAV_CONFIGURE_MOUNT_MODE enum)| stabilize roll? (1 = yes, 0 = no)| stabilize pitch? (1 = yes, 0 = no)| stabilize yaw? (1 = yes, 0 = no)| Empty| Empty| Empty|

            camera_mount.configure_cmd();

            break;

        case MAV_CMD_DO_MOUNT_CONTROL:                      // Mission command to control a camera mount |pitch(deg*100) or lat, depending on mount mode.| roll(deg*100) or lon depending on mount mode| yaw(deg*100) or alt (in cm) depending on mount mode| Empty| Empty| Empty| Empty|

            camera_mount.control_cmd();

            break;

    #endif

        default:

            // do nothing with unrecognized MAVLink messages

            break;

        }

    }

    There is something to do with channel 7 for shutter control. Don't know if this can maybe be adapted to work somehow?

     

     

    // do_take_picture - take a picture with the camera library

    static void do_take_picture()

    {

    #if CAMERA == ENABLED

        camera.trigger_pic();

        if (g.log_bitmask & MASK_LOG_CAMERA) {

            Log_Write_Camera();

        }

    #endif

    }

    Regards

     

    Alex

  • Hi Søren, the gimbal has the undercarriage attached to it so the legs don't get in the shot when it is panned around. When it is on the floor the apm keeps the gimbal flat which is great but say you came to land, when the motors stop keeping the tricopter from staying level it will fall to the floor. So the universal joint locks by moving the servos to a certain position stopping this From happening. I need the retract functions to work with an rc input and not a mavlink message. Very frustrating!
  • Hi, what do you mean with locking? Mechanically preventing it from moving (why would you want to do that)? Or tracking something, "locking" on to it?

    It's servos and not brushless, right?

    Regards

    Soren

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Sunday
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Friday
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Friday
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Friday
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Friday
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23
DIY Robocars via Twitter
Oct 23
DIY Robocars via Twitter
Oct 19
DIY Robocars via Twitter
Oct 18
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13
DIY Robocars via Twitter
RT @araffin2: 🏎️ After hours of video editing, I'm happy to share a best of my Twitch videos on learning to race with RL. 🏎️ Each part is…
Oct 13
More…