ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Autoware Auto - Record/Replay a Trajectory in LGSVL

asked 2021-06-14 11:52:38 -0500

kk2105 gravatar image

updated 2021-06-25 00:53:41 -0500

Hi All,

I was trying to use "Record/Replay a Trajectory in LGSVL" from here.

And noticed that the below command does not seem to be working.

ros2 action send_goal /planning/recordtrajectory autoware_auto_msgs/action/RecordTrajectory "{record_path: "/tmp/path"}" --feedback

The passed action type is invalid

To find the right action, I searched in ros2 interface list and updated the command as below.

ros2 action send_goal /planning/recordtrajectory recordreplay_planner_actions/action/RecordTrajectory "{record_path: "/tmp/path"}" --feedback

The updated command seems to be working to record the path.

Similarly for "Reply" I used the below command.

ros2 action send_goal /planning/replaytrajectory recordreplay_planner_actions/action/ReplayTrajectory "{replay_path: "/tmp/path"}" --feedback

Could anybody please check and confirm on the same.

I have tried updating the ade by following the below steps. The version is 4.2.0.

kishor@kishor:~/adehome/AutowareAuto$ ade stop
kishor@kishor:~/adehome/AutowareAuto$ 
kishor@kishor:~/adehome/AutowareAuto$ ade start --update
1.0.0: Pulling from autowarefoundation/autoware.auto/autowareauto/amd64/ade-foxy
Digest: sha256:eac0688314b5c8e846acc769fa18c54de438234a6a863d5d1764433a4c29ac2e
Status: Image is up to date for registry.gitlab.com/autowarefoundation/autoware.auto/autowareauto/amd64/ade-foxy:1.0.0
registry.gitlab.com/autowarefoundation/autoware.auto/autowareauto/amd64/ade-foxy:1.0.0
1.0.0: Pulling from autowarefoundation/autoware.auto/autowareauto/amd64/binary-foxy
Digest: sha256:432f5513b0c5608a4d44931234beee7422532dac6595ff98a1911cd8a58aaed3
Status: Image is up to date for registry.gitlab.com/autowarefoundation/autoware.auto/autowareauto/amd64/binary-foxy:1.0.0
registry.gitlab.com/autowarefoundation/autoware.auto/autowareauto/amd64/binary-foxy:1.0.0
Starting ade with the following images:
ade-foxy    | 1.0.0 | 1.0.0 | registry.gitlab.com/autowarefoundation/autoware.auto/autowareauto/amd64/ade-foxy:1.0.0   
binary-foxy | 1.0.0 | 1.0.0 | registry.gitlab.com/autowarefoundation/autoware.auto/autowareauto/amd64/binary-foxy:1.0.0
ade_registry.gitlab.com_autowarefoundation_autoware.auto_autowareauto_amd64_binary-foxy_1.0.0
non-network local connections being added to access control list

Current default time zone: 'Asia/Kolkata'
Local time is now:      Fri Jun 25 11:08:47 IST 2021.
Universal Time is now:  Fri Jun 25 05:38:47 UTC 2021.

Adding user kishor to group video
Adding user kishor to group dialout
ADE startup completed.

ADE has been started, enter or run commands using: ade enter

kishor@kishor:~/adehome/AutowareAuto$ ade --version
4.2.0
kishor@kishor:~/adehome/AutowareAuto$

Is 4.2.0 the latest version?

And also I have captured the ros2 interface list for the msgs and actions available in the pre-built version. Actions given below:

Actions:
    autoware_auto_msgs/action/PlanTrajectory
    recordreplay_planner_actions/action/RecordTrajectory
    recordreplay_planner_actions/action/ReplayTrajectory
    tf2_msgs/action/LookupTransform

Thank you

edit retag flag offensive close merge delete

Comments

Are you building Autoware from source or using the pre-built installation in /opt/AutowareAuto in Docker? Are you running ade or just building from source on a host machine? Which version of Autoware.Auto?

Josh Whitley gravatar image Josh Whitley  ( 2021-06-23 06:16:34 -0500 )edit

@josh, I am using the Autoware pre-built installation. And I am running on ade.

kk2105 gravatar image kk2105  ( 2021-06-23 08:38:47 -0500 )edit

Which version? Have you updated ade recently with the --update flag?

Josh Whitley gravatar image Josh Whitley  ( 2021-06-23 11:06:20 -0500 )edit

ADE Version is 4.2.0. Yes, I have updated the ade recently. I am following this link to launch Autoware with LGSvl.

kk2105 gravatar image kk2105  ( 2021-06-24 00:44:26 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-06-24 12:28:31 -0500

Josh Whitley gravatar image

Please try updating your ade containers again. We (somewhat) recently moved the actions for the Record/Replay Planner from the package recordreplay_planner_actions to autoware_auto_msgs but the latest installation in /opt/AutowareAuto of the ade containers should have this update applied.

Please also verify that you have no old instances of ade already running by first running ade stop and then ade start --update --enter from within your AutowareAuto folder.

edit flag offensive delete link more

Comments

Thanks for the answer. Is 4.2.0 the latest ade version? I have also updated my question with more details and steps followed.

kk2105 gravatar image kk2105  ( 2021-06-25 00:44:10 -0500 )edit

You didn't mention previously that you were using the 1.0.0 version. In this version, the action was under recordreplay_planner_actions. This is not a problem with the docs, but with which docs you are using. We are currently transitioning to ReadTheDocs to be able to host multiple versions of our docs (master, release, and tagged release versions). Here are the docs specific to the current latest release (1.0.0): https://autowareauto.readthedocs.io/e....

Josh Whitley gravatar image Josh Whitley  ( 2021-06-25 13:24:34 -0500 )edit

Sorry, I did not notice that. Thanks for the clarification Josh. I will follow the right documents.

kk2105 gravatar image kk2105  ( 2021-06-25 22:47:31 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2021-06-14 11:52:38 -0500

Seen: 192 times

Last updated: Jun 25 '21