-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fill CarlaEgoVehicleControl message header #624
base: 0.9.11-compat
Are you sure you want to change the base?
Fill CarlaEgoVehicleControl message header #624
Conversation
Fill the message header of CarlaEgoVehicleControl messages with header received from odometry Some robustness increases: - make vehicle_pid_controller robust against missing speed/pose input - make ROS2 launch.py files robust against empty spawn points
Hi @berndgassmann! I believe there is a small issue in how the parameters are handled inside the launch file. To prevent the error described here #603 (as you pointed out, it isn't related to Carla version at all) you changed the lines 'spawn_point': launch.substitutions.LaunchConfiguration('spawn_point') To 'spawn_point': str(launch.substitutions.LaunchConfiguration('spawn_point')) The problem is that the python interpreter tries to convert the object
The value received is the python string description of a generic object Taking a step behind, this issue is related on how ROS 2 python launch files are built. By the time the python interpreter is running this piece of code, the information of the actual parameter is not available. To treat its value in run time, the use of an The test I made was using ROS 2 Foxy |
previous launch file changes were actually invalid
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @FelipeGdM
You are totally right. My changes only worked at my end, because I am providing the spawnpoint in my scenarios via configuration file. So the start-up didn't explode anymore, but the spawn_point from launch file didn't work. So definitely have to use your solution in this regards, which works fine for me.
Thanks.
Reviewable status: 0 of 5 files reviewed, all discussions resolved (waiting on @joel-mb)
…1-feature/provide_control_message_header
Don't execute planner step if no odometry message was received
Fill the message header of CarlaEgoVehicleControl messages with header
received from odometry
Some robustness increases:
This change is