JM9 XRCU Board 0.1.3a
Libraries API Reference
Loading...
Searching...
No Matches
Jason.h File Reference
#include <Arduino.h>
#include <Ain.h>
#include <Buttons.h>
#include <CompoI.h>
#include <EEPROM.h>
#include <Monitor.h>
#include <Motors.h>
#include <Mpu_6050_dmp.h>
#include <Qmc5883l.h>
#include <Saved_data.h>
#include <Uts_gpio.h>
#include <Uts_i2c.h>
#include <Uts_uart.h>
#include <Vl53l0x.h>
#include <Serial_packer.h>
#include <Serial_unpacker.h>

Go to the source code of this file.

Classes

struct  uts_aio_ptr_t
 Ultrasonics all-in-one pointer type. More...
 
struct  heading_ptr_t
 Heading pointer type. More...
 
struct  uart_conn_ptr_t
 UART connection pointer type. More...
 
class  JM9_packer
 JM9 UART packet packer. More...
 
class  JM9_unpacker
 JM9 UART packet unpacker. More...
 
class  Jason
 Jason Driver for XRCU. More...
 

Enumerations

enum  mtr_idx_t { LF = 0 , RF = 1 , RB = 2 , LB = 3 }
 Motor indices. More...
 
enum  side_t { front = 0 , left = 1 , right = 2 , back = 3 }
 4 sides. More...
 

Variables

Jason robot
 The robot object.
 

Detailed Description

Jason.h - Jason Driver for XRCU.

This program is Robotics Team software: you can redistribute it and/or modify it under the terms of the Internal Resource Exchange License as published by the Robotics Team, either version 1 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Internal Resource Exchange License for more details.

You should have received a copy of the Internal Resource Exchange License along with this program. If not, see https://github.com/CSWCSSRoboticsTeam/licenses/blob/main/IREL/v1/LICENSE.txt?raw=true.

Enumeration Type Documentation

◆ mtr_idx_t

enum mtr_idx_t

Motor indices.

Author
YH Choi @ JM9
See also
Jason::set_motor_spd(int16_t)
Enumerator
LF 

Left-Front motor.

RF 

Right-Front motor.

RB 

Right-Back motor.

LB 

Left-Back motor.

◆ side_t

enum side_t

4 sides.

Author
YH Choi @ JM9
See also
Jason::get_uts_dist(uint8_t)
Enumerator
front 

Front side.

left 

Left side.

right 

Right side.

back 

Back side.