Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-stable
Commits
6a6cbaa1
Commit
6a6cbaa1
authored
Dec 14, 2004
by
Daniel Flickinger
Browse files
fixes... rmcd.c compiles now
parent
05e7fce1
Changes
1
Hide whitespace changes
Inline
Side-by-side
robots/rmcd/rmcd.c
View file @
6a6cbaa1
...
...
@@ -195,12 +195,14 @@ static void conv_a2r(struct position *rel,
struct
position
*
abs_start
,
struct
position
*
abs_finish
)
{
float
ct
,
st
;
assert
(
rel
!=
NULL
);
assert
(
abs_start
!=
NULL
);
assert
(
abs_finish
!=
NULL
);
float
ct
,
st
;
ct
=
cos
(
abs_start
->
theta
);
st
=
sin
(
abs_start
->
theta
);
...
...
@@ -226,11 +228,15 @@ static void conv_r2a(struct position *abs_finish,
struct
position
*
abs_start
,
struct
position
*
rel
)
{
float
ct
,
st
;
assert
(
rel
!=
NULL
);
assert
(
abs_start
!=
NULL
);
assert
(
abs_finish
!=
NULL
);
float
ct
,
st
;
ct
=
cos
(
abs_start
->
theta
);
st
=
sin
(
abs_start
->
theta
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment