Skip to content

Robeff-Technology/rbf_steering_tire_map

Repository files navigation

Python Script for Data Import and steering-tire angle map output

This script gives the wheel rotation angle information corresponding to the steering angle by transforming 3 different points obtained in the Cartesian coordinate system corresponding to the steering column angle given in the .csv file.

The distance between the steering column and the rear axle must be entered correctly. Otherwise, all values will be calculated incorrectly.

Prerequisites

  • Python 3.x

Installation

  1. Install Python from the official website: Python.org

  2. Install the required libraries using pip:

pip  install  -r  requirements.txt

Inputs

CSV file: The script expects a CSV file named 'data_log_format.csv' in the same directory. The file should have the following columns:

  • Steering wheel angle(degree) -> actual steering angle
  • P1x(m) -> first position of x axes
  • P1y(m) -> first position of y axes
  • P2x(m) -> second position of x axes
  • P2y(m) -> second positionof y axes
  • P3x(m) -> third position of x axes
  • P3y(m) -> third position of y axes

Distance: The distance between the steering column and the rear axle of the vehicle

Output

  • steering_map.h header file that include steering to tire map
  • steering_tire_map.csv .csv file that include steering to tire map

Usage

Clone the repository or download the script files.

Install the required dependencies using the installation steps mentioned above.

Open a terminal or command prompt and navigate to the directory containing the script.

Run the script using the following command:

python map.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published