Ask Your Question
0

Can not modify message in Autoware docker

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 close merge delete

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 12 times

Last updated: Oct 01