I was wondering why compassmot hasn't been integrated into the rover code. I read the comment that says it's not needed but I've been testing a rover with some BIG motors drawing lots of amps and I can tell you that the compass reading can shift as much as 10 degrees. I'd have to stick the compass on a tall stalk to get far enough away from the EMI sources which isn't practical.
You need to be a member of diydrones to add comments!
Replies
So this guy(me) got a new external mag in the mail today. but I didn't order the freaking cable.
Im having this same issue. My g-made R1 crawler has the motor in the center of the frame. Im going to move my apm forward on a platform and see what happens.
@Jake,
Are you using the compass in the APM2.5 or a separate compass like in the 3DR GPS/compass?
I presently have a Traxxas Slash 4WD chassis with the primary GPS/compass module mounted between the front shock towers and the front bumper.
The secondary GPS is mounted between the rear shock towers and the back bumper.
The Pixhawk is mounted as close to the front shock tower as I can get it but still be able to remove the micro SD card.
As you can see in the picture above, the brushless motor is near the back of the chassis just ahead of the rear shock tower.
Regards,
TCIII ArduRover2 Developer
I'm using the APM 2.5 with the internal compass. Im just getting into the rover. I took the apm off my tricopter because i never used the autopilot features. At first i though something was wrong with my compass after installing it on the R1. Then i realized that the apm was mounted very close to the brushed motor im using. So i built a platform and mounted the apm farther away. Which allowed me to get the compass calibrated. Button now i need to mount it out forward of the motor. Here are my first couple videos of it.
Jake, I'd definitely recommend converting that 2.5 to a 2.6 and using the external mag. It makes a huge difference on rovers, which are full of magnetic interference sources. Instructions on how to do that conversion are here (it's easy).
Ok i ordered the external mag. Thanks for the help.
Isn't it so that all compassmot does is report back the % interference by your power system.
Doesn't actually change anything, just gives you feedback on your compass physical position.
If so, and you want to run it, why not just install arducopter for a while to test it and adjust, then go back to ardurover?
@Nikola,
How about showing some pictures of your rover chassis so we can get an idea where your motors are positioned?
I typically use a 2WD chassis with the motor far in the rear of the chassis. When I do build a 4WD chassis with the motor in the middle of the frame, I put the APM and GPS/Compass as far forward as possible.
Regards,
TCIII ArduRover2 Developer