-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from tinymovr/2_0_x
Support Tinymovr 2.0.0a1
- Loading branch information
Showing
39 changed files
with
862 additions
and
262 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
include/tinymovr/.DS_Store | ||
src/tinymovr/.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
* This file was automatically generated using Avlos. | ||
* https://github.com/tinymovr/avlos | ||
* | ||
* Any changes to this file will be overwritten when | ||
* content is regenerated. | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include <helpers.hpp> | ||
|
||
class Commutation_sensor_ : Node | ||
{ | ||
public: | ||
|
||
Commutation_sensor_(uint8_t _can_node_id, send_callback _send_cb, recv_callback _recv_cb, delay_us_callback _delay_us_cb, uint32_t _delay_us_value): | ||
Node(_can_node_id, _send_cb, _recv_cb, _delay_us_cb, _delay_us_value) {}; | ||
uint8_t get_connection(void); | ||
void set_connection(uint8_t value); | ||
float get_bandwidth(void); | ||
void set_bandwidth(float value); | ||
int32_t get_raw_angle(void); | ||
float get_position_estimate(void); | ||
float get_velocity_estimate(void); | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* | ||
* This file was automatically generated using Avlos. | ||
* https://github.com/tinymovr/avlos | ||
* | ||
* Any changes to this file will be overwritten when | ||
* content is regenerated. | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include <helpers.hpp> | ||
|
||
class External_spi_ : Node | ||
{ | ||
public: | ||
|
||
External_spi_(uint8_t _can_node_id, send_callback _send_cb, recv_callback _recv_cb, delay_us_callback _delay_us_cb, uint32_t _delay_us_value): | ||
Node(_can_node_id, _send_cb, _recv_cb, _delay_us_cb, _delay_us_value) {}; | ||
uint8_t get_type(void); | ||
void set_type(uint8_t value); | ||
uint8_t get_rate(void); | ||
void set_rate(uint8_t value); | ||
bool get_calibrated(void); | ||
uint8_t get_errors(void); | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
* This file was automatically generated using Avlos. | ||
* https://github.com/tinymovr/avlos | ||
* | ||
* Any changes to this file will be overwritten when | ||
* content is regenerated. | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include <helpers.hpp> | ||
|
||
class Hall_ : Node | ||
{ | ||
public: | ||
|
||
Hall_(uint8_t _can_node_id, send_callback _send_cb, recv_callback _recv_cb, delay_us_callback _delay_us_cb, uint32_t _delay_us_value): | ||
Node(_can_node_id, _send_cb, _recv_cb, _delay_us_cb, _delay_us_value) {}; | ||
bool get_calibrated(void); | ||
uint8_t get_errors(void); | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
* This file was automatically generated using Avlos. | ||
* https://github.com/tinymovr/avlos | ||
* | ||
* Any changes to this file will be overwritten when | ||
* content is regenerated. | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include <helpers.hpp> | ||
|
||
class Onboard_ : Node | ||
{ | ||
public: | ||
|
||
Onboard_(uint8_t _can_node_id, send_callback _send_cb, recv_callback _recv_cb, delay_us_callback _delay_us_cb, uint32_t _delay_us_value): | ||
Node(_can_node_id, _send_cb, _recv_cb, _delay_us_cb, _delay_us_value) {}; | ||
bool get_calibrated(void); | ||
uint8_t get_errors(void); | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* | ||
* This file was automatically generated using Avlos. | ||
* https://github.com/tinymovr/avlos | ||
* | ||
* Any changes to this file will be overwritten when | ||
* content is regenerated. | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include <helpers.hpp> | ||
#include <position_sensor.hpp> | ||
#include <commutation_sensor.hpp> | ||
|
||
class Select_ : Node | ||
{ | ||
public: | ||
|
||
Select_(uint8_t _can_node_id, send_callback _send_cb, recv_callback _recv_cb, delay_us_callback _delay_us_cb, uint32_t _delay_us_value): | ||
Node(_can_node_id, _send_cb, _recv_cb, _delay_us_cb, _delay_us_value) | ||
, position_sensor(_can_node_id, _send_cb, _recv_cb, _delay_us_cb, _delay_us_value) | ||
, commutation_sensor(_can_node_id, _send_cb, _recv_cb, _delay_us_cb, _delay_us_value) {}; | ||
Position_sensor_ position_sensor; | ||
Commutation_sensor_ commutation_sensor; | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
* This file was automatically generated using Avlos. | ||
* https://github.com/tinymovr/avlos | ||
* | ||
* Any changes to this file will be overwritten when | ||
* content is regenerated. | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include <helpers.hpp> | ||
#include <user_frame.hpp> | ||
#include <setup.hpp> | ||
#include <select.hpp> | ||
|
||
class Sensors_ : Node | ||
{ | ||
public: | ||
|
||
Sensors_(uint8_t _can_node_id, send_callback _send_cb, recv_callback _recv_cb, delay_us_callback _delay_us_cb, uint32_t _delay_us_value): | ||
Node(_can_node_id, _send_cb, _recv_cb, _delay_us_cb, _delay_us_value) | ||
, user_frame(_can_node_id, _send_cb, _recv_cb, _delay_us_cb, _delay_us_value) | ||
, setup(_can_node_id, _send_cb, _recv_cb, _delay_us_cb, _delay_us_value) | ||
, select(_can_node_id, _send_cb, _recv_cb, _delay_us_cb, _delay_us_value) {}; | ||
User_frame_ user_frame; | ||
Setup_ setup; | ||
Select_ select; | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
* This file was automatically generated using Avlos. | ||
* https://github.com/tinymovr/avlos | ||
* | ||
* Any changes to this file will be overwritten when | ||
* content is regenerated. | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include <helpers.hpp> | ||
#include <onboard.hpp> | ||
#include <external_spi.hpp> | ||
#include <hall.hpp> | ||
|
||
class Setup_ : Node | ||
{ | ||
public: | ||
|
||
Setup_(uint8_t _can_node_id, send_callback _send_cb, recv_callback _recv_cb, delay_us_callback _delay_us_cb, uint32_t _delay_us_value): | ||
Node(_can_node_id, _send_cb, _recv_cb, _delay_us_cb, _delay_us_value) | ||
, onboard(_can_node_id, _send_cb, _recv_cb, _delay_us_cb, _delay_us_value) | ||
, external_spi(_can_node_id, _send_cb, _recv_cb, _delay_us_cb, _delay_us_value) | ||
, hall(_can_node_id, _send_cb, _recv_cb, _delay_us_cb, _delay_us_value) {}; | ||
Onboard_ onboard; | ||
External_spi_ external_spi; | ||
Hall_ hall; | ||
|
||
}; |
Oops, something went wrong.