Ask Your Question
0

Can not modify message in Autoware docker [closed]

asked 2019-09-30 05:37:31 -0500

tiensu gravatar image

updated 2019-09-30 06:18:55 -0500

gvdhoorn gravatar image

Hi everyone!

I want to modify a message in Autoware docker 1.12.0.

Particularly, I changed message definition /home/autoware/Autoware/src/autoware/messages/autoware_msgs/msg/ControlCommand.msg from:

float64 linear_velocity
float64 linear_acceleration #m/s^2
float64 steering_angle

to:

float64 linear_velocity
float64 linear_acceleration #m/s^2
float64 steering_angle
**int8 direction**

After changing, I run 2 commands:

$ colcon build
$ rosmsg show autoware_msgs/VehicleCmd

The changed information is dislayed:

....
autoware_msgs/ControlCommand ctrl_cmd
  float64 linear_velocity
  float64 linear_acceleration
  float64 steering_angle
  int8 direction
...

So, it seems to be OK.

But, when I logout and login again Autoware docker, the changed information is lost.

$ vi /home/autoware/Autoware/src/autoware/messages/autoware_msgs/msg/ControlCommand.msg
float64 linear_velocity
float64 linear_acceleration #m/s^2
float64 steering_angle

Can you help me clarify what I'm wrong?

Thank you very much!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by tiensu
close date 2019-10-18 03:29:20.896712

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-10-01 21:25:54 -0500

tiensu gravatar image

I solved my problem. Because I forgot to commit the change to the docker image.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-09-30 05:37:31 -0500

Seen: 44 times

Last updated: Oct 01 '19