Wait, you had me confused. ``sensor_msgs`` is the one that is not needed, ``std_msgs`` is always required whenever you are generating messages:

```
  generate_messages(
    DEPENDENCIES std_msgs
  )
```

catkin_lint reminded me to add this, it should stay as far as I know.