diff --git a/seat_car_description/launch/spawn_car.launch b/seat_car_description/launch/spawn_car.launch index 1445f6f30b77cf674c43ee3a175520dcb2268494..ba5cfcb37c0cc5db317fc987b85d10e38c023eff 100644 --- a/seat_car_description/launch/spawn_car.launch +++ b/seat_car_description/launch/spawn_car.launch @@ -34,10 +34,16 @@ type="odometry_publisher" name="odometry_publisher" output="screen"> - <remap from="/motor_control/twist" - to="/model_car/twist"/> + <param name="file_name" value="/opt/ros/modelcar/catkin_ws/install/share/odometry/cfg/SteerAngleActuator.xml"/> + <param name="initial_x" value="$(arg x)"/> + <param name="initial_y" value="$(arg y)"/> + <param name="initial_yaw" value="$(arg yaw)"/> + <remap from="/manual_control/steering" + to="/steering_angle"/> + <remap from="/model_car/twist" + to="/twist"/> <remap from="/model_car/yaw" - to="/model_car/yaw"/> + to="/yaw"/>--> </node> <node name="imu_filter" @@ -95,4 +101,4 @@ </group> -</launch> \ No newline at end of file +</launch>