dCompass


#1
  1. In EV3, there is only the read coords block.
  2. Heading returns numbers from 0 to 180. Shouldn’t the degrees be 0 to 360, or what is it actually showing?

Also the store link is down for dCompass?


#2

Hey Viado,

It’s been a while since we’ve written or worked with this software. Does it read into the negative numbers?

Re - Store link - We’re no longer selling the dCompass so we’ve taken it down.


#3

The heading nr-s go from 0 to 180. The x y z can read into neg. numbers.

Also where can i dl the nxt-g dcompass block?


#4

You can find the dCompass block here:
http://dexterindustries.com/files/dCompass_Block.zip

The Java code here:
http://dexterindustries.com/files/dCompass_Java.zip

And the NXC code here:
http://dexterindustries.com/files/dCompass_NXC.zip

Also you can find more information on how it works in our wiki here: http://www.dexterindustries.com/manual/lego-mindstorms-sensors/dcompass/


#5

Does the heading # then represent in degrees dcompass’ position relative to north? So if it’s 0 it’s pointed straight at north?


#6

Viado, that’s right. Note you’ll have some magnetic declination wherever you are; if you look at some of the examples I think we show how to handle offsetting that.


#7

There is no place to enter offset # in the EV3 block sadly.


#8

Last question, in which direction is the north relative to the sensor if it returns 0 for example?

Is it straight out of the sensor? (like the arrow here:


#9

Yes! Correct!