전체 글(302)
-
극
보호되어 있는 글입니다.
2024.11.21 -
통계로 세상 읽기 -1
보호되어 있는 글입니다.
2024.09.24 -
대우를 활용한 코드 최적화(Optimize code with Contrapositive)
A이면 B이다. ~B이면 ~A이다.If P, Then Q. If not Q, Then not P. 대우를 활용해서 파이썬에서 코드 최적화 방법에 대해 정리해본다.1. 조건문 최적화2. 예외 처리3. 논리적 동치 != 복잡도 - O(1) -> O(n) 되는 경우 1. 조건문 최적화# 원래 조건문if not (P and Q): do_something()# 대우를 활용한 조건문if not P or not Q: do_something() not (P and Q) == not P or not Q 드 모르간 법칙. 논리적으로는 동치지만 코드 최적화 부분에서는 느낌이지만 미세하게나마 차이가 존재한다. 1.1 차이둘 다 모두 O(1) 이다.다만 전자의 경우 P가 False 일 경우에도 Q를 판단해..
2024.09.09 -
Modern Robotics - 2. Configuration Space
Configuration Space A robot is mechanically constructed by connecting a set of bodies, called links, to each other using various types of joints. Actuators, such as electric motors, deliver forces or torques that cause the robot’s links to move. Usually an endeffector, such as a gripper or hand for grasping and manipulating objects, is attached to a specific link. All the robots considered in ..
2024.08.13 -
Modern Robotics - 1. Preview
Modern RoboticsMechanics, Planning, and ControlKevin M. Lynch and Frank C. Parkhttps://hades.mech.northwestern.edu/images/7/7f/MR.pdf 이런저런것을 하다보니 역기구학이 필요해져서 맛만보다가 이 책까지 오게 되었습니다.가장 추천받은 책이고 로봇 공학에 수박 겉 핥기로는 충분한 것 같아 정리하는 포스팅입니다. 이 포스팅은 책을 읽고 메모하고 싶은 부분이나 필요한 부분을 정리하고,전체적으로는 Claude AI를 활용하여 핵심 부분을 요약, 정리를 한 글입니다. 수식에대한 부분은 이해하려고 노력하나, 로봇 겉 핥기가 목표여서 어려우면 두루뭉실 넘어갈 생각입니다. * 현실적으로 역기구학 부분만 필요한지라 작심..
2024.08.12 -
Robotics
보호되어 있는 글입니다.
2024.08.12