Common
common packages for kyubic
 
Loading...
Searching...
No Matches
trajectory_viewer.publish_odom_from_csv.OdometryPublisher Class Reference
+ Inheritance diagram for trajectory_viewer.publish_odom_from_csv.OdometryPublisher:
+ Collaboration diagram for trajectory_viewer.publish_odom_from_csv.OdometryPublisher:

Public Member Functions

def __init__ (self, csv_file_path, publish_interval_sec=0.1)
 
def load_csv_data (self)
 
def linear_interpolation (self, start_val, end_val, t)
 
def publish_odometry (self)
 

Public Attributes

 publish_interval_sec
 
 publisher_
 
 timer
 
 csv_file_path
 
 df
 
 total_rows
 
 current_segment_start_index
 
 interpolation_step
 
 steps_per_segment
 
 start_point
 
 end_point
 
 current_linear_x
 
 current_linear_y
 
 current_linear_z
 
 current_angular_roll
 
 current_angular_yaw
 

Constructor & Destructor Documentation

◆ __init__()

def trajectory_viewer.publish_odom_from_csv.OdometryPublisher.__init__ (   self,
  csv_file_path,
  publish_interval_sec = 0.1 
)

Member Function Documentation

◆ linear_interpolation()

def trajectory_viewer.publish_odom_from_csv.OdometryPublisher.linear_interpolation (   self,
  start_val,
  end_val,
  t 
)
t (0.0-1.0) に基づいて線形補間を行う

◆ load_csv_data()

def trajectory_viewer.publish_odom_from_csv.OdometryPublisher.load_csv_data (   self)

◆ publish_odometry()

def trajectory_viewer.publish_odom_from_csv.OdometryPublisher.publish_odometry (   self)

Member Data Documentation

◆ csv_file_path

trajectory_viewer.publish_odom_from_csv.OdometryPublisher.csv_file_path

◆ current_angular_roll

trajectory_viewer.publish_odom_from_csv.OdometryPublisher.current_angular_roll

◆ current_angular_yaw

trajectory_viewer.publish_odom_from_csv.OdometryPublisher.current_angular_yaw

◆ current_linear_x

trajectory_viewer.publish_odom_from_csv.OdometryPublisher.current_linear_x

◆ current_linear_y

trajectory_viewer.publish_odom_from_csv.OdometryPublisher.current_linear_y

◆ current_linear_z

trajectory_viewer.publish_odom_from_csv.OdometryPublisher.current_linear_z

◆ current_segment_start_index

trajectory_viewer.publish_odom_from_csv.OdometryPublisher.current_segment_start_index

◆ df

trajectory_viewer.publish_odom_from_csv.OdometryPublisher.df

◆ end_point

trajectory_viewer.publish_odom_from_csv.OdometryPublisher.end_point

◆ interpolation_step

trajectory_viewer.publish_odom_from_csv.OdometryPublisher.interpolation_step

◆ publish_interval_sec

trajectory_viewer.publish_odom_from_csv.OdometryPublisher.publish_interval_sec

◆ publisher_

trajectory_viewer.publish_odom_from_csv.OdometryPublisher.publisher_

◆ start_point

trajectory_viewer.publish_odom_from_csv.OdometryPublisher.start_point

◆ steps_per_segment

trajectory_viewer.publish_odom_from_csv.OdometryPublisher.steps_per_segment

◆ timer

trajectory_viewer.publish_odom_from_csv.OdometryPublisher.timer

◆ total_rows

trajectory_viewer.publish_odom_from_csv.OdometryPublisher.total_rows

The documentation for this class was generated from the following file: