Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
encoders-test
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CdF
CdF 2020-2021
tools
diagnostics
encoders-test
Commits
8776c8d9
Commit
8776c8d9
authored
4 years ago
by
Charles JAVERLIAT
Browse files
Options
Downloads
Patches
Plain Diff
Deleted README.md
parent
7f329149
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+0
-56
0 additions, 56 deletions
README.md
with
0 additions
and
56 deletions
README.md
deleted
100644 → 0
+
0
−
56
View file @
7f329149
# Motor control card driver
Apply motor regulation on left and right motor using a PID regulator.
Setpoint are read from the
`/cmd_vel`
topic.
This node also send back odometry and transform of the
`base_link`
.
## Setup repository
This repository uses git submodules. To clone this repository with all its submodules, proceed like so:
```
sh
git clone
--recurse-submodules
-j8
https://gitlab.clubelek.fr/cdf2020/microcontrollers/motors-control-card/motors-control-card-driver.git
```
## Update submodules
If you want to fetch the changes for the submodules, use the command
`git submodule update`
## Prerequisites
### ROS Install
-
Install a version of ROS1, see
[
ROS installation
](
http://wiki.ros.org/ROS/Installation
)
.
-
Install rosserial-python for your ROS distribution, for example:
```
sh
sudo
apt-get
install
ros-noetic-rossserial-python
```
### Hardware preparation
Add the rules to read/write to the STM32 Nucleo F303k8
```
sh
sudo cp
99-stm-nucleo.rules /etc/udev/rules.d/
```
## How to run
```
sh
pio run
--target
upload
```
In one terminal, source ROS setup file and run the roscore:
```
sh
source
/opt/ros/noetic/setup.bash
roscore
```
In another terminal, run rosserial-python to handle the STM32 node:
```
sh
source
/opt/ros/noetic/setup.bash
rosrun rosserial_python serial_node.py /dev/ttyACM0
```
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment