"I think I keep bouncing around terms incorrectly. I want to read where the gimbal is pointing, not traveling. So that I can point it due north, east, etc.
Any advice as to why this incorrect values are being stored in "yaw".…"
"I'm trying to grab the actual heading of the gimbal so that I can hold a desired heading, which can be the heading to face GPS coordinate. I'm getting accurate, pitch & roll, lat, long, and gps altitude values, but I'm not…"
"Oh and yes it is a continuous servo for the the yaw. I know there must be something simple I'm getting wrong for the incorrect heading readings. I think it might have to do with the angle of the APM2 or me not initializing the…"
"Yes the gimbal is to be attached to a multirotor. Down the road: have a couple APM1s that I was going to attach to the subject (moving or stationary), and feed lat/long and alt to the Gimbal APM2.
I've implemented PIDs that work…"
"If I remember correctly, there is heading and there is bearing. One is the direction the airframe is pointed, and one is the direction it needs to point in order to get to a place (which, depending on wind and other factors, may or may not be the…"
"Have you considered looking at the code for the ArduPlane instead? The reason I ask is if all you want is a static heading direction, that is easy enough. However, as your gimbal moves through space, the heading to your point of interest is likely…"
Hello,For the sake of better understanding APM guts I've been working on what I've been calling ArduGimbal. I've just assembled code together looking at Arducopter 2.5.5 for how to structure the code and Arduino AHRS example & Compass example code to get heading and attitude. I'm using an APM2.I've made a triple axis gimbal out of a Hobbyking gimbal, a prop balancer and the main rotor gear from a 450 sized heli.…See More
"It's not too complicated to 'assemble' the code from scratch though. Using the existing libraries to get attitude, position, and user readings and then using that to manipulated servos outputs and what not is not too hard and a…"
"From looking at examples, it seems that this is the class that deals with writing PWMs to the output channels but I can't get it to work. Is there a description of what each method is meant to do somewhere?