FourWayGridMesh.java

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: 99jonathan, roger, imaqine

FourWayGridMesh.java

Postby Rickz2020 » Fri Feb 17, 2012 2:18 pm

Hi all,

Just a quick question:

Code: Select all
   /**
    * Instantiates a grid mesh of nodes which won't interconnect between any map geometry. Will also keep away
    * the set parameter from map geometry. Grid spacing is adjustable via the constructor.
    * @param map The map containing geometry.
    * @param gridSpace The size of each grid square.
    * @param clearance The safety zone between all nodes/connections and the map geometry.
    */
   ..................
   }


Which unit of measurement are do these values represent? Millimeters would be my guess but I thought I'd make sure.

Also, what is the standard unit used throughout leJOS?

Thanks,

Rich.
Rickz2020
Active User
 
Posts: 121
Joined: Thu Feb 10, 2011 5:47 pm
Location: London, Earth.

Re: FourWayGridMesh.java

Postby gloomyandy » Fri Feb 17, 2012 3:12 pm

Not sure about this particular set of classes, but often leJOS does not care about the particular set of units, only that you use them consistently. So for instance the pilots do not care which unit you use when specifying wheel size and distance between wheels, you just need to make suer that all measurements make use of the same base units... I suspect that this class may be the same...

Andy
User avatar
gloomyandy
leJOS Team Member
 
Posts: 4083
Joined: Fri Sep 28, 2007 2:06 pm
Location: UK

Re: FourWayGridMesh.java

Postby Rickz2020 » Sun Feb 19, 2012 12:27 am

Hmm, OK.

Thanks.
Rickz2020
Active User
 
Posts: 121
Joined: Thu Feb 10, 2011 5:47 pm
Location: London, Earth.


Return to NXJ Software

Who is online

Users browsing this forum: No registered users and 3 guests

more stuff