Open sglee-morai opened 2 years ago
1) creating (mostly) manual procedures 2) automate the procedures
1) [Initial] cover the interface between the simulator and Autoware 2) [Future] test would cover other requirements defined in the documentation (related discussion link)
link for the interface requirement: link
(WIP)
(WIP)
confused
gitlab
unable to find
https://github.com/autowarefoundation/autoware/blob/main/autoware.repos
https://github.com/tier4/autoware_auto_msgs
ControlModeCommand
with the command
values defined in ControlModeCommand_Constants
ControlModeReport
Case 1-4)
GearCommand
: [P, N, R, D]GearReport
: [P, N, R, D]Case 1)
AckermannControlCommand
with longitudinal.speed
value greater than 0VelocityReport
Case 2)
AckermannControlCommand
with longitudinal.acceleration
value greater than 0VelocityReport
lonitudinal_velocity
is greater than 0AckermannControlCommand
with steering_tire_angle
value greater than 0 [less than 0]SteeringReport
steering_tire_angle
is close to the command value (% error should be less than (TBD))TurnIndicatorsCommand
with the command
values defined in TurnIndicatorsCommand_Constants
TurnIndicatorsReport
HazardLightsCommand
with the command
values defined in TurnIndicatorsCommand_Constants
HazardLightsReport
[TBD]
Plan
Test code for No.1 to 6 is written (Already some automation features are already implemented)
PR has been delayed since internally we have found things to refactor first, which Soohyeok (MORAI) is doing some refactoring.
PR with the code created here : link
Want to ask for a review: TierIV to test run the code. However, I have a question regarding this, though. When a certain person (MORAI in this case) asks other members to run the code in their machine, how he or she can do that?
For me to have Soohyuk's code in my machine, I had to do the followings
Is this a typical process for other members as well in case wanting to get the code and run it in his/her local machine?
This pull request has been automatically marked as stale because it has not had recent activity.
Description
To define test procedures (e.g. test codes) to check whether a certain simulator is compatible with Autoware
Needs to define 1) what feature of Autoware should be able to integrate with a certain simulator 2) requirement for the simulator (e.g. a simulator should receive autoware_auto_msgs/VehicleControlCommand and the vehicle model within the simulator should respond accordingly.) 3) test cases for the requirements 4) test codes
Purpose
To ensure that any simulator is compatible with the latest version of Autoware Ultimately, streamlining the development process of Autoware-compatible simulators
Possible approaches
A very simple method to check the compatibility of MORAI SIM: Drive with Autoware is included in this documentation, which can give a very brief idea at least. Link
Discussion needed: how to automate the tests or at least do them in a systematic way.