File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ void RoverAckermann::Run()
97
97
void RoverAckermann::generateSetpoints ()
98
98
{
99
99
vehicle_status_s vehicle_status{};
100
- _vehicle_status_sub.update (&vehicle_status);
100
+ _vehicle_status_sub.copy (&vehicle_status);
101
101
102
102
switch (vehicle_status.nav_state ) {
103
103
case vehicle_status_s::NAVIGATION_STATE_AUTO_MISSION:
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ void RoverDifferential::Run()
98
98
void RoverDifferential::generateSetpoints ()
99
99
{
100
100
vehicle_status_s vehicle_status{};
101
- _vehicle_status_sub.update (&vehicle_status);
101
+ _vehicle_status_sub.copy (&vehicle_status);
102
102
103
103
switch (vehicle_status.nav_state ) {
104
104
case vehicle_status_s::NAVIGATION_STATE_AUTO_MISSION:
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ void RoverMecanum::Run()
98
98
void RoverMecanum::generateSetpoints ()
99
99
{
100
100
vehicle_status_s vehicle_status{};
101
- _vehicle_status_sub.update (&vehicle_status);
101
+ _vehicle_status_sub.copy (&vehicle_status);
102
102
103
103
switch (vehicle_status.nav_state ) {
104
104
case vehicle_status_s::NAVIGATION_STATE_AUTO_MISSION:
You can’t perform that action at this time.
0 commit comments