System blocks communicate with opening ports. Data flow from one port to another through LCM pipelines. We could visualize the data.
Ensure that you have installed the drake visualizer with
cd drakebazel build //tools:drake_visualizerbazel-bin/tools/drake_visualizer
In another terminal, we open the LCM data inspector by
To visualize data, we need data. Controlling a robot to move is a good way to get data flowing. We start a KUKA arm simulation in another terminal:
Then in another terminal we open up a "planner and runner".
Finally we need to send command to the planner, it will run the KUKA arm.
bazel-bin/examples/kuka_iiwa_arm/move_iiwa_ee -x 0.8 -y 0.3 -z 0.25 -yaw 1.57
You should see the robot arm moving with the commanding data in the LCM inspector change simultaneously.
The KUKA Manipulation example is here.