Functions | Variables
imu_node Namespace Reference

Functions

def reconfig_callback (config, level)
 

Variables

float accel_factor = 9.806
 
 accel_x_max = rospy.get_param('~accel_x_max', 250.0)
 
 accel_x_min = rospy.get_param('~accel_x_min', -250.0)
 
 accel_y_max = rospy.get_param('~accel_y_max', 250.0)
 
 accel_y_min = rospy.get_param('~accel_y_min', -250.0)
 
 accel_z_max = rospy.get_param('~accel_z_max', 250.0)
 
 accel_z_min = rospy.get_param('~accel_z_min', -250.0)
 
 angular_velocity_covariance
 
 calib_data = ser.readlines()
 
string calib_data_print = "Printing set calibration values:\r\n"
 
 calibration_magn_use_extended = rospy.get_param('~calibration_magn_use_extended', False)
 
float degrees2rad = math.pi/180.0
 
 diag_arr = DiagnosticArray()
 
 diag_msg = DiagnosticStatus()
 
 diag_pub = rospy.Publisher('diagnostics', DiagnosticArray, queue_size=1)
 
 diag_pub_time = rospy.get_time();
 
 discard = ser.readlines()
 configure board ### stop datastream More...
 
int errcount = 0
 
 frame_id = rospy.get_param('~frame_id', 'base_imu_link')
 
 gyro_average_offset_x = rospy.get_param('~gyro_average_offset_x', 0.0)
 
 gyro_average_offset_y = rospy.get_param('~gyro_average_offset_y', 0.0)
 
 gyro_average_offset_z = rospy.get_param('~gyro_average_offset_z', 0.0)
 
float imu_yaw_calibration = 0.0
 
 imuMsg = Imu()
 
 level
 
 line = bytearray(row).decode("utf-8")
 
 linear_acceleration_covariance
 
 magn_ellipsoid_center = rospy.get_param('~magn_ellipsoid_center', [0, 0, 0])
 
 magn_ellipsoid_transform = rospy.get_param('~magn_ellipsoid_transform', [[0, 0, 0], [0, 0, 0], [0, 0, 0]])
 
 magn_x_max = rospy.get_param('~magn_x_max', 600.0)
 
 magn_x_min = rospy.get_param('~magn_x_min', -600.0)
 
 magn_y_max = rospy.get_param('~magn_y_max', 600.0)
 
 magn_y_min = rospy.get_param('~magn_y_min', -600.0)
 
 magn_z_max = rospy.get_param('~magn_z_max', 600.0)
 
 magn_z_min = rospy.get_param('~magn_z_min', -600.0)
 
 message
 
 name
 
 orientation_covariance
 
int pitch = 0
 
 port = rospy.get_param('~port', '/dev/ttyUSB0')
 
 pub = rospy.Publisher(topic, Imu, queue_size=1)
 
 q = quaternion_from_euler(roll,pitch,yaw)
 
int roll = 0
 
int seq = 0
 
 ser = serial.Serial(port=port, baudrate=57600, timeout=1)
 
 srv = Server(imuConfig, reconfig_callback)
 
 stamp
 
 topic = rospy.get_param('~topic', 'imu')
 
 w
 
 words = line.split(",")
 
 x
 
 y
 
int yaw = 0
 
 yaw_deg = -float(words[0])
 
 z
 

Function Documentation

def imu_node.reconfig_callback (   config,
  level 
)

Definition at line 47 of file imu_node.py.

Variable Documentation

float imu_node.accel_factor = 9.806

Definition at line 151 of file imu_node.py.

imu_node.accel_x_max = rospy.get_param('~accel_x_max', 250.0)

Definition at line 104 of file imu_node.py.

imu_node.accel_x_min = rospy.get_param('~accel_x_min', -250.0)

Definition at line 103 of file imu_node.py.

imu_node.accel_y_max = rospy.get_param('~accel_y_max', 250.0)

Definition at line 106 of file imu_node.py.

imu_node.accel_y_min = rospy.get_param('~accel_y_min', -250.0)

Definition at line 105 of file imu_node.py.

imu_node.accel_z_max = rospy.get_param('~accel_z_max', 250.0)

Definition at line 108 of file imu_node.py.

imu_node.accel_z_min = rospy.get_param('~accel_z_min', -250.0)

Definition at line 107 of file imu_node.py.

imu_node.angular_velocity_covariance

Definition at line 79 of file imu_node.py.

imu_node.calib_data = ser.readlines()

Definition at line 205 of file imu_node.py.

string imu_node.calib_data_print = "Printing set calibration values:\r\n"

Definition at line 206 of file imu_node.py.

imu_node.calibration_magn_use_extended = rospy.get_param('~calibration_magn_use_extended', False)

Definition at line 117 of file imu_node.py.

float imu_node.degrees2rad = math.pi/180.0

Definition at line 43 of file imu_node.py.

imu_node.diag_arr = DiagnosticArray()

Definition at line 281 of file imu_node.py.

imu_node.diag_msg = DiagnosticStatus()

Definition at line 284 of file imu_node.py.

imu_node.diag_pub = rospy.Publisher('diagnostics', DiagnosticArray, queue_size=1)

Definition at line 134 of file imu_node.py.

imu_node.diag_pub_time = rospy.get_time();

Definition at line 135 of file imu_node.py.

imu_node.discard = ser.readlines()

configure board ### stop datastream

Definition at line 163 of file imu_node.py.

int imu_node.errcount = 0

Definition at line 224 of file imu_node.py.

imu_node.frame_id = rospy.get_param('~frame_id', 'base_imu_link')

Definition at line 98 of file imu_node.py.

imu_node.gyro_average_offset_x = rospy.get_param('~gyro_average_offset_x', 0.0)

Definition at line 123 of file imu_node.py.

imu_node.gyro_average_offset_y = rospy.get_param('~gyro_average_offset_y', 0.0)

Definition at line 124 of file imu_node.py.

imu_node.gyro_average_offset_z = rospy.get_param('~gyro_average_offset_z', 0.0)

Definition at line 125 of file imu_node.py.

imu_node.imu_yaw_calibration = 0.0

Definition at line 44 of file imu_node.py.

imu_node.imuMsg = Imu()

Definition at line 57 of file imu_node.py.

imu_node.level

Definition at line 286 of file imu_node.py.

imu_node.line = bytearray(row).decode("utf-8")

Definition at line 208 of file imu_node.py.

imu_node.linear_acceleration_covariance

Definition at line 89 of file imu_node.py.

imu_node.magn_ellipsoid_center = rospy.get_param('~magn_ellipsoid_center', [0, 0, 0])

Definition at line 118 of file imu_node.py.

imu_node.magn_ellipsoid_transform = rospy.get_param('~magn_ellipsoid_transform', [[0, 0, 0], [0, 0, 0], [0, 0, 0]])

Definition at line 119 of file imu_node.py.

imu_node.magn_x_max = rospy.get_param('~magn_x_max', 600.0)

Definition at line 112 of file imu_node.py.

imu_node.magn_x_min = rospy.get_param('~magn_x_min', -600.0)

Definition at line 111 of file imu_node.py.

imu_node.magn_y_max = rospy.get_param('~magn_y_max', 600.0)

Definition at line 114 of file imu_node.py.

imu_node.magn_y_min = rospy.get_param('~magn_y_min', -600.0)

Definition at line 113 of file imu_node.py.

imu_node.magn_z_max = rospy.get_param('~magn_z_max', 600.0)

Definition at line 116 of file imu_node.py.

imu_node.magn_z_min = rospy.get_param('~magn_z_min', -600.0)

Definition at line 115 of file imu_node.py.

imu_node.message

Definition at line 287 of file imu_node.py.

imu_node.name

Definition at line 285 of file imu_node.py.

imu_node.orientation_covariance

Definition at line 69 of file imu_node.py.

imu_node.pitch = 0

Definition at line 148 of file imu_node.py.

imu_node.port = rospy.get_param('~port', '/dev/ttyUSB0')

Definition at line 96 of file imu_node.py.

imu_node.pub = rospy.Publisher(topic, Imu, queue_size=1)

Definition at line 132 of file imu_node.py.

imu_node.q = quaternion_from_euler(roll,pitch,yaw)

Definition at line 268 of file imu_node.py.

imu_node.roll = 0

Definition at line 147 of file imu_node.py.

int imu_node.seq = 0

Definition at line 150 of file imu_node.py.

imu_node.ser = serial.Serial(port=port, baudrate=57600, timeout=1)

Definition at line 140 of file imu_node.py.

imu_node.srv = Server(imuConfig, reconfig_callback)

Definition at line 133 of file imu_node.py.

imu_node.stamp

Definition at line 273 of file imu_node.py.

imu_node.topic = rospy.get_param('~topic', 'imu')

Definition at line 97 of file imu_node.py.

imu_node.w

Definition at line 272 of file imu_node.py.

imu_node.words = line.split(",")

Definition at line 236 of file imu_node.py.

imu_node.x

Definition at line 258 of file imu_node.py.

imu_node.y

Definition at line 259 of file imu_node.py.

imu_node.yaw = 0

Definition at line 149 of file imu_node.py.

float imu_node.yaw_deg = -float(words[0])

Definition at line 244 of file imu_node.py.

imu_node.z

Definition at line 260 of file imu_node.py.



razor_imu_9dof
Author(s): Tang Tiong Yew, Kristof Robot, Paul Bouchier, Peter Bartz
autogenerated on Sat May 1 2021 02:09:10