Updates example code to use ROS command line.
Updates example code to use ROS command line.

No need to run `rostopic echo` or `rostopic pub` separately when running the
examples.

baalexander/rosnodejs,baalexander/rosnodejs