This is the name of the package
Contains all programs related to the shoe and sole project
test1.launch is the launch file that opens
- sport_sole_publisher.cpp
- rviz (to visualize acceleration and orientation of shoes with arrow)
- rqt_plot (graph of shoe's acceleration data, which shows orientation)
$ roslaunch sport_sole test1.launch
SportSole.msg contains custom message types for data collected in the data packets
- acceleration
- quaternion
- pressure
Accessed in sport_sole_publisher.cpp
Don't open accel_orient.rviz from VS Code
Instead, this automatically opens when the launch file is activated
accel_orient.rviz visualizes acceleration and orientation of shoes with arrows
sport_sole_publisher.cpp is the main code for this project
Purpose: ??
Type name: sport_sole_publisher
Lists the depenencies that allow sport_sole_publisher.cpp to run
Similar purpose as CMakeLists.txt
The following configurations assume that you use a TP-Link router.
- The router IP address must be
192.168.1.254
. This can be set in "Advanced" -> "Network" -> "IP Address". - The address of the host PC must be
192.168.1.100
. This can be set in "Advanced" -> "DHCP" -> "Address Reservation". - The router SSID must be named "SportShoe". This can be set in "Advanced" -> "Wireless 2.4GHz" -> Wireless Settings" -> "Wireless Network Name"
- The network traffic can be monitored in "Advanced" -> "Wireless 2.4GHz" -> "Wireless Statistics".
1 The IP address of "PD shoe left" and "PD shoe right" should be
192.168.1.11
and192.168.1.12
, respectively.
- Flash the teensy with firmware "Xbee_AT_transparent.ino"
- Send "+++" with no carriage return via serial. Teensy should respond with "Ok".
- Immediately after the previous step, send "atid" with carriage return. Teensy should respond with the current SSID.
- Immediately after the previous step, send "atid newssid" with carriage return. Teensy should respond with the new SSID "newssid".
- Immediately after the previous step, send "atwr" with carriage return to write the change to XBee.
- Note that timeout may occur if you wait too long after each step.
sudo tcpdump -i enp60s0 -x udp