Revision 4c495190
ID | 4c4951907381f815d37ca13a7226ed4814d1e59a |
reduced teleop delay, scout drives forward now
scout/scoutsim/src/scout_teleop_userinput.cpp | ||
---|---|---|
22 | 22 |
{ |
23 | 23 |
// reset console mode to no longer be raw |
24 | 24 |
tcsetattr(kfd, TCSANOW, &cooked); |
25 |
return; |
|
25 |
ros::shutdown(); |
|
26 |
exit(0); |
|
26 | 27 |
} |
27 | 28 |
|
28 | 29 |
void TeleopInput::keyLoop() |
... | ... | |
56 | 57 |
{ |
57 | 58 |
ros::init(argc, argv, "scout_teleop_userinput"); |
58 | 59 |
TeleopInput teleop_input = TeleopInput("scout1"); |
60 |
//signal(SIGINT,quit); |
|
59 | 61 |
teleop_input.keyLoop(); |
60 | 62 |
|
61 | 63 |
return(0); |
Also available in: Unified diff