Skip to content

Multi-Terrain Vehicle (MTV)#278

Merged
thias15 merged 32 commits into
ob-f:masterfrom
quentin-leboutet:master
May 31, 2022
Merged

Multi-Terrain Vehicle (MTV)#278
thias15 merged 32 commits into
ob-f:masterfrom
quentin-leboutet:master

Conversation

@quentin-leboutet

Copy link
Copy Markdown
Collaborator

Including the Multi-Terrain Vehicle (MTV) as an additional OpenBot platform.

@thias15

thias15 commented Apr 27, 2022

Copy link
Copy Markdown
Collaborator

What are the small files like body/mtv/cad/Assembly/._1.jpg ?
Also, I don't think it makes sense to have duplicate copy of the phone mount in rc_truck and diy. How about we move it to the base directory?

@quentin-leboutet

Copy link
Copy Markdown
Collaborator Author

Agreed.

@thias15

thias15 commented Apr 28, 2022

Copy link
Copy Markdown
Collaborator

Great. One more things is that we should compress the images where possible. Since there are many images it will blow up the repo size. For example docs/images/MTV/O20.pngdocs/images/MTV/O20.png does not need to be super high-resolution and occupy 500KB. A tool like this could be used, it strikes good balance between quality and size. https://tinypng.com/
One option may also be to convert images to jpg.

@quentin-leboutet

Copy link
Copy Markdown
Collaborator Author

Agreed. I converted the MTV pictures into .jpg

@thias15 thias15 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left a comment in the README. Also the changes to the firmware for supporting the MTV are still missing.

Comment thread body/mtv/pcb/README.md Outdated

The ESP32 low-level control board communicates with the smartphone through a dedicated serial-USB interface. The command strings have the following structure:

- | **Drive letter** | **LHS speed** | **RHS speed** |

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section here should probably be removed. We will control it with our OpenBot firmware. But the description of this should probably be in the main README file.

@thias15

thias15 commented May 5, 2022

Copy link
Copy Markdown
Collaborator

The explanation about firmware in the MTV README should move to the firmware README file into a new section that explains how to use ESP32 boards. It is not specific to the MTV.

@quentin-leboutet

Copy link
Copy Markdown
Collaborator Author

Makes sense.

@thias15 thias15 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments in the code. In addition I think docs/images/MTV/Comp_arch.jpg is redundant. There is svg and jpeg of the same thing.

Comment thread firmware/openbot_nano/openbot_nano.ino
Comment thread firmware/openbot_nano/openbot_nano.ino Outdated
@@ -74,6 +76,7 @@ boolean coast_mode = 1;
// HAS_BUMPER Enable/Disable bumper (1,0)
// HAS_SPEED_SENSORS_FRONT Enable/Disable front speed sensors (1,0)
// HAS_SPEED_SENSORS_BACK Enable/Disable back speed sensors (1,0)
// HAS_SPEED_SENSORS_MIDDLE Enable/Disable middle speed sensors (1,0)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indent should be the same as for other items.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

Comment thread firmware/openbot_nano/openbot_nano.ino Outdated
const int PIN_DIR_L = 32;

// Encoder setup:
const int PIN_SPEED_RF_A = 14;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if it makes sense to define all of these. Maybe we should just define PIN_SPEED_LF etc. directly and behind it just leave a comment that specifies pin for A and B?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree. I corrected that.

@thias15 thias15 merged commit c265b94 into ob-f:master May 31, 2022
lacykaltgr pushed a commit to satinavrobotics/SatiBot that referenced this pull request Jun 1, 2025
* added MTV content
* removed duplicate copy of the phone mount
* reduce image file size
* integrated MTV firmware

Co-authored-by: Matthias Mueller <thias15@web.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants