UPDATED 8/1/17: These are directions for controlling the car with keyboard inputs and recording the commands along with Vicon readings. Make sure to manually find and substitute JETSON_IP and REMOTE_IP first. Can use hostnames: JETSON_IP=tegra-ubuntu.local, REMOTE_IP=ubuntu.local
On remote machine running ROS (e.g. Nicole's Macbook with Ubuntu VM):
export ROS_MASTER_URI=http://REMOTE_IP:11311; export ROS_IP=REMOTE_IP; roslaunch vicon_bridge vicon.launchssh ubuntu@JETSON_IP; export ROS_MASTER_URI=http://REMOTE_IP:11311; export ROS_IP=JETSON_IP; rosrun week1tutorial talker.pyssh -X ubuntu@JETSON_IP; export ROS_MASTER_URI=http://REMOTE_IP:11311; export ROS_IP=JETSON_IP; rosrun week1tutorial keyboard.pyssh ubuntu@JETSON_IP; export ROS_MASTER_URI=http://REMOTE_IP:11311; export ROS_IP=JETSON_IP; rosrun rosserial_python serial_node.py /dev/ttyACM0 export ROS_MASTER_URI=http://REMOTE_IP:11311; export ROS_IP=REMOTE_IP; rosbag record -O [name of file] [select topic names or record everything]3/12/17: Record steering inputs and video from ZED camera for first iteration of neural network steering controller
rosbag record -O [name of file] [topic1] [topic2]Next steps: set up VICON system and record GPS coordinates and steering inputs (doing step input tests) in order to system ID a car model (next weekend)
Interfacing with VICON:
Issue with building Bo's package on the Jetson: unable to build target 'testclient' because "skipping incompatible {path}/libViconDataStreamSDK_CPP.so when searching for -lViconDataStreamSDK_CPP"
Resolved: Vicon API only supported on Intel architectures. Cannot run on Jetson :( however, can directly get data from Vicon server by writing custom code to receive UDP packets on Jetson (and send from the Vicon server). Bo is working on a version of this for his drone using Mavlink protocol