-
Notifications
You must be signed in to change notification settings - Fork 780
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
Can not get the ego car reversed through lgsvl_msgs/msg/VehicleControlData #1303
Comments
@ZhenshengLee Sorry this is not supported at this time. We only have reverse for apollo control. You will need to implement this. Right @hadiTab ? For 06 release you would need to change the ROS2 conversion data and then edit the controller to set the vehicle Reverse == true from message received. Look at Reverse code for CyberRT and ApolloControl in VehicleControlSensor.cs
|
I have heard from @lemketron that this is supported in our new release out very soon :) |
@EricBoiseLGSVL thanks a lot |
@EricBoiseLGSVL Can you briefly describle the feature implementation? Will the ego car be reversed control throught state_cmd or control_cmd? |
Can confirm: using "target_gear: 2" (reverse) that is part of lgsvl_msgs/msg/VehicleControlData does not make the vehicle reverse, even in the new release. |
Badluck, In 2021.01 turning control is not work too. ros2 topic pub -r 10 /lgsvl/vehicle_control_cmd lgsvl_msgs/msg/VehicleControlData "{
header:
{stamp:
{sec: 1600775035,
nanosec: 496432027},
frame_id: map},
acceleration_pct: 0.0,
braking_pct: 0.0,
target_wheel_angle: 2.0,
target_wheel_angular_rate: 1,
target_gear: 0
}
" |
due to autoware auto and lgsvl interface incompatibility, |
You have set target_gear to 0, which is neutral. Hence the car not moving. You need to set target_gear to 1 (drive). Also, I am able to steer the car by only setting target_wheel angle and leaving target_wheel_angular_rate at 0.0. |
Sorry for the confusion. Reverse is not supported in the latest release. A team created their own control sensor that supports this. You can look at Apollo control sensor and apollo data conversion classes to see how to implement. |
adding @hadiTab so we can add fixes to next release |
Hi @EricBoiseLGSVL a short question, please. The issue of bridge connection Autoware.Auto -SVL new 2021 release discussed here https://gitlab.com/autowarefoundation/autoware.auto/AutowareAuto/-/issues/1264# Was fixed just for 2021.1 release or the connection works for all other 2021 releases(2021.1.1, 2021.1.1, 2021.2.1, 2021.2.1, etc...)????? I wish to know to use the correct SVL version for Autoware.Auto Thanks |
Yes, we are working on this now to validate autoware.auto. We should have a solution soon. |
Hi,
I am tring to get the latest autoware.auto 1.0.0 avp demo work in my ubuntu1804 environment, and I found the issue when testing the simulator
the ego car cannnot get reversed, and it get forward, the same as
target_gear: 0
So, what's the right msg to let the ego car get reversed?
thanks a lot!
The text was updated successfully, but these errors were encountered: