Search found 14 matches

by jwatte
Tue Nov 28, 2017 8:32 pm
Forum: SparkFun Product Questions
Topic: Razor IMU M0 : heading seems off
Replies: 6
Views: 496

Re: Razor IMU M0 : heading seems off

Does anyone have a sketch that actually makes use of the hardware that is on this board? I had really hoped to save a couple of days of tuning my own integrators/filters :-( if (heading > PI) heading -= (2 * PI); else if (heading < -PI) heading += (2 * PI); else if (heading < 0) heading += 2 * PI; I...
by jwatte
Tue Nov 28, 2017 8:16 pm
Forum: SparkFun Product Questions
Topic: Razor IMU M0
Replies: 1
Views: 177

Re: Razor IMU M0

Mine immediately prints data when I connect it on Ubuntu and cat the serial port. Try this: Plug it in, and type: dd if=/dev/ttyACM0 bs=10 This will read data from the serial port ttyACM0 and print it to your terminal. You should see the data output stream without having to send a space character.
by jwatte
Mon Nov 27, 2017 3:30 pm
Forum: SparkFun Product Questions
Topic: Razor IMU M0 : heading seems off
Replies: 6
Views: 496

Re: Razor IMU M0 : heading seems off

I don't use the MPU9250, but in general, magnetometers need to be calibrated to be useful the most sophisticated approach to on-line magnetometer calibration for Arduino is probably this series I understand that you're trying to help. However, that's not what my concern is here. I paid $50 for an A...
by jwatte
Fri Nov 24, 2017 10:03 pm
Forum: SparkFun Product Questions
Topic: Razor IMU M0 : heading seems off
Replies: 6
Views: 496

Re: Razor IMU M0 : heading seems off

Oh, ouch, I just read the DMP library code. First, it is written so it sometimes returns values between -180 and 360, because of a faulty three-way if. Second, it doesn't have any affordance for calibrating the magnetometer. It assumes the magnetometer readings will be centered on zero, but no such ...
by jwatte
Fri Nov 24, 2017 9:34 pm
Forum: SparkFun Product Questions
Topic: Razor IMU M0 : heading seems off
Replies: 6
Views: 496

Razor IMU M0 : heading seems off

Running a Razor IMU M0, with the latest downloaded firmware, and Razor library (version 1.4.0) and board support package. I have configured it to only show heading and time. Here is the config: //////////////////////////////// // Default Logging Parameters // //////////////////////////////// #define...
by jwatte
Tue May 16, 2017 9:02 am
Forum: AVC
Topic: The Official 2017 AVC Logistics Class Thread
Replies: 15
Views: 3393

Re: The Official 2017 AVC Logistics Class Thread

Oh, that's less than I feared! Wind catching might add more force than gravity in this case.
by jwatte
Tue May 16, 2017 8:57 am
Forum: Everything ARM and LPC
Topic: Kinetis K20 questions (board components, programming)
Replies: 1
Views: 1061

Kinetis K20 questions (board components, programming)

I've been using Teensy 3 boards in the past for Kinetis K20 chips, and those boards are great! However, I may need to build a board that has a K20 (or something like it) on it, go use as a smart brushless motor servo controller. The Teensy isn't quite right for this, being on its own board, and not ...
by jwatte
Tue May 02, 2017 2:33 pm
Forum: AVC
Topic: The Official 2017 AVC Logistics Class Thread
Replies: 15
Views: 3393

Re: The Official 2017 AVC Logistics Class Thread

How much do the rings weigh? Building an arm that can lift several pounds several feet out is ... a challenge :-) Maybe just a base pivot and a hook, like an old-style tow truck, would do it. And a magnet on the hook? Also, how far away from the robot is the operator for the non-autonomous options? ...
by jwatte
Tue May 02, 2017 10:38 am
Forum: AVC
Topic: Barrel clearance
Replies: 6
Views: 1530

Re: Barrel clearance

Thanks for the additional information! Any more information you can share would of course be useful as it becomes available :-) Separately, if you can provide a number of snapshots of the course elements (various vinyl tapes, pedestrian dummy, etc) taken with different cameras in different lighting ...
by jwatte
Mon May 01, 2017 4:56 pm
Forum: AVC
Topic: Barrel clearance
Replies: 6
Views: 1530

Barrel clearance

Is there a defined minimum barrel clearance? I'm looking for a minimum guaranteed clearance between any two barrels (but not necessarily barrel and haybales/side.) I understand that there's no guaranteed "straight path" though, which is fine, but I need to know how much space there is to maneuver. I...
by jwatte
Mon Feb 23, 2015 9:41 pm
Forum: Sparkfun Promotions and Competitions
Topic: Distance to the shortcut?
Replies: 4
Views: 2328

Re: Distance to the shortcut?

Thanks. I see the measurement now.
Separately, should I plan on not knowing the doom trap before race day, or will we get info before then?
by jwatte
Fri Feb 20, 2015 10:01 am
Forum: Sparkfun Promotions and Competitions
Topic: Distance to the shortcut?
Replies: 4
Views: 2328

Distance to the shortcut?

Thanks for posting the rules for the new venue! I just realized that the posted course description doesn't set out the distance from the first corner to the shortcut. I could eyeball it by measuring pixels, but that seems less ideal than being given an accurate measurement. Separately: Is the idea t...
by jwatte
Tue Jan 20, 2015 12:20 pm
Forum: AVR Microcontrollers
Topic: Pocket AVR Programmer not found in Arduino IDE
Replies: 1
Views: 1872

Re: Pocket AVR Programmer not found in Arduino IDE

After trying a number of things, I found the solution. It turns out, the zadig.exe installer by default installs the WinUSB driver (which is the native Windows 8 way of talking to USB.) However, avrdude wants to use libusb-win32, which I can choose to install instead. Uninstalling the driver for the...
by jwatte
Mon Jan 19, 2015 8:15 pm
Forum: AVR Microcontrollers
Topic: Pocket AVR Programmer not found in Arduino IDE
Replies: 1
Views: 1872

Pocket AVR Programmer not found in Arduino IDE

I have a Sparkfun pocket AVR Programmer. Usually, I use this from Linux with command-line avrdude, and it works fine. However, now I need to use it from a Windows 8.1 / x64 machine, from the Arduino IDE, and I can't get it recognized. I downloaded and ran the zadig.exe installer (from an administrat...