Hi,
In order to get velocity as well as position information for a node, you have to get a pointer to the mobility model installed on that node.
So, assuming you have a pointer to the node itself
Ptr<Node> mynode;
You have just to do a simple get
Ptr <MobilityModel> mymobility = mynode -> GetObject<MobilityModel>();
Vector myvelocity = mymobility -> GetVelocity() ;
Vector myposition = mymobilty -> GetPosition() ;
Regards,
Konstantinos