Skip to content

issue in launching the controller node #2

@Tejas-Baid

Description

@Tejas-Baid

after creating the controller node i realized that i need to add it to the launcher file as well.but after doing so i was unable to launch the file as the launcher was somehow not able to locate it.
These are my additions in the launch file:
dynamics = Node(
package = 'single_inverted',
executable = 'dynamics_sim'
)

control = Node(
    package = 'single_inverted',
    executable = 'controller'
)

return LaunchDescription([
    visualizer,
    dynamics,
    control
])

These are my changes in setup.py
entry_points={
'console_scripts': [
'dynamics_sim = single_inverted.dynamics_sim:main',
'controller = single_inverted.controller:main'
],
this is the error i am facing:
[INFO] [launch]: Default logging verbosity is set to INFO
Task exception was never retrieved
future: <Task finished name='Task-2' coro=<LaunchService._process_one_event() done, defined at /opt/ros/foxy/lib/python3.8/site-packages/launch/launch_service.py:226> exception=SubstitutionFailure("executable 'controller' not found on the libexec directory '/home/tejas/Desktop/PendulumAss/assWS/install/single_inverted/lib/single_inverted' ")>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions