The unique activity was made possible with the help of an OhmniLabs robot -- which features a camera and video display -- that can be controlled by a computer, phone or tablet.
From the safety of their hospital beds, the children were able to move the robot around the bases on the field.
The robot's video chat function also allowed the patients to meet several Dodger players, including Edwin Rios, Gavin Lux and Mitch White.
For the first time since their swiping scandal was revealed, the Astros on Tuesday will play in front of a crowd at Dodger Stadium when they open a two-game set. Houston won Game 7 of that 2017 Series by beating the Dodgers in L.A.
"Our fans have waited a long time to have these guys at our place," Dodgers manager Dave Roberts over the weekend. "And we'll leave it at that."
The Associated Press contributed to this report.