Project

General

Profile

Revision 673f8af1

ID673f8af1f6d15058edb5f0278483bb0deed5b7fe
Parent 6ebee82c
Child 4d5b5262

Added by Alex Zirbel about 11 years ago

Added messages/services I forgot to add earlier.

View differences:

scout/messages/msg/button_event.msg
1
bool button1_pressed
2
bool button2_pressed
scout/messages/msg/power_state_changed.msg
1
#32-bit integer with current voltage info
2
uint32 voltage
3
#power percentage [0-100]
4
uint32 percentage
5
#current draw in mW
6
uint32 draw
7
#are we on external power?
8
bool externalpower
9
#is the battery at a warning state?
10
bool warning
11
#is the battery at a critical state?
12
bool critical
13

  
scout/messages/msg/set_motors.msg
1
# Set these to true if the motor should be updated
2
bool fl_set
3
bool fr_set
4
bool bl_set
5
bool br_set
6
bool teleop_ON
7

  
8
# The absolute motor speeds to set
9
int8 fl_speed
10
int8 fr_speed
11
int8 bl_speed
12
int8 br_speed
13

  
14
int8 MAX_SPEED = 100
15
int8 MIN_SPEED = -100
scout/messages/srv/query_encoders.srv
1
---
2
# All units are simply in encoder ticks since encoders were turned on.
3
uint32 fl_distance
4
uint32 fr_distance
5
uint32 bl_distance
6
uint32 br_distance
scout/messages/srv/query_linesensor.srv
1
---
2
# 10-bit unsigned integers, 0 is perfectly white.
3
uint32[] readings
scout/messages/srv/query_motors.srv
1
---
2
int8 fl_speed
3
int8 fr_speed
4
int8 bl_speed
5
int8 br_speed
scout/messages/srv/query_power.srv
1
---
2
#32-bit integer with current voltage info
3
uint32 voltage
4
#power percentage [0-100]
5
uint32 percentage
6
#current draw in mW
7
uint32 draw
8
#are we on external power?
9
bool externalpower
10
#is the battery at a warning state?
11
bool warning
12
#is the battery at a critical state?
13
bool critical

Also available in: Unified diff