ROS Common v1
Flex interface specifications for ROS (Robot Operating System) common message types.
Overview
This module provides Flex definitions for the standard ROS message packages.
These specifications allow ROS message types to be used for data transformation, code generation, and system integration in robotics applications.
Module Structure
| File | Description |
|---|---|
builtin.flex | Core ROS primitives (TimePrim, DurationPrim) |
std_msgs.flex | Standard message wrappers (Header, Bool, String, ColorRGBA, multi-arrays) |
geometry_msgs.flex | Spatial data (Point, Pose, Quaternion, Transform, Twist, Wrench, Vector3) |
sensor_msgs.flex | Sensor data (Image, Imu, LaserScan, PointCloud2, NavSatFix, JointState, BatteryState) |
nav_msgs.flex | Navigation (Odometry, Path, OccupancyGrid, MapMetaData) |
actionlib_msgs.flex | Action server (GoalID, GoalStatus, GoalStatusArray) |
diagnostic_msgs.flex | Diagnostics (DiagnosticArray, DiagnosticStatus, KeyValue) |
shape_msgs.flex | 3D shapes (Mesh, Plane, SolidPrimitive) |
stereo_msgs.flex | Stereo vision (DisparityImage) |
trajectory_msgs.flex | Motion planning (JointTrajectory, MultiDOFJointTrajectory) |
visualization_msgs.flex | RViz visualization (Marker, InteractiveMarker, MenuEntry) |
Key Message Types
Geometry - Poses, transforms, and kinematic data for robot localization and manipulation:
Pose,PoseStamped,PoseWithCovariance- Position and orientationTransform,TransformStamped- Coordinate frame relationshipsTwist,Accel,Wrench- Velocity, acceleration, and force
Sensors - Common robot sensor interfaces:
Image,CompressedImage,CameraInfo- Camera data and calibrationLaserScan,PointCloud2- LIDAR and depth sensorsImu,MagneticField- Inertial and magnetic sensorsNavSatFix- GPS/GNSS positioningJointState- Robot joint positions, velocities, and efforts
Navigation - Autonomous navigation primitives:
Odometry- Robot pose and velocity estimatesPath- Waypoint sequences for path planningOccupancyGrid- 2D probability maps for obstacle avoidance
Visualization - RViz display types:
Marker,MarkerArray- 3D visualization primitivesInteractiveMarker- User-manipulable 3D controls
Usage
Import specific message types from the appropriate module:
import ROS::Common::v1.geometry_msgs (Pose, Transform)
import ROS::Common::v1.sensor_msgs (Image, LaserScan)
import ROS::Common::v1.nav_msgs (Odometry, Path)Dependencies
tangram::flex::helpers::v1.annotations- Flex annotation helpers (@Length,@Rename)