Skip to content

Commit

Permalink
Merge pull request #149 from UOA-FSAE/torque_from_ackermann_launch
Browse files Browse the repository at this point in the history
Torque from ackermann launch
  • Loading branch information
Zane-Larking authored Dec 2, 2024
2 parents fa5c859 + ef69e04 commit 9d6f94c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#Command to launch: ros2 launch steer_torque_from_ackermann steer_torque_from_ackermann.launch.py

from launch import LaunchDescription
from launch_ros.actions import Node

def generate_launch_description():
return LaunchDescription([
Node(
package='steer_torque_from_ackermann',
executable='steer_torque_from_ackermann',
name='steer_torque_converter'
)
])
8 changes: 6 additions & 2 deletions src/action/steer_torque_from_ackermann/setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
from setuptools import find_packages, setup
import os
from glob import glob

package_name = 'steer_torque_from_ackermann'

Expand All @@ -10,11 +12,13 @@
('share/ament_index/resource_index/packages',
['resource/' + package_name]),
('share/' + package_name, ['package.xml']),
# launch files
(os.path.join('share', package_name, 'launch'), glob(os.path.join('launch', '*.py')))
],
install_requires=['setuptools'],
zip_safe=True,
maintainer='Daniel Yu',
maintainer_email='daniel.yu@fsae.co.nz',
maintainer='Jonty Clark',
maintainer_email='jonty.clark@fsae.co.nz',
description='Controller node for simulation car to control its speed and steering angle',
license='TODO: License declaration',
tests_require=['pytest'],
Expand Down

0 comments on commit 9d6f94c

Please sign in to comment.