-
Notifications
You must be signed in to change notification settings - Fork 3
Running Waypoint Following App
How to run waypoint following on car:
DONE ON CAR:
NOTE: Before each step on the car, pull up a new terminal, and run:
source ~/catkin_ws/devel/setup.bash
-
Run roscore ->
roscore
-
Start up rosbridge server ->
roslaunch rosbridge_server rosbridge_websocket.launch
-
Initialize serial python node ->
rosrun rosserial_python serial_node.py /dev/ttyACM1
-
Initialize talker ->
rosrun week1tutorial talker.py
-
Run the vrpn client: ->
roslaunch vrpn_client_ros sample.launch server:=192.168.1.3
NOTE: The server's IP address might be different than 192.168.1.3
. You can check this by typing ipconfig
on the vicon server machine's command prompt.
ON THE VICON SERVER MACHINE
- Turn on vicon, run Vicon Tracker 3.4 app, and select "f1car" in the objects section.
DONE THROUGH SSH:
-
SSH into the car. a) Make sure both the car and your personal machine is connected to the same router (ViconRouter). b) Run the following to get the ip address of the car ->
ip route get 8.8.8.8 | awk '{print $NF; exit}'
c) SSH using the -X server: ->ssh -X ubuntu@ip_address_from_step_6b
-
Run STARL code In folder "newLib": ->
./run.sh
-
Run controller on car ->
rosrun week1tutorial waypoint.py