You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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' ")>
The text was updated successfully, but these errors were encountered:
yes, if i launch the launch file without 'control' node in launchDescription , I am able to launch it . On the side i can manually run the controller node and the expected output on the simulation and the terminal is also shown
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'
)
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' ")>
The text was updated successfully, but these errors were encountered: