반응형
250x250
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 횡방향 동역학
- 강화학습
- control
- #! /usr/bin/env python
- Backstepping
- 터미널 오류
- 나이퀴스트
- 궤환 선형화
- RL
- 제어공학
- lateral dynamics
- FL
- 차량 동역학
- ROS2
- 백스테핑
- 우분투
- 비선형제어
- 경로계획
- 나이퀴스트선도
- 자동제어
- 보드선도
- feedback linearization
- Python
- 러닝 #운동 #동기부여
- 오류
- humble
- 궤환선형화
- 2024적금
- ros2humble
- Isaac Sim
Archives
- Today
- Total
목록Python (3)
내 머릿속
[ROS2] Python ROS2 Node 기본구조
1. python 노드import rclpyfrom rclpy.node import Nodefrom std_msgs.msg import Stringclass PubSubNode(Node): def __init__(self): super().__init__('pub_sub_node') self.publisher_ = self.create_publisher(String, 'topic', 10) self.subscription = self.create_subscription(String, 'topic', self.listener_callback, 10) self.timer = self.create_timer(1.0, self.timer_callback) ..
Python with ROS
2025. 5. 8. 12:33
[Python numpy] np.minimum.reduce
import numpy as nparr = np.array([[1,2,3],[4,5,6],[7,8,9]]) # 3x3result_row = np.minimum.reduce(arr,axis=1) # [1 4 7] # 각 행의 최솟값 result_col = np.minimum.reduce(arr,axis=0) # [1 2 3] # 각 열의 최솟값result = np.minimum.reduce(arr) # [1 2 3] 전체 배열의 최소값
Python with ROS
2024. 5. 2. 08:03