当前位置:网站首页>Solve the linear equation of a specified point and a specified direction
Solve the linear equation of a specified point and a specified direction
2022-06-30 07:33:00 【RobotLife】
Given point :
( x 0 , y 0 ) (x_0, y_0) (x0,y0)
Given direction :
θ \theta θ
Let the linear equation be :
y = k x + b y = kx + b y=kx+b
be :
k = t a n θ k = tan\theta k=tanθ
b = y 0 − x 0 t a n θ b = y_0 - x_0tan\theta b=y0−x0tanθ
Then the linear equation is :
y = t a n θ x + y 0 − x 0 t a n θ y = tan\theta x+ y_0 - x_0tan\theta y=tanθx+y0−x0tanθ
in consideration of θ = ± π 2 \theta=\pm\frac{\pi}{2} θ=±2π when , k meaningless , And then it turns into :
c o s θ y = s i n θ x + c o s θ y 0 − x 0 s i n θ cos\theta y = sin\theta x + cos\theta y_0 - x_0 sin\theta cosθy=sinθx+cosθy0−x0sinθ
Convert to a x + b y + c = 0 ax + by + c = 0 ax+by+c=0 The standard form of :
s i n θ x − c o s θ y + c o s θ y 0 − x 0 s i n θ = 0 sin\theta x - cos\theta y + cos\theta y_0 - x_0sin\theta = 0 sinθx−cosθy+cosθy0−x0sinθ=0
边栏推荐
- Stepper motor
- MAX6675 usage notes
- C language - student achievement management system
- Sublime text 3 configuring the C language running environment
- How to quickly delete routing in Ad
- Cmake generate map file
- Raspberry pie 4B Getting Started Guide
- 24C02
- C language implementation sequence stack
- MySQL encounters the problem of expression 1 of select list is not in group by claim and contains nonaggre
猜你喜欢

Spring Festival inventory of Internet giants in 2022

期末复习-PHP学习笔记7-PHP与web页面交互

Use of ecostruxure (3) creating composite function blocks

Shell command, how much do you know?

Final review -php learning notes 9-php session control

All errors reported by NPM

动态内存管理

C language - student achievement management system

C language implementation of chain stack (without leading node)

Thread pool - C language
随机推荐
Wangbohua: development situation and challenges of photovoltaic industry
Merge: extension click the El table table data to expand
Commands and permissions for directories and files
Ad\dxp how to solve the problem of not knowing the schematic Library
Embedded test process
Analysys analysis: online audio content consumption market analysis 2022
Minecraft 1.16.5模组开发(五十) 书籍词典 (Guide Book)
QT elementary notes
STM32 infrared communication 3 brief
Shell command, how much do you know?
网络安全-三层交换技术和内部网络规划
How to use string branches for switch case
02 - bare metal and RTOS development modes: five development modes of bare metal and the introduction of RTOS
期末複習-PHP學習筆記3-PHP流程控制語句
Account command and account authority
Digital white paper on total cost management in chain operation industry
Next initializesecuritycontext failed: unknown error (0x80092012) - the revocation function cannot check whether the certificate is revoked.
Similarities and differences of differential signal, common mode signal and single ended signal (2022.2.14)
Stepper motor
線程池——C語言