GT-RAIL / nav2djs

2D Navigation Widget
http://robotwebtools.org/
Other
51 stars 37 forks source link

rootObject should be stage? #25

Closed baalexander closed 11 years ago

baalexander commented 11 years ago

Line 94 of the built file references this.rootObject.addChild(robotMarker);. Should that be stage.addChild(robotMarker);?

rctoris commented 11 years ago

No, the root object references the object in the scene graph you are becoming a child of. While this can be the scene (the root of the tree), it can also be another object in the graph.

baalexander commented 11 years ago

Ah, that may explain the issue I'm seeing where the marker isn't displaying at the right layer (I'm trying to replicate the pose marker without nav2d for show). Thanks.

rctoris commented 11 years ago

img

baalexander commented 11 years ago

Dude, that guy lives in SF. His work was displayed at the coffee shop near my apartment. Eric Joyner.

rctoris commented 11 years ago

I just sent that to Chad, how is that not the sum of my internship?! SF area, robots, donut.