TR-mbed 1.0
Loading...
Searching...
No Matches
Classes | Functions
Jetson.h File Reference
#include <cstring>
#include <stdint.h>
#include "mbed.h"

Go to the source code of this file.

Classes

struct  Jetson_send_data
 
struct  Jetson_read_data
 

Functions

void jetson_send_feedback (BufferedSerial &bcJetson, const Jetson_send_data &data)
 
ssize_t jetson_read_values (BufferedSerial &bcJetson, Jetson_read_data &read_data)
 

Function Documentation

◆ jetson_read_values()

ssize_t jetson_read_values ( BufferedSerial &  bcJetson,
Jetson_read_data read_data 
)

Read desired pitch and yaw position data from Jetson

Parameters
pitch_movebuffer to store desired pitch position
yaw_movebuffer to store desired yaw position

◆ jetson_send_feedback()

void jetson_send_feedback ( BufferedSerial &  bcJetson,
const Jetson_send_data data 
)

Read motor values and send to CV