|
TR-mbed 1.0
|
#include <cstring>#include <stdint.h>#include "mbed.h"Go to the source code of this file.
Classes | |
| struct | Jetson_send_data |
| struct | Jetson_send_data_buf |
| struct | Jetson_send_ref |
| struct | Jetson_send_ref_buf |
| struct | Jetson_read_data |
| struct | Jetson_read_odom |
Functions | |
| void | jetson_send_feedback (BufferedSerial &bcJetson, const Jetson_send_ref &ref_data, const Jetson_send_data &data, int msg_type=0) |
| ssize_t | jetson_read_values (BufferedSerial &bcJetson, Jetson_read_data &read_data, Jetson_read_odom &odom_data) |
| ssize_t | jetson_send_read_spi (SPI &spiJetson, const Jetson_send_data &input, Jetson_read_data &output) |
| ssize_t jetson_read_values | ( | BufferedSerial & | bcJetson, |
| Jetson_read_data & | read_data, | ||
| Jetson_read_odom & | odom_data | ||
| ) |
Read desired pitch and yaw position data from Jetson
| pitch_move | buffer to store desired pitch position |
| yaw_move | buffer to store desired yaw position |
| void jetson_send_feedback | ( | BufferedSerial & | bcJetson, |
| const Jetson_send_ref & | ref_data, | ||
| const Jetson_send_data & | data, | ||
| int | msg_type | ||
| ) |
Read motor values and send to CV
| ssize_t jetson_send_read_spi | ( | SPI & | spiJetson, |
| const Jetson_send_data & | input, | ||
| Jetson_read_data & | output | ||
| ) |